From 27eb2067114ab0823543c4248ea482c2bd57bd9b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 22 Nov 2021 16:44:27 +0100 Subject: [PATCH] debug smtpd --- rootfs/etc/confd/templates/master.cf.tmpl | 2 +- rootfs/etc/services.d/postfix/run | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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