[Dovecot] SASL using different auth database?
Hi folks. Is it possible to configure Dovecot to authenticate
against one mechanism (i.e., /etc/passwd) for POP/IMAP connections,
while providing a SASL authentication socket that satisfies
authentication requests against a different mechanism, say MySQL?
The goal here is to allow users to have different passwords for
SMTP authentication and POP/IMAP connections. I am converting an
existing installation to Dovecot...this installation currently has
quite a few users who are configured with SMTP authentication (Cyrus
SASL/saslauthdb) using different passwords than are configured for
their POP connections (via cucipop, /etc/passwd). If someone can
think of any better way to accomplish this goal, I'm all ears.
Thanks,
-Dave
-- Dave McGuire Port Charlotte, FL
Timo Sirainen 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.
participants (3)
-
Dave McGuire
-
Justin McAleer
-
Timo Sirainen