aboutsummaryrefslogtreecommitdiff
path: root/postfix/main.cf
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2023-12-30 00:59:25 +0100
committerarf20 <aruizfernandez05@gmail.com>2023-12-30 00:59:25 +0100
commitd7f8c76bab696ce88aba60841d523a3a719843e9 (patch)
tree64c0d71eadbc4948f9d71c41c59ac45988ba9385 /postfix/main.cf
parentcedca3884194b9f4c86a9b1b58079dfd8b802021 (diff)
downloadmail-conf-d7f8c76bab696ce88aba60841d523a3a719843e9.tar.gz
mail-conf-d7f8c76bab696ce88aba60841d523a3a719843e9.zip
Mailing list
Diffstat (limited to 'postfix/main.cf')
-rw-r--r--postfix/main.cf5
1 files changed, 4 insertions, 1 deletions
diff --git a/postfix/main.cf b/postfix/main.cf
index 3bb538f..7b71024 100644
--- a/postfix/main.cf
+++ b/postfix/main.cf
@@ -25,11 +25,14 @@ smtpd_relay_before_recipient_restrictions=no
# restriction options
# no client restrictions, allow all hosts to connect (for incoming mail)
# allow incoming messages from unauthenticated servers
-smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
+smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/protected_destinations, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
# allow relaying mail only from ARFNET users
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
# only allow messages to be sent from arf20.com domain
smtpd_sender_restrictions = reject_unknown_sender_domain
+# restrict mailing lists to insiders
+smtpd_restriction_classes = insiders_only
+insiders_only = check_sender_access hash:/etc/postfix/insiders, reject
# auth options
smtpd_sasl_auth_enable=yes
smtpd_sasl_type=dovecot