Erin,
> Sorry but no one has any idea where I can start looking to fix this?
Sorry for a slow response. The proper solution is more intricate
than it appears (involves improving quarantine duplicate suppression),
I expect to have it in 2.6.2.
> If 2 (userA, and userB) that are in the TO, CC or BCC (or any
> combination of those) and one (userA) has virus scanning and the other
> (userB) does not they both get a virus warning but the second one
> (userB) also gets the virus.
>
> I need to supress the virus warning mail for the second user(userB).
>
> Can some one please show me what to look for?
A quick-fix workaround is to suppress a recipient notification
for recipients which will be getting a message anyway
(like virus/spam lovers, or a normal clean delivery):
--- amavisd~ 2008-06-29 02:37:58.000000000 +0200
+++ amavisd 2008-10-06 16:09:13.000000000 +0200
@@ -11969,4 +11969,7 @@
} elsif (!c('warn_offsite') && !$r->recip_is_local) {
$wr = 0; # do not notify foreign recipients
+ } elsif ($r->recip_destiny == D_PASS) {
+ do_log(5,"skip recipient notifications - mail will be delivered");
+ $wr = 0; # do not notify recips which will be getting the message anyway
# } elsif (! defined($msginfo->sender_contact) ) { # (not general enough)
# do_log(5,"skip recipient notifications for unknown sender");
Alternatively, use per-recipient @warnvirusrecip_maps lookup list
and enable recipient notifications only for users which have
virus checking enabled.
For virus-checking usesr like userA, instead of sending a separate
recipient notification, it is probably better to pack a warning message
directly in the passed infected message by using a defanging
mechanism: $defang_virus=1; and turn off recipient notifications.
Mark
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/