On Thursday 06 December 2012 13:51:25 Jari Fredriksson did opine: > 06.12.2012 19:44, franckm kirjoitti: > > Is it possible to have clamd (clamav deamon) watch a specific folder > > (and only that one) and automatically scan the files as they are > > dropped into it? > > I'm afraid it is not possible with clamd alone. You need a separate > daemon watching the folder(s) and then call clamd. I am not aware of > such daemons available.
See my previous reply Jari. Works a treat with procmail as fetchmail's MTA. Hits will look like this in your /var/log/clamav/clamav.log ============================================================= gene@coyote:/var/log/clamav$ grep FOUND * clamav.log.1:Tue Nov 27 12:17:38 2012 -> instream(local): winnow.trojan.ts.pdfzip.23.UNOFFICIAL(d6a44cd69566407266e9cb552bb968c0:99325) FOUND clamav.log.1:Tue Nov 27 12:46:22 2012 -> instream(local): Sanesecurity.Junk.42171.UNOFFICIAL(1eaa994056c357ad0f03aa866c918fb3:1467) FOUND clamav.log.1:Wed Nov 28 00:27:37 2012 -> instream(local): Sanesecurity.Rogue.0hr.1127v26487.UNOFFICIAL(fe2f9f12f19e0a35d11fffa1d1e82c52:99334) FOUND clamav.log.1:Wed Nov 28 10:34:52 2012 -> instream(local): Sanesecurity.Phishing.Fake.9745.UNOFFICIAL(6073e4ecb3ac08d798ac4c539d7f8713:4092) FOUND ============================================================== I hope tis helpful. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! At work, the authority of a person is inversely proportional to the number of pens that person is carrying. I was taught to respect my elders, but its getting harder and harder to find any... _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml