[Dovecot] SASL using different auth database?

Justin McAleer justin at fehuq.com
Fri May 11 19:11:47 EEST 2007


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 :)


More information about the dovecot mailing list