summaryrefslogtreecommitdiff
path: root/emailwiz.sh
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-10-01 11:40:47 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-10-01 11:40:47 -0400
commit0d8e3cc32ce0f96a2d1470dce859a0eb17986b1d (patch)
tree8230d21f1a17bd296be247b3452cc25866e7663a /emailwiz.sh
parentae2ee398f6d99191e2d741dc87e08f81ee560fe2 (diff)
reject_unknown_recipient_domain
Diffstat (limited to 'emailwiz.sh')
-rwxr-xr-xemailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index faa1a6d..e9fb562 100755
--- a/emailwiz.sh
+++ b/emailwiz.sh
@@ -94,7 +94,7 @@ postconf -e 'smtpd_sasl_type = dovecot'
postconf -e 'smtpd_sasl_path = private/auth'
# Sender and recipient restrictions
-postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination'
+postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain'
# 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