diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-01-26 16:56:57 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-01-26 16:56:57 -0500 |
commit | ab9e25ffbffa1f685223ee819a7fc9ce3f04677a (patch) | |
tree | 98f8ff6932fe32f48ce1458eaadae779b06dc713 /emailwiz.sh | |
parent | e8f52cebf81d7f1e4202111efd95f74d4b4c088d (diff) |
close #248
Diffstat (limited to 'emailwiz.sh')
-rwxr-xr-x | emailwiz.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh index afb5c24..69fe185 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -93,8 +93,9 @@ postconf -e 'smtpd_sasl_auth_enable = yes' postconf -e 'smtpd_sasl_type = dovecot' postconf -e 'smtpd_sasl_path = private/auth' -# Sender and recipient restrictions +# Sender, relay and recipient restrictions postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain' +postconf -e 'smtpd_relay_restrictions = permit_sasl_authenticated, reject_unauth_destination' # NOTE: the trailing slash here, or for any directory name in the home_mailbox # command, is necessary as it distinguishes a maildir (which is the actual |