Gabor, > Changelog writes: > > | What's new in amavisd-new 2.6.3: > | - added a configuration variable @client_ipaddr_policy, which maps smtp > | client's IP address lookup lists to a policy bank name. > > In this context what does "client" mean? So far I thought it is the > MTA that passes mail to check to amavisd-new. However it seems that > Postfix somehow forwards the address of its SMTP client and amavisd > select policy bank upon this information.
Indeed, it is the IP address of a sending host, passed by Postfix to amavisd via XFORWARD command in the SMTP protocol. > I have more than one MTAs using a common spamfilter infrastructure. > Is there any way to configure amavisd to choose policy bank by > address of these MTAs or I have to make this decision on > port number? (When every MTA sends mail on different ports of course). True, you'd need to associate policy banks with port numbers and let each MTA submit to amavisd on a different port number, if you need to distinguish between them. It would be possible to achieve similar through custom hooks, but unless you have very many MTAs, the port-per-MTA approach is the simplest. Mark ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org