Spamass-milter

From DWIKI

luckily man spamass-milter is helpful

Documentation

spamass-milter and sendmail on debian

The socket location is defined in /etc/init.d/spamass-milter:

/var/run/spamass/spamass.sock

So in sendmail.mc use:

INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass/spamass.sock, F=, T=C:15m;S:4m
define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl


FAQ

warning: connect to Milter service unix:/var/run/spamass-milter.sock: Connection refused

Wrong rights, set ownership to whatever mta runs as. ( It also seems to just fall apart after a while, restarting it fixes that.