[Dovecot] different auth configuration for pop and imap
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@ninthave.net
Send your spam to Sam
sam@ninthave.net
http://www.ninthave.net/sam
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.
participants (2)
-
Roger Keays
-
Timo Sirainen