On Fri, Nov 25, 2011 at 02:58:56PM -0600, David E. Smith wrote:
I'm sure this is a newbie-level question, but I
can't find it clearly
answered in the docs or example configurations.
Assuming a single instance of Perdition is bound to multiple IP addresses,
can Perdition rewrite requests based solely on what IP address receives a
login request?
I'm replacing an old mail system where each domain has a separate IP
address, and there are multiple instances where folks have the same
username and password on different domains. Their mail clients are often
configure with a user name of 'bob' as opposed to 'bob(a)domain.com'com', so I
really need the IP address in addition to the username/password to figure
out where a connection should go.
I know I could get around this by having multiple instances of Perdition,
each bound to a separate IP address, but there are about 40 domains (and 40
IPs) involved in this process. If there's an easier way to do it, I'd love
to avoid having all those nearly-identical configuration files floating
around, waiting to confuse me.
Hi David,
I believe that the query-key option is what you are after.
It should allow you to use the IP address that the client connect to
as one of the keys for the popmap lookup.