From 07b56eda96ec82571fd9eae038731218e1f8b46c Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 7 Aug 2016 03:08:48 -0400 Subject: [PATCH] Add spamassassin support(?) The master.cf change dates from Aug 22 2013, so I don't really remember... --- main.cf | 1 + master.cf | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/main.cf b/main.cf index 01a23ee..53a0627 100644 --- a/main.cf +++ b/main.cf @@ -689,3 +689,4 @@ home_mailbox = .maildir/ # 2005-01-19 owner_request_special = no +smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated permit_auth_destination reject_unauth_destination diff --git a/master.cf b/master.cf index 5c39396..a74a5f5 100644 --- a/master.cf +++ b/master.cf @@ -8,11 +8,13 @@ # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== -#submission inet n - - - - smtpd -# -o smtpd_tls_security_level=encrypt -# -o smtpd_sasl_auth_enable=yes -# -o smtpd_client_restrictions=permit_sasl_authenticated,reject -# -o milter_macro_daemon_name=ORIGINATING +submission inet n - - - - smtpd + -o smtpd_tls_security_level=encrypt + -o smtpd_sasl_auth_enable=yes + -o smtpd_client_restrictions=permit_sasl_authenticated,reject + -o milter_macro_daemon_name=ORIGINATING + -o smtpd_proxy_filter=127.0.0.1:10025 + -o smtpd_client_connection_count_limit=15 #smtps inet n - - - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes -- 2.34.1