11 May
2007
11 May
'07
7:11 p.m.
Timo Sirainen wrote:
On Fri, 2007-05-11 at 11:39 -0400, Justin McAleer wrote:
If you can assign two IPs to the server, one for SMTP, and one for POP/IMAP, and you can use a SQL backend, you could craft your db schema and queries to pull the appropriate password based on the local IP of the connection. I know this isn't exactly what you were looking for, but I figured I would throw it out there anyway.
Probably an easier way to do that is to use %s which expands to smtp, imap or pop3.
Doh! I went the route I did because we will be using the local IP to support userid-only logins (many domains), so I was familiar with that variable. Indeed this is much better :)