aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/templates/postfix/main.cf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mail/templates/postfix/main.cf.j2')
-rw-r--r--roles/mail/templates/postfix/main.cf.j27
1 files changed, 4 insertions, 3 deletions
diff --git a/roles/mail/templates/postfix/main.cf.j2 b/roles/mail/templates/postfix/main.cf.j2
index 1126adf..914d45b 100644
--- a/roles/mail/templates/postfix/main.cf.j2
+++ b/roles/mail/templates/postfix/main.cf.j2
@@ -503,10 +503,11 @@ smtpd_sender_restrictions =
reject_unknown_sender_domain,
reject_sender_login_mismatch
-# A lookup table maps between the envelope sender addresses and SASL
-# login names (i.e., the owners).
+# A lookup table maps between the SASL login names that own the sender
+# (MAIL FROM) addresses, i.e., the address(es) the user allowed to sent
+# mail from.
#
-smtpd_sender_login_maps = $virtual_mailbox_maps
+smtpd_sender_login_maps = pcre:$config_directory/login-maps.pcre
# Use permanet 550 errors for rejections, to stop retries.
# Tell Postfix to reject messages that match the rejection criteria