# 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
# 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