Mike Staver said:
>>>INPUT_MAIL_FILTER(‘clmilter’,‘S=local:/var/clamav/clmilter.socket,F=,
>>>T=S:4m;R:4m’)dnl
>>>define(‘confINPUT_MAIL_FILTERS’, ‘clmilter’)
>>>
>>>Granted, I modified it to point to the right file - but the syntax is
>>>the same.  My only question at this point - this file (clmilter.socket),
>>>it still doesn't exist yet.  When should it get created? I've restarted
>>>clamd and clamav-milter.  Then I fire up sendmail, and I get that error.
>>
>>
>> This socket is probably not writable by the user your sendmail runs as:
>>
>>
>>>>srwxr-xr-x  1 clamav clamav       0  Nov 23 08:10 clmilter.socket
>
> Ok - but should it be?  I mean, isn't clamd or clamav-milter supposed to
> generate and update this file? I was assume that Sendmail would just
> read it.

I would imagine that if Clamav-milter is to learn anything about the
messages it has to have them handed off to it from Sendmail. That makes
Sendmail the talker at this point. Conversely, if Sendmail is to learn
anything the milter has concluded about the message it has to listen to
what the milter says. At this point Clamav-milter is the talker. That
sounds to me like everything that uses the socket needs to read and write
to it. On my systems Sendmail runs as user smmsp, not clamav. I'd bet you
have a similar situation.

dp
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to