Marius Stan
2005-Jan-13 13:42 UTC
[Dovecot] using separate authentication based on protocol
Hello, I wonder if it's possible to use a different query for authenticating users against the mysql db based on the protocol used: IMAP or POP3. This could come handy for not allowing my users who switched to IMAP from accidentally getting all their mail through a POP3 connection. Using dovecot-0.99.10 here. Marius
Timo Sirainen
2005-Jan-13 13:44 UTC
[Dovecot] using separate authentication based on protocol
On Thu, 2005-01-13 at 15:42 +0200, Marius Stan wrote:> I wonder if it's possible to use a different query for authenticating > users against the mysql db based on the protocol used: IMAP or POP3. > This could come handy for not allowing my users who switched to IMAP > from accidentally getting all their mail through a POP3 connection. > Using dovecot-0.99.10 here.Not with 0.99.x, but with 1.0-tests it's possible to use %s in SQL query which expands to POP3 or IMAP. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050113/f4aa45df/attachment-0001.bin>