Thank Thomas For example :
Incoming mail : use the existing default policy bank (it has no name). This bank loads the settings in the config file (typically amavisd.conf). Outgoing mail : Postfix configuration in master.cf : 127.0.0.1:2525 inet n - n - - smtpd -o content_filter=amavisfeed:[127.0.0.1]:11025 -o smtpd_client_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.0/8 In amavisd.conf $inet_socket_port = [10024, 11025] $interface_policy{'11025'} = 'POLICY-OUT'; $policy_bank{'POLICY-OUT'} = { bypass_spam_checks_maps => [1], # don't spam-check outgoing mail bypass_banned_checks_maps => [1], # don't banned-check outgoing mail final_spam_destiny => D_PASS, # insure spam passes final_banned_destiny => D_PASS, # insure banned files pass }; But With this configuration penpals is use for outgoing mail? because With penpals the outgoing and the incoming mail must pass through amavisd regards Stan > On Mon, 23 Mar 2009 21:07:24 +0100, LEVEAU Stanislas wrote: > >> Hi, >> >> I use postfix with amavisd-new and penpals With penpals the outgoing and >> the incoming mail must pass through amavisd. It's OK for incoming with a >> content filter in postfix and a check in amavis with spamassassin and >> amavis. >> but for outgoing how to get outgoing mails only through penpals without >> antivirus and antispam in amavis? The solution it's a $policy_bank? >> > yes, 1 policy bank for incoming, one policy bank for outgoing. > > very good starting point for postfix & amavis: > http://www.ijs.si/software/amavisd/README.postfix.html > > - Thomas > > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > 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/ > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ 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/