From ab9e25ffbffa1f685223ee819a7fc9ce3f04677a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 26 Jan 2023 16:56:57 -0500 Subject: [PATCH] close #248 --- emailwiz.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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