home · contact · privacy
Fix.
[config] / buster / other_files / append_postfix_main.cf
1
2 # TLS certs
3 smtpd_tls_cert_file=/etc/letsencrypt/live/${myhostname}/fullchain.pem
4 smtpd_tls_key_file=/etc/letsencrypt/live/${myhostname}/privkey.pem
5
6 # OpenDKIM milter
7 non_smtpd_milters = inet:localhost:8892
8 smtpd_milters = inet:localhost:8892
9
10 # transport mail to dovecot; not strictly needed, as even without this
11 # postfix will throw mail to /var/mail/USER to be found by dovecot for
12 # serving via IMAP etc.; but using dovecot's LMTP server for delivery
13 # allows us to do stuff like dovecot-side sieve filtering.
14 mailbox_transport = lmtp:inet:127.0.0.1:2424
15
16 # to authenticate on SMTP, we need a SASL mechanism; we talk to dovecot
17 # for this, since it provides one
18 smtpd_sasl_type = dovecot
19 smtpd_sasl_path = private/auth
20 smtpd_sasl_auth_enable = yes
21
22 # we append mail domain here for if it is different than $myhostname 
23 mydestination = $myhostname localhost.$mydomain localhost REPLACE_maildomain_ECALPER