On Sat, 7 Aug 2004, Brett Hales wrote:

> I am trying to spamassassin working with spamass-milter (x86 Gentoo). I
> included the following line in /etc/mail/sendmail.mc and rebuilt
> sendmail.cf. This is what I used for RedHat and it worked.
>
> INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, 
> F=,T=C:15m;S:4m;R:4m;E:10m')
>
> This does not work with gentoo, spamd and spamass-milter are running
> however I keep getting the folllowing error message.
>
> Milter (spamassassin): local socket name /var/run/spamassassin/spamass.sock 
> unsafe
> Milter (spamassassin): to error state
>
> It seems to me that the sendmail.mc line is incorrect, it is not passing
> the mail off to spamd - does anybody have any idea?????

Oops, just noticed one other thing, your '.mc' line says that the
socket should be in '/var/run/spamass.sock' howerver that error
line states that sendmail is looking in
'/var/run/spamassassin/spamass.sock' which isn't the same.

Did you rebuild the '.cf' file and put it in place?
kill -HUP sendmail to get it to read the new config file?


-- 
Dave Funk                                  University of Iowa
<dbfunk (at) engineering.uiowa.edu>        College of Engineering
319/335-5751   FAX: 319/384-0549           1256 Seamans Center
Sys_admin/Postmaster/cell_admin            Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{

Reply via email to