Spamass-milter: Difference between revisions

From DWIKI
 
Line 16: Line 16:
==FAQ==
==FAQ==
===warning: connect to Milter service unix:/var/run/spamass-milter.sock: Connection refused===
===warning: connect to Milter service unix:/var/run/spamass-milter.sock: Connection refused===
Wrong rights, set ownership to whatever mta runs as
Wrong rights, set ownership to whatever mta runs as. (
It also seems to just fall apart after a while, restarting it fixes that.

Latest revision as of 12:29, 24 February 2011

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.