[EMAIL PROTECTED] wrote:
Thanks Jim. I am using qmail-scanner to call clamav.



Ok, in that case, check the configure options for qmail-scanner.

There is something like --notify= where you can specify "recips" i believe which will notify the recipient of any blockage (policy or virus). If you do not wish to rebuild qmail-scanner, you can edit qmail-scanner-queue.pl directly and change the line:

#Addresses that should be alerted of any quarantined Email
my $NOTIFY_ADDRS='psender';

options are as follows:

--notify "none|sender|recips|precips|admin|nmladm|nmlvadm|all" Defaults to "psender,nmlvadm".
Comma-separated list (no spaces!)
of addresses to which alerts should
be sent to. "nmladm" means only
notify admin for "user infections",
i.e. non-mailing-list mail.
"nmlvadm" is the same as nmladm - except that it also doesn't notify for viral e-mails. i.e. just "policy" quarantines get e-mails. This allows you to still notify people when an e-mail is blocked due to a policy decision (such as blocking password-protected zip files), but a message tagged as viral by an AV system will *not* trigger notification. Similarly, "psender"/"precips" means notify the sender/recips only if their e-mail was blocked for policy reasons. i.e. if an AV system found a virus, then don't notify the sender/recip as the address was probably forged.


-Jim
_______________________________________________
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users

Reply via email to