> Hello, > Can someone tell me if I'm right about this ? > In amavisd.conf : > --------------- > $final_virus_destiny = D_DISCARD; > $final_banned_destiny = D_PASS; > $final_spam_destiny = D_DISCARD; > $final_bad_header_destiny = D_PASS;
> @mynetworks = qw ( 127.0.0.0/8 172.16.0.0/16 ); > $policy_bank{'MYNETS'} = { > bypass_spam_checks_maps => [[qw( .mydomain.cc .mydomain2.cc )]], > final_spam_destiny => D_BOUNCE, > $final_virus_destiny => D_BOUNCE; > $virus_admin = '[EMAIL PROTECTED]'; > }; > ---------------- Semicolon should be comma: $final_virus_destiny => D_BOUNCE, Should be (also note comma): $virus_admin = ['[EMAIL PROTECTED]'], > Question 1: > Now, if someone from out internal network sends a virus, it gets a DSN > back ? Or does the [EMAIL PROTECTED] gets a message ? It is not recommended to bounce viruses. The sender is nearly always forged so it's unlikely the real sender would ever get a bounce notice. It's also unlikely a bounce would be created because of the default setting for @viruses_that_fake_sender_maps. The $virus_admin should be notified. If you want your senders to have their spam bounced you should also set: spam_dsn_cutoff_level_maps => 9999, and if using amavisd-new 2.4.3 or newer, also add: spam_dsn_cutoff_level_bysender_maps => 9999, Rather than bypassing spam checks for internal domains, you could instead make them spam_lovers: spam_lovers_maps => [[qw( .mydomain.cc .mydomain2.cc )]], > Question 2: > If a virus arrives from the outside world, it's get discarded. And > nobody gets a message ? Assuming you have set: $final_virus_destiny = D_DISCARD; That depends on: $virus_admin $warnvirusrecip (and $warn_offsite) $warnvirussender What is it you want to happen? I suggest configuring $virus_admin if you want to be notified. > Thank you for any hints and tips .... > Greetings... Richard Gary V ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/