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?????

Yes, there's one of three possible things that can cause that error:
1) that socket does not exist at all. (IE either the path is wrong, or
   you have not started the spamass-milter, or it created the socket
   at some other path).
2) The socket exists but the milter has died and left it 'abandoned'
3) One of the directories in that path is either world-writeable or
   group-writable. Unless you set the 'DontBlameSendmail' option,
   sendmail demands that all directories in the path be mode 755 or
   mode 555. (IE mode 775 or 777 are considered 'unsafe').


-- 
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