X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=buster%2Fother_files%2Fappend_postfix_main.cf;h=8bb38a89d574c8fbe9381bf95a13157af27d50ec;hb=d9c183dd96dd247abb5958c29b73bb8f268f10da;hp=b5b29f21da77b847e73e7880475320c74da4762c;hpb=1e122e234af3af5a644fa85c03690101618f5313;p=config diff --git a/buster/other_files/append_postfix_main.cf b/buster/other_files/append_postfix_main.cf index b5b29f2..8bb38a8 100644 --- a/buster/other_files/append_postfix_main.cf +++ b/buster/other_files/append_postfix_main.cf @@ -5,6 +5,7 @@ smtpd_tls_key_file=/etc/letsencrypt/live/${myhostname}/privkey.pem # OpenDKIM milter non_smtpd_milters = inet:localhost:8892 +smtpd_milters = inet:localhost:8892 # transport mail to dovecot; not strictly needed, as even without this # postfix will throw mail to /var/mail/USER to be found by dovecot for @@ -12,7 +13,11 @@ non_smtpd_milters = inet:localhost:8892 # allows us to do stuff like dovecot-side sieve filtering. mailbox_transport = lmtp:inet:127.0.0.1:2424 -# use dovecot SASL for SMTP access +# to authenticate on SMTP, we need a SASL mechanism; we talk to dovecot +# for this, since it provides one smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_sasl_auth_enable = yes + +# we append mail domain here for if it is different than $myhostname +mydestination = $myhostname localhost.$mydomain localhost REPLACE_mail_domain_ECALPER