From: ".rp" <[EMAIL PROTECTED]>
To: <users@spamassassin.apache.org>
Sent: 2005 September, 04, Sunday 15:04
Subject: Re: SA 3.03, Fedora3 - missing sock
>
> I have spamd running, but there is no sock file being created for
> sendmail to "hook" into to. and i do mean no sock file anywhere on
> the system that belongs to spamd. Where is the sock?
spamd isn't a milter, thus it doesn't create a socket for sendmail to
hook to. Spamd creates a IP socket for spamc to connect to.
Look at milter-spamc to create a socket for sendmail to hook to. This
will "bridge the gap" between sendmail and spamd.
Hmm, this is the setup of my sendmail, which worked just fine with SA2.6x
MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass.sock,F=,T=C:15
m;S:4m;R:4m;E:10m')dnl
/var/run/spamass.sock, as described above, is not a part of spamassassin.
So you have to deal with why that failed. SpamAssassin does not create
a socket. Spamd does. I don't know if the "/var/run/spamass.sock" knows
what socket spamd creates. For that matter, I do not see anything telling
the /var/run/spamass.sock program what socket to use. How does it decide
who and how to talk to? If it looks at port XXXX only then has clamav
already claimed that socket? Address the problem in your mail filter
not in spamassassin.
define(`confMILTER_MACROS_CONNECT',`b, j, _, {daemon_name},
{if_name}, {if_addr}')dnl
dnl now the antivirus
MAIL_FILTER(`clamav-milter',`S=local:/var/run/clamav/clamav-
milter.sock,F=,T=S:4m;R:4m;E:10m')dnl
define(`confINPUT_MAIL_FILTERS',`spamassassin, clamav-milter')
just to make sure, I also tried
MAIL_FILTER(`spamassassin',`S=local:/var/run/clamav/spamass.sock,F=,
T=C:15m;S:4m;R:4m;E:10m')dnl
since I knew there was no permissions problem with the clamav directory,
but that did not help.
{^_^}