RJ45 wrote: > Hello, > I am using amavisd-new 2.5.3 on RHEL5 > > the problem is that I would like internal clients to be into a bypass > policy bank so that virus checks are bypassed.
Hmmm... maybe a bad idea to skip A/V checks? Spam checks ok, but A/V checks? You're not worried about infected systems? > 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. But sendmail is serviced via pickup. See: http://groups.google.com/group/list.postfix.users/browse_thread/thread/bb328f33d6eac7cb/c9f70efe1393c8be?lnk=gst&q=pickup+content_filter#c9f70efe1393c8be This allows you to configure another amavis listener port, which can be the policy bank you desire (eg. TRUSTED). > Is there a ways to bypass SMTP_AUTH users or internal network users to > being virus checked by default ?. Sure: Setup submission service in postfix, and have its content_filter port 10026 (for example): ... -o content_filter=smtp-amavis:[127.0.0.1]:10026 and in amavisd.conf, create a policy bank and listener port: $inet_socket_port = [10024,10026]; # listen on multiple TCP ports $interface_policy{'10026'} = 'SASLAUTH'; $policy_bank{'SASLAUTH'} = { # mail originating from SASL users originating => 1, # mail was submitted by our smtp client bypass_spam_checks_maps => [1], # don't spam scan bypass_virus_checks_maps => [1], # don't virus scan ... }; As above, you can set your MYNETS policy bank to avoid what scanning you desire as well. These will skip checks for your networks and sasl-auth'd. This should get your rolling... MrC > > thank you > > Rick > > > ------------------------------------------------------------------------- > 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/ ------------------------------------------------------------------------- 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/
