On Thu, 2004-04-22 at 20:31, Don Levey wrote:

> Thank you again - this worked.  As far as I can tell, it's functioning
> correctly now.  Thanks all for your help!
>  -Don
> 
Oops, I may have spoken too soon.  My maillog is showing the following:

Apr 22 20:57:07 davinci sendmail[11572]: i3N0v70t011572: Milter
(clmilter): local socket name /var/run/clamav/clamav-milter.sock unsafe
Apr 22 20:57:07 davinci sendmail[11572]: i3N0v70t011572: Milter
(clmilter): to error state


>From what I was able to get in the archives, this can happen if the sock
is named differently in the sendmail.mc and clamav-milter files. 
However:

sendmail.mc:
define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
INPUT_MAIL_FILTER(`clmilter',
`S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl

clamav-milter:
CLAMAV_FLAGS="--headers --noreject --outgoing
--quarantine-dir=/var/run/clamav/quarantine --max-children=10
--force-scan --local --postmaster-only --server=localhost
local:/var/run/clamav/clamav-milter.sock"

>From what I see here, they seem to be named the same.  I tried to make
sure that the owner and group of the /var/run/clamav/clamav-milter.sock
file were clamav, and permissions were 600, but now restarting clamd
gives an error in the clamd log that the sock file is in use by another
process.  I've not found anything yet in the archives which discusses
this; stopping and restarting the processes doesn't seem to help.

I hope I'm getting somewhere...
 -Don



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to