Spamass-milter: Difference between revisions

From DWIKI
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
*[http://savannah.nongnu.org/projects/spamass-milt/ homepage] please tell me how to find the documentation there, what a mess
*[http://savannah.nongnu.org/projects/spamass-milt/ homepage] please tell me how to find the documentation there, what a mess
*http://laic.u-clermont1.fr/~mr/linux/spamass-milter_postfix_en.html


luckily man spamass-milter is helpful
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==
==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. (
It also seems to just fall apart after a while, restarting it fixes that.

Latest revision as of 13: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.