Richard A Nelson wanted us to know:

>> The sample init scripts (for RedHat) start clamd and clamav-milter at
>> sequence numbers 90 and 91.  The RH default sendmail starts at sequence
>> number 80.  I'd ignored this when setting things up before, since I
>Good plan, I did that for Debian - made sendmail starts After the
>milters, and ends Before them...  It has helped reduce the clutter in
>/var/mail/mail.log.

In mine, I had to do the same.

>It shouldn't, however change if a virus is accepted - since sendmail
>should be tempfailing mail until the milters are functioning.

Incorrect, depending on how you define your milter call for sendmail.

The following is the default recommended line for sendmail.mc in the
clamav documenation (one long line):

        INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clmilter.sock,
        F=, T=S:4m;R:4m')dnl

In the libmilter documentation, it defines the F flag as:

  The current flags (F=) are:
        R               Reject connection if filter unavailable
        T               Temporary fail connection if filter unavailable
  If neither F=R nor F=T is specified, the message is passed through
  sendmail in case of filter errors as if the failing filters were not
  present.

So by not specifying an F=T setting, you're telling it to pass it
through in the event of clamav-milter failure.  I'm not sure what the
case would be if clamav-milter was still fully functional, but clamd
failed.
-- 
Regards...              Todd
They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety.       --Benjamin Franklin
Linux kernel 2.6.3-15mdkenterprise   2 users,  load average: 0.02, 0.02, 0.00


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to