We need to be able to notify our users that we deleted their infected messages, but I'm tired of my queue being crufted up with bounced virus notifications to fake senders. Yet setting infected_action = reject is the only thing that is giving my users the notification they want. :-/



JR,

Clam isn't responsible for the notifications, clam is just the scanning engine. It's CGPAV that's playing up by the looks of it. The author can be contacted here: http://program.farit.ru

He may be able to identify the problems you are having, sounds like it's getting confused or has a certain order in the way it deals with actions.
A bodged way of doing it would be to run cgpav in 'addheader' mode and then deal with it using Communigate's rules, e.g...


if messagesize is greater than 1024
and Header Field contains "X-Virus-Found: YES*"
Execute notify.sh
Discard

Where notify.sh is a perl/shell script that injects an email to the recipient (injected via the Submitted folder). You would need some logic in the script to pick out the recipient address, I think CGPro passes it as a parameter to the script. You might find some useful script snippets to help you here: http://www.clanhobbs.org/cgscripts.php

HTH.

Regards,

Stuart.



-------------------------------------------------------
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

Reply via email to