Spamass-milter: Difference between revisions

From DWIKI
mNo edit summary
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

Revision as of 14:26, 17 November 2010

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