From 1f6e7c5f03b276d6f364553537d7487f2c6fa14d Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Fri, 16 Apr 2010 23:23:33 -0400 Subject: [PATCH] Enable spam filtering (hopefully?) --- master.cf | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/master.cf b/master.cf index 1b15020..895bc1d 100644 --- a/master.cf +++ b/master.cf @@ -34,27 +34,27 @@ flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - - - - smtp -smtp inet n - - - - smtpd +#smtp inet n - - - - smtpd # # Before-filter SMTP server. Receive mail from the network and # pass it to the content filter on localhost port 10025. # -#smtp inet n - - - 15 smtpd -# -o smtpd_proxy_filter=127.0.0.1:10025 -# -o smtpd_client_connection_count_limit=10 +smtp inet n - - - 15 smtpd + -o smtpd_proxy_filter=127.0.0.1:10025 + -o smtpd_client_connection_count_limit=10 # # After-filter SMTP server. Receive mail from the content filter # on localhost port 10026. # -#127.0.0.1:10026 inet n - n - - smtpd -# -o smtpd_authorized_xforward_hosts=127.0.0.0/8 -# -o smtpd_client_restrictions= -# -o smtpd_helo_restrictions= -# -o smtpd_sender_restrictions= -# -o smtpd_recipient_restrictions=permit_mynetworks,reject -# -o smtpd_data_restrictions= -# -o mynetworks=127.0.0.0/8 -# -o receive_override_options=no_unknown_recipient_checks +127.0.0.1:10026 inet n - n - - smtpd + -o smtpd_authorized_xforward_hosts=127.0.0.0/8 + -o smtpd_client_restrictions= + -o smtpd_helo_restrictions= + -o smtpd_sender_restrictions= + -o smtpd_recipient_restrictions=permit_mynetworks,reject + -o smtpd_data_restrictions= + -o mynetworks=127.0.0.0/8 + -o receive_override_options=no_unknown_recipient_checks # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - - - - smtp -- 2.34.1