On 4/11/08, Andy Spiegl <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I thought it would be sufficient to add spam_admin_maps in the MYNETS
> policy bank, but I still don't get any alert mails. Is there any
> other setting I have to make?
>
> Here is what I tried:
>
> --------.--------.--------.--------.--------.--------.--------.--------
> $policy_bank{'MYNETS'} = {
> originating => 1, # is true in MYNETS by default, but let's make it explicit
> spam_tag_level_maps => 5000.0, # do not add spam info headers
> spam_tag2_level_maps => 5000.0, # do not add 'spam detected' headers
> final_spam_destiny => D_PASS,
> final_bad_header_destiny => D_PASS,
> final_virus_destiny => D_DISCARD,
> virus_admin_maps => ["[EMAIL PROTECTED]"], # alert of infected local hosts
> spam_admin_maps => ["[EMAIL PROTECTED]"], # alert of internal spam
> bypass_banned_checks_maps => [1], # allow sending any file names and types
> };
>
> $virus_admin = "[EMAIL PROTECTED]"; # notifications recip.
> # $spam_admin = "[EMAIL PROTECTED]";
> --------.--------.--------.--------.--------.--------.--------.--------
>
> I even tried uncommenting the global $spam_admin line, but didn't help.
>
> Here the relevant (anonymized) parts of the logfile of a testmail with
> the gtube string:
> --------.--------.--------.--------.--------.--------.--------.--------
> Apr 11 17:51:35 mail-gateway amavis[4777]: (04777-01) Passed CLEAN, MYNETS
> LOCAL [192.168.1.253] [192.168.1.253] <[EMAIL PROTECTED]> -> <[EMAIL
> PROTECTED]>, Message-ID: <[EMAIL PROTECTED]>, mail_id: s065WAau29dx, Hits:
> 1001.776, size: 985, queued_as: D70C084C277, 1620 ms
> --------.--------.--------.--------.--------.--------.--------.--------
>
> It says "MYNETS LOCAL" so the policy_bank "MYNETS" should be active,
> right?
>
Right.
> It also says "Hits: 1001.776" so AMaViS recognized it as Spam and
> should notify the spam_admin, right?
Wrong. It's not recognized as spam.
> I wonder why it says "Passed CLEAN" however...
Because the message scored less than your kill_level:
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#tagkill
> But probably that doesn't have anything to do with my problem.
Sure it does.
The admin will not be notified unless the message scores at kill_level
or higher.
<...>
spam_tag2_level_maps => 13,
spam_kill_level_maps => 13,
<...>
> Thanks for any hint!
> Andy.
--
Gary V
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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/