* Bart Silverstrim <[EMAIL PROTECTED]> [20040316 01:46]: wrote: > I'm running clamscan / ClamAV version 0.67-1 on FreeBSD 4.9 (clamav > from ports collection), using clamd to scan incoming email for viruses.
I also run on FreeBSD 4.9-STABLE, but I have been running CVS code for ages now. Interestingly, I have only had very very minor problems, so I am extremely happy with ClamAV. > I have seen some people on the list say that clamd will stop working > if the maximum logfile size is hit? Well, that was discussed, but they also gave solutions with the use of logrotate. > Is there anyone using newsyslog to rotate the logs for clamd, and if so > what is your conf file line to do it? BTW, there are new versions on the website, so go for them. There is an entry in the Changelog from the CVS checkout I just did a few minutes ago: <cut> Tue Feb 17 17:09:24 GMT 2004 (trog) ----------------------------------- * clamd: SIGHUP re-open log file support </cut> With that, I believe you could do the following in newsyslog.conf: /var/log/clamav/clamd.log exim:mail 640 7 * @T00 Z /var/run/clamd.pid 1 > Is there something that has to be changed in clamav.conf also? Yes, the PidFile specification must much the one you specify above. I run clamd as user exim, in group mail. YMMV. PS: I use daemontools to monitor clamd, and I use other methods to rotate my log file, so don't blame me if the above approach makes your box to go up in flames ;) cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | <wash at wananchi dot com> . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users