debug smtpd

This commit is contained in:
Sebastian Hugentobler 2021-11-22 16:44:27 +01:00
parent e6e03da0fe
commit 27eb206711
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ submission inet n - - - - smtpd
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
-o milter_macro_daemon_name=ORIGINATING -o milter_macro_daemon_name=ORIGINATING
smtp inet n n n - - smtpd smtp inet n - n - - smtpd
pickup unix n - n 60 1 pickup pickup unix n - n 60 1 pickup
cleanup unix n - n - 0 cleanup cleanup unix n - n - 0 cleanup
qmgr unix n - n 300 1 qmgr qmgr unix n - n 300 1 qmgr

View File

@ -1,3 +1,5 @@
#!/usr/bin/with-contenv sh #!/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 exec /usr/libexec/postfix/master -d