> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jay Lee
> Sent: woensdag 20 december 2006 16:48
> To: clamav-users@lists.clamav.net
> Subject: [Clamav-users] DB Update email before actual update 
> available?
> 
> I am attempting to write a script that will take action whenever an
> email from the [EMAIL PROTECTED] list is received.  The
> script would run freshclam and grab the most recent update, thus giving
> me the most up to date version at all times without putting a heavy load
> on the ClamAV servers.

DNS is extremely light-weight, and ideally suited for the task. Doing all
sort of crazed things, like starting a script on reception of an email, is
much more costly, resource-wise, than what you may think to win. Heck,
even starting freshclam per cron, IMHO, is a hugely expensive affair
(repeated startup/initialization cost). Just running a small daemonized
freshclam (about 5M), which periodically does an extremely light-weight
DNS query, is unbeatable in efficiency.

- Mark



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to