| |||||||||||||||||||||||||||||
|
Hello, we try to use thre different policy banks for thre instances of amavis. amavisd.conf: $interface_policy{'10024'} = 'EXTERNAL'; $interface_policy{'10040'} = 'RELAY'; $interface_policy{'10044'} = 'AUTH'; The RELAY instance gets mails from another relay. These mail have already been checked for viruses and sorts out spam. The EXTERNAL instance perfoms a spam and virus check and the AUTH instance neither does a spam nor a virus check. In the postfix main.cf are the following lines: content_filter = smtp-amavis:[127.0.0.1]:10044 smtpd_recipient_restrictions = check_client_access cidr:/usr/local/etc/postfix/filter-myrelay.cidr, permit_sasl_authenticated, reject_unauth_destination, check_sender_access regexp:/usr/local/etc/postfix/filter-catchall.regexp with filter-myrelay.cidr: 196.168.10.10 FILTER smtp-amavis:[127.0.0.1]:10040 and filter-catchall.regexp: /^/ FILTER smtp-amavis:[127.0.0.1]:10024 Our problem is that the RELAY and EXTERNAL policies are both triggered: Sep 18 15:33:43 mailserver1 postfix/smtpd[53615]: NOQUEUE: filter: RCPT from relay.foo.bar[196.168.10.10]: <relay.foo.bar[196.168.10.10]>: Client host triggers FILTER smtp-amavis:[127.0.0.1]:10040; from=<pointeriulian> to=<foo> proto=ESMTP helo=<relay.foo.bar> Sep 18 15:33:43 mailserver1 postfix/smtpd[53615]: NOQUEUE: filter: RCPT from relay.foo.bar[196.168.10.10]: <pointeriulian>: Sender address triggers FILTER smtp-amavis:[127.0.0.1]:10024; from=<pointeriulian> to=<foo> proto=ESMTP helo=<relay.foo.bar> Why? Can anyone help? Thanks, S. _________________________________________________________________ Buy what you want when you want it on Sympatico / MSN Shopping http://shopping.sympatico.msn.ca/content/shp/?ctId=2,ptnrid=176,ptnrdata=081805 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ AMaViS-user mailing list AMaViS-user https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
| ||||||||||||||||||||||||||||
© 2004-2010 readlist.com