From 2e97d95cdfef337b4b576a61ece039141f9858fc Mon Sep 17 00:00:00 2001 From: Rottler Tamas Date: Wed, 7 Sep 2022 02:38:34 +0200 Subject: [PATCH] ubuntu20.04 --- files/postfix_master.cf.patch.ubuntu20.04 | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 files/postfix_master.cf.patch.ubuntu20.04 diff --git a/files/postfix_master.cf.patch.ubuntu20.04 b/files/postfix_master.cf.patch.ubuntu20.04 new file mode 100644 index 0000000..270c6da --- /dev/null +++ b/files/postfix_master.cf.patch.ubuntu20.04 @@ -0,0 +1,60 @@ +--- master.cf.orig 2022-09-04 21:21:54.582996894 +0000 ++++ master.cf 2022-09-04 21:42:59.260083893 +0000 +@@ -9,7 +9,8 @@ + # service type private unpriv chroot wakeup maxproc command + args + # (yes) (yes) (no) (never) (100) + # ========================================================================== +-smtp inet n - y - - smtpd ++#smtp inet n - y - - smtpd ++localhost:smtp inet n - y - - smtpd + #smtp inet n - y - 1 postscreen + #smtpd pass - - y - - smtpd + #dnsblog unix - - y - 0 dnsblog +@@ -81,47 +82,4 @@ + maildrop unix - n n - - pipe + flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} + # +-# ==================================================================== +-# +-# Recent Cyrus versions can use the existing "lmtp" master.cf entry. +-# +-# Specify in cyrus.conf: +-# lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 +-# +-# Specify in main.cf one or more of the following: +-# mailbox_transport = lmtp:inet:localhost +-# virtual_transport = lmtp:inet:localhost +-# +-# ==================================================================== +-# +-# Cyrus 2.1.5 (Amos Gouaux) +-# Also specify in main.cf: cyrus_destination_recipient_limit=1 +-# +-#cyrus unix - n n - - pipe +-# user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} +-# +-# ==================================================================== +-# Old example of delivery via Cyrus. +-# +-#old-cyrus unix - n n - - pipe +-# flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} +-# +-# ==================================================================== +-# +-# See the Postfix UUCP_README file for configuration details. +-# +-uucp unix - n n - - pipe +- flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) +-# +-# Other external delivery methods. +-# +-ifmail unix - n n - - pipe +- flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) +-bsmtp unix - n n - - pipe +- flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient +-scalemail-backend unix - n n - 2 pipe +- flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension} +-mailman unix - n n - - pipe +- flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py +- ${nexthop} ${user} +