Jim wrote:
> Hallo und Guten Abend amavis-user,
> I have an understanding problem with policy banks. If I set
> # $policy_bank{'MYNETS'} = { # mail originating from @mynetworks
> # spam_kill_level_maps => 6.9,
> # spam_admin_maps => ["[EMAIL PROTECTED]"], # alert of internal spam
> # bypass_spam_checks_maps => [1], # or: don't spam-check internal mail
> # bypass_banned_checks_maps => [1], # don't banned-check internal mail
> # };
> then I go out from it, the local users passed without spam check.
> Right? But it isn`t. You have any hints? Thank you.
I believe this also requires the sender's address/network is listed in
Postfix' mynetworks, and the same address/network is listed in @mynetworks
which means you may have to uncomment and configure @mynetworks.
I believe it also requires -o smtp_send_xforward_command=yes
in this section of master.cf:
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
But this assumes you are using Postfix. I'm sure there are a few
variables here. This is just an example. I would guess lmtp also
works.
$policy_bank{'MYNETS'} = { # mail originating from @mynetworks
bypass_spam_checks_maps => [1], # don't spam-check internal mail
bypass_banned_checks_maps => [1], # don't banned-check internal mail
final_spam_destiny => D_PASS, # insure spam passes
final_banned_destiny => D_PASS, # insure banned files pass
};
Gary V
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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/