Hi there, Firstly, thanks for the great software. I am just wondering if it is possible to configure dovecot to use different authentication configurations for the imap and pop processes. Specifically, I am looking to use a different SQL query for each process. Kind regards, Roger -- ------------------------------------------------------------- Ninth Avenue Software p: +61 7 3870 8494 f: +61 7 3870 8491 _ _ _ m: +61 405 048 371 __(@)< __(@)> __(@), w: http://www.ninthave.net \___) \___) \___) e: r.keays at ninthave.net ------------------------------------------------------------- Send your spam to Sam sam at ninthave.net http://www.ninthave.net/sam
Timo Sirainen
2004-May-24 18:27 UTC
[Dovecot] different auth configuration for pop and imap
On Mon, 2004-05-24 at 16:24, Roger Keays wrote:> I am just wondering if it is possible to configure dovecot to use different > authentication configurations for the imap and pop processes. Specifically, I am > looking to use a different SQL query for each process.Sorry, not really. With 0.99.10 pretty much the only choice is to run two dovecot processes with separate configuration files. With 1.0-tests it's possible to create two server configurations in single config file. But I think the best solution would be if there was a %p variable which expanded to IMAP or POP3 so you could could do something like WHERE user = '%u' and protocol = '%p'. I'll see if I can get that done now. -------------- 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/20040524/b9e341d6/attachment-0001.bin>