Jack,
> *) Alert all recipients for any viruses that do not spoof e-mail
> addresses ( alert on "uncommon" viruses, word macros, etc - but don't
> alert on MyTob, etc.)
There are two commented-out lines to that effect in sub do_virus(),
you may want to uncomment them:
for my $r (@{$msginfo->per_recip_data}) {
my($wr) = 0; my($rec) = $r->recip_addr;
if (!c('warn_offsite') && !lookup(0,$rec,@{ca('local_domains_maps')})) {
# not notifying foreign recipients
# } elsif (! defined($msginfo->sender_contact) ) { # (not general enough)
# do_log(5,"do_virus: skip recip notifications for unknown sender");
} elsif ($r->infected) {
The sender_contact becomes undefined when sub unmangle_sender() notices
the virus name matches the @viruses_that_fake_sender_maps,
which is close to what you need.
Mark
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
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/