OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
sender_dependent_transport_maps

From: Daniel Kauffman (daniel.kauffmanrocksolidsolutions.org)
Date: Sat Mar 01 2008 - 05:36:01 CST


Are there plans to implement sender_dependent_transport_maps, or does
similar functionality already exist?

I would like to set myhostname and smtp_bind_address for each sender
domain. This would allow mail from each sender domain to originate from
a unique ip address for that sender domain. One of the benefits is that
if one of my clients ends up on a blacklist, none of my other clients
are affected. Also, such a setup makes it easy to track bandwidth usage
by ip address.

Here is a proposed configuration...

In main.cf:

   sender_dependent_transport_maps = sender_dependent_transport_maps.cf

In sender_dependent_transport_maps.cf:

   sender.com sendertransport:nexthop

In master.cf:

   sendertransport unix - - n - - smtp
        -o myhostname=sender.com
        -o smtp_bind_address=0.0.0.0

Pointers to existing wheels are greatly appreciated!

Thanks!

Daniel Kauffman