On Thu, 05 Nov 2009 17:39:35 -0500 Nathan Gibbs <nat...@cmpublishers.com> wrote:
> I can see why > > $CLAM_VIRUSEVENT_FILENAME > > isn't available through config. > > Under clamscan the file returned is stream. > Under clamdscan/clamd, one process returns the correct filename the > other returns stream. > > Is that a bug or a feature? That's due to the way you're calling clamdscan. In the stream mode it only sends the file data to clamd so the daemon doesn't know the real file name. > Also, is there anything available to the script in the On* events from > freshclam.conf? As mentioned in freshclam.conf(5), one can pass %v to OnOutdatedExecute to get the version number of the latest ClamAV release Regards, -- oo ..... Tomasz Kojm <tk...@clamav.net> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Fri Nov 6 09:44:51 CET 2009 _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml