On Feb 13, 2008, at 8:02 AM, RJ45 wrote:
> the problem is that I would like internal clients to be into a bypass
> policy bank so that virus checks are bypassed.
> I tryed with default MYNETS policy bank.
> This does not work because I am using sendmail (And I need sendmail
> not
> postfix) and sendmail does not support XFORWARD extension.
> Is there a ways to bypass SMTP_AUTH users or internal network users to
> being virus checked by default ?
How is sendmail talking to amavisd?
If you are using amavisd-milter (by Petr Rohr) then it will set a
policy bank called SMTP_AUTH for smtp auth users, and you can disable
virus scanning like so:
$policy_bank{'SMTP_AUTH'} = {
originating => 1,
@bypass_virus_checks_maps = (0),
os_fingerprint_method => undef, # don't query p0f for internal
clients
};
--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source
and other randomness
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/