spamass-milt-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spamass-milter -- connection refused error


From: Dan Nelson
Subject: Re: spamass-milter -- connection refused error
Date: Sun, 19 Mar 2006 16:55:53 -0600
User-agent: Mutt/1.5.11

In the last episode (Mar 19), Burhan Khalid said:
> John E Hein wrote:
> >Burhan Khalid wrote at 15:59 +0300 on Mar 18, 2006:
> > > Mar 12 12:03:53 avalon sendmail[5019]: k2C93rov005019: Milter 
> > > (spamassassin): error connecting to filter: Connection refused by 
> > > /var/run/spamassassin/spamd.pid
> > > Mar 12 12:03:53 avalon sendmail[5019]: k2C93rov005019: Milter 
> > > (spamassassin): to error state
> >
> >It looks like you are telling spamass-milter to connect to the wrong
> >socket.  'spamd.pid' is probably the process id of spamd... see docs
> >for -p option in spamass-milter(8).
> 
> So, how do I find out what socket spamassassin is using so I can pass
> the correct parameter to -p for spamass-milter?

The problem isn't between spamassassin and spamass-milter, it's between
spamass-milter and sendmail. Your sendmail.mc should have a line like:

INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock, F=, 
T=C:10s;S:10s;R:30s;E:2m')dnl

, and your spamass-milter commandline should have the same path: 
"-p /var/run/spamass.sock"

-- 
        Dan Nelson
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]