Re: [Clamav-users] Triggering freshclam with procmail

2005-12-28 Thread Kelson Vibber

Harry Phillips wrote:

I was wondering if it is possible and if it is advisable to trigger freshclam
when I receive a message that the daily database has been updated.


I used to do this, but it's no longer necessary now that freshclam can 
check for updates via a DNS query.  You can run it as a daemon, or 
hourly via cron and not put too much load on the update servers. 
Linking it to the mailing list no longer provides much of an advantage.

___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Triggering freshclam with procmail

2005-12-26 Thread .rp
> I was wondering if it is possible and if it is advisable to trigger
> freshclam when I receive a message that the daily database has been
> updated.
> 
That is what i do.
In the .procmailrc of the user that gets the notifications I have:
:0Hc
* ^To:[EMAIL PROTECTED]
|/etc/smrsh/clamupdate.cmd


 /etc/smrsh/clamupdate.cmd is one line:
cp /root/stuff/freshclam.scr /etc/cron.hourly/


the file  /root/stuff/freshclam.scr contains:
freshclam
\rm /etc/cron.hourly/freshclam.scr
/usr/batch/clmilter_watch.pl


I put in the hourly cron so that it gets kicked off within the next hour but 
not 
right away when lots of people are probably banging away at the server.

___
http://lurker.clamav.net/list/clamav-users.html


RE: [Clamav-users] Triggering freshclam with procmail

2005-12-22 Thread Bowie Bailey
Harry Phillips wrote:
> I was wondering if it is possible and if it is advisable to trigger
> freshclam when I receive a message that the daily database has been
> updated. 
> 
> I have a unique e-mail address subscribed to the database announcement
> list so the message does not need to be saved anywhere.
> 
> I only have 5 users on my home server here but I have other clients
> that are much larger. I practice and perfect anything I do on my
> server before inflicting it on the source of my bread and butter.

I would say, probably possible, but not advisable.

What happens if there is an update that is not announced for some
reason?  Or maybe the announcement email gets delayed due to email
problems?

What happens if you get the announcement before all the mirrors are
synced and freshclam doesn't see the update?

I would say it is safer to either run it as a daemon, or let cron call
it on a regular basis.

-- 
Bowie
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] Triggering freshclam with procmail

2005-12-22 Thread Odhiambo Washington
* On 22/12/05 08:36 -0600, Harry Phillips wrote:
> I was wondering if it is possible and if it is advisable to trigger freshclam
> when I receive a message that the daily database has been updated.

Where do you receive that message from?
Anyway, I suggest you leave your freshclam to run as configured. If
everyone adopted your intended action, the DB servers might be
overwhelmed, depending on the mirror being used. I am not saying they
_will_ be. I am saying "might" be.

> I have a unique e-mail address subscribed to the database announcement list so
> the message does not need to be saved anywhere.

Oh, I see now. I need to be reading to bottom before answering ;)

> I only have 5 users on my home server here but I have other clients that are
> much larger. I practice and perfect anything I do on my server before
> inflicting it on the source of my bread and butter.

Nice to hear.

Happy Christmas!


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
The reason we come up with new versions is not to fix bugs.  It's
absolutely not.
-- Bill Gates
___
http://lurker.clamav.net/list/clamav-users.html


[Clamav-users] Triggering freshclam with procmail

2005-12-22 Thread Harry Phillips
I was wondering if it is possible and if it is advisable to trigger freshclam
when I receive a message that the daily database has been updated.

I have a unique e-mail address subscribed to the database announcement list so
the message does not need to be saved anywhere.

I only have 5 users on my home server here but I have other clients that are
much larger. I practice and perfect anything I do on my server before
inflicting it on the source of my bread and butter.

___
http://lurker.clamav.net/list/clamav-users.html