On Tue, 03 Feb 2004 at 13:37:16 +0100, Tarjei Knapstad wrote:
> On Mon, 2004-02-02 at 17:42, Paul Carpenter wrote:
> > I use logrotate on my RedHat system with:
> > 
> > /var/log/clamd.log {
> >         missingok
> >         create 0640 clamav root
> >         prerotate
> >                 /sbin/service clamd stop 2> /dev/null || true
> >         endscript
> >     postrotate
> >         sleep 5
> >         /sbin/service clamd start  2> /dev/null || true
> >     endscript
> > }
> > 
> > Seems to work fine.
> > 
> 
> Except that you're allowing viruses to pass through during that sleep
> 5...
> 

I don't know all possible ways of using clamav so I can't say for
sure... but no, it doesn't allow viruses to pass. In the worst case MTA
just queues messages for a while, when clamd isn't up.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED]   http://www.lodz.tpsa.pl/   | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to