postfix: Inserted compulsory setting for postfix ≥ 2.10.

One of smtpd_relay_restrictions or smtpd_recipient_restrictions is
required by postfix ≥ 2.10 (see
http://www.postfix.org/SMTPD_ACCESS_README.html).

This is important for using the email mirror on Ubuntu Bionic.
This commit is contained in:
Fabian Stanke
2019-04-19 13:01:47 +02:00
committed by Tim Abbott
parent b633092ff1
commit 51ba9ddd89

View File

@@ -15,6 +15,7 @@ smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
myhostname = <%= @fqdn %>
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases