Strange, I can't get yours to work:

procmail: Executing "/usr/bin/clamscan,--mbox,--disable-summary,--stdout,-"
procmail: [19069] Tue Feb 17 13:33:13 2004
procmail: Skipped "OK"
procmail: Assigning "LASTFOLDER=CLAMAV=/tmp/3a8832cab5f07762/textportionEu4EUx:"
procmail: Opening "CLAMAV=/tmp/3a8832cab5f07762/textportionEu4EUx:"
procmail: Error while writing to "CLAMAV=/tmp/3a8832cab5f07762/textportionEu4EUx:"
procmail: No match on ".*: \/.* FOUND"


Where mine[1] does this:

procmail: Assigning "CLAMAV="
procmail: Executing "/usr/bin/clamscan,--mbox,--disable-summary,--stdout,-"
procmail: [19086] Tue Feb 17 13:34:23 2004
procmail: Assigning "MATCH="
procmail: Matched "Worm.SCO.A-dam FOUND"
procmail: Match on ".*: \/.* FOUND"
procmail: Executing "/usr/bin/formail,-a,X-ClamAV: Worm.SCO.A-dam FOUND"


Of course this only is working because I have commented out that section of code in the clean up function clamav_rmdirs.

Brian

[1] Originally copied from:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF -8&selm=13w6cjksyx6n8.1cr3h6hlnmdxk%24.dlg%4040tude.net


On Feb 17, 2004, at 4:10 PM, Christopher X. Candreva wrote:

On Tue, 17 Feb 2004, Brian J. France wrote:

I am hooking clamscan into a procmail filter like this:

:0
CLAMAV=|/usr/bin/clamscan --disable-summary --stdout --mbox -

This looks like a variation of my script -- but you've made changes that
will keep it from working, such as remving the back-quotes from the line
above. Here is my original version.


VIRUS=`/usr/local/bin/clamdscan --mbox --disable-summary --stdout -`

:0 Di
* VIRUS ?? FOUND
/dev/null/or/whatever/you/want



==========================================================
Chris Candreva  -- [EMAIL PROTECTED] -- (914) 967-7816
WestNet Internet Services of Westchester
http://www.westnet.com/


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to