diff --git a/rootfs/etc/confd/templates/master.cf.tmpl b/rootfs/etc/confd/templates/master.cf.tmpl index 1e106e4..87acb34 100644 --- a/rootfs/etc/confd/templates/master.cf.tmpl +++ b/rootfs/etc/confd/templates/master.cf.tmpl @@ -11,7 +11,7 @@ submission inet n - - - - smtpd -o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o milter_macro_daemon_name=ORIGINATING -smtp inet n n n - - smtpd +smtp inet n - n - - smtpd pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr diff --git a/rootfs/etc/services.d/postfix/run b/rootfs/etc/services.d/postfix/run index 29e187f..9968ec2 100644 --- a/rootfs/etc/services.d/postfix/run +++ b/rootfs/etc/services.d/postfix/run @@ -1,3 +1,5 @@ #!/usr/bin/with-contenv sh +mkdir -p /var/spool/postfix/etc +cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf exec /usr/libexec/postfix/master -d