Jürgen Walch wrote:

Hi there,

we are running clamd in combination with clamdscan to scan incoming
mails for viruses on smtp level with courier-mta here. Works fine.

The signature files are updated using freshclam started via crontab.

The crontab entry used is

--8<--
#
# clamav
#
23 1,9,17 * * * root    /usr/bin/freshclam >>/var/log/clamav.log 2>&1
--8<--

Will the running clamd automatically use the updated signature files
fetched by freshclam or is it necessary to restart clamd from time to time ?


Thanks a lot !

~        juergen walch

No need to restart. Clamd checks for new/changed databases in the interval specified by "SelfCheck" in clamav.conf (default 3600 seconds).

You can (and should) also look at your freshclam.conf file for the "DaemonNotify [/path/to/clamd.sock]" keyword, or use the --daemon-notify option for freshclam in your crontab.
This way the database will automatically get reloaded as soon you have the new pattern db on your disk.



Thomas


------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to