Could someone check my master.cf file please for accuracy and validity.
Especially spamassassin and how it’s setup.
master.cf related section:
# ==== Begin auto-generated section ========================================
# This section of the master.cf file is auto-generated by the Server Admin
# Mail backend plugin whenever mails settings are modified.
#dovecot unix - n n - - pipe
# flags=DRhu user=vmail:vmail argv=/usr/local/lib/dovecot/dovecot-lda -f
${sender} -d ${recipient}
smtp inet n - n - 1 postscreen
smtp inet n - n - - smtpd -o
content_filter=spamassassin
#smtp inet n - n - - smtpd -vv
smtpd pass - - n - - smtpd
dnsblog unix - - n - 0 dnsblog
tlsproxy unix - - n - 0 tlsproxy
submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_milters=inet:127.0.0.1:8891
smtp unix - - n - - smtp
# === End auto-generated section ===========================================
I have postscreen first, then spamassassin
I’ve set up spamassassin - which seemed ridiculously easy, and it seems to
work… but I don’t want any bad surprises
thanks if you have a moment to scan through for obvious errors…. I’m going
blind looking at it.
Thanks
postconf -Mf
master.cf
smtp inet n - n - 1 postscreen
smtp inet n - n - - smtpd
-o content_filter=spamassassin
smtpd pass - - n - - smtpd
dnsblog unix - - n - 0 dnsblog
tlsproxy unix - - n - 0 tlsproxy
submission inet n - n - - smtpd
-o smtpd_tls_security_level=encrypt
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_milters=inet:127.0.0.1:8891
smtp unix - - n - - smtp
465 inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
pickup fifo n - n 60 1 pickup
-o content_filter=
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
sacl-cache unix - - n - 1 sacl-cache
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
relay unix - - n - - smtp
-o smtp_fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
dovecot unix - n n - 25 pipe flags=DRhu
user=_dovecot:mail argv=/usr/libexec/dovecot/dovecot-lda -d ${user}
spamassassin unix - n n - - pipe flags=R
user=spamuser argv=/opt/local/bin/spamc -e /usr/local/sbin/sendmail -oi -f
${sender} ${recipient}
Robert Chalmers
[email protected] <mailto:[email protected]>.au Quantum Radio:
http://tinyurl.com/lwwddov
Mac mini 6.2 - 2012, Intel Core i7,2.3 GHz, Memory:16 GB. El-Capitan 10.11. 2TB
Storage made up of -
Drive 0:HGST HTS721010A9E630. Upper bay. Drive 1:ST1000LM024 HN-M101MBB. Lower
Bay