On Wednesday 08 October 2008 00:52:10 Noel Jones wrote: > Wietse Venema wrote: > > The SMTP client's source IP address is controlled with smtp_bind_address, > > otherwise it is inherited from inet_interfaces (when this specifies > > one non-localhost IP address). > > > > However, making the IP address dependent on the sender domain is > > not yet implemented. This it requires a sender-dependent transport > > map. > > > > Wietse > > Will the FILTER action accept an empty nexthop?
It seems it does not (at least not correctly). If the nexthop is empty, it seems to assume the local host (which of course leads to "mail loops to myself" if the recipient domain is not handled by postfix). We tried to achieve exactly what the OP wants, and came to this result today. It does work if one specifies the nexthop (which is not possible, obviously, for random recipients). > If so, maybe OP can use a check_sender_access table that > returns eg. "FILTER smtp-23:" with a corresponding smtp-23 > transport defined in master.cf (with -o > smtp_bind_address=x.x.x.23). > > NB. this will probably blow up if the recipient is local. Any other possibilities? -- Software Developer ------------------------------------------------------ Inxmail GmbH Wentzingerstr. 21, 79106 Freiburg, Germany Tel: +49 761 296979-0, Fax: -9 [EMAIL PROTECTED], www.inxmail.de Handelsregister Freiburg, HRB 5870 Ust.-ID: DE198371679 Geschäftsleitung: Martin Bucher, Peter Ziras ------------------------------------------------------ Inxmail Professional kostenlos testen: http://www.inxmail.de/jetzt-testen Tipps und Tricks für E-Mail-Marketers: http://www.inxmail.de/newsletter