X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=buster%2Fother_files%2Fappend_postfix_main.cf;h=385058c7dd8acf6befba1b3f9b1bf619b5335035;hb=8b70cae2a1c2638df5942f570fcd3b4cc60e5efc;hp=5ef08248e4595c5c3198dcfbb6abd1c104eef18c;hpb=5f5aad4d7e9f84bed45b8fcf9f9c7d7223d09dcb;p=config
diff --git a/buster/other_files/append_postfix_main.cf b/buster/other_files/append_postfix_main.cf
index 5ef0824..385058c 100644
--- a/buster/other_files/append_postfix_main.cf
+++ b/buster/other_files/append_postfix_main.cf
@@ -13,7 +13,11 @@ 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_maildomain_ECALPER