Am 12.02.2015 um 21:26 schrieb LuKreme:
I believe I have the spams-milter working with postfix
main.cf
milter_default_action = accept
smtpd_milters = unix:/var/run/spamass-milter.sock
Two questions. Wouldn’t the log show the milter instead of spamd?
no
And now that this is working, how do I reject incoming messages based on their
score (for example, say I wanted to reject all spam scoring 9.0 or higher)?
/usr/sbin/spamass-milter -p /run/spamass-milter/spamass-milter.sock -g
sa-milt -r 8.0 -- -s 5242880 --port=10028
the "-r 8.0" is the reject score
params after -- are for spamd
technically the milter becomes back the modified message and parses the
score header for the decision