Merge pull request #107 from Perceptyx/fix-restrictions-defined-main-cf
fix(main): fix postconf warning when reloading/starting
This commit is contained in:
commit
e7856e054b
@ -31,6 +31,13 @@
|
|||||||
{{ set_parameter('biff', 'no') }}
|
{{ set_parameter('biff', 'no') }}
|
||||||
{{ set_parameter('compatibility_level', '2') }}
|
{{ set_parameter('compatibility_level', '2') }}
|
||||||
|
|
||||||
|
# must be set
|
||||||
|
# See: https://serverfault.com/questions/952776/warning-undefined-parameter-mua-sender-restrictions-when-postconf-n
|
||||||
|
{{ set_parameter('smtpd_restriction_classes', 'mua_sender_restrictions, mua_client_restrictions, mua_helo_restrictions') }}
|
||||||
|
{{ set_parameter('mua_client_restrictions', 'permit_sasl_authenticated, reject') }}
|
||||||
|
{{ set_parameter('mua_sender_restrictions', 'permit_sasl_authenticated, reject') }}
|
||||||
|
{{ set_parameter('mua_helo_restrictions', 'permit_mynetworks, reject_non_fqdn_hostname, reject_invalid_hostname, permit') }}
|
||||||
|
|
||||||
# appending .domain is the MUA's job.
|
# appending .domain is the MUA's job.
|
||||||
{{ set_parameter('append_dot_mydomain', 'no') }}
|
{{ set_parameter('append_dot_mydomain', 'no') }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user