[Dovecot] Dovecot deliver and IMAP - separate user db queries possible?

Timo Sirainen tss at iki.fi
Sat Jan 2 00:55:50 EET 2010


On 1.1.2010, at 2.24, Michael wrote:

> How can I get deliver LDA and IMAP to use separate user DB SQL queries?

Currently you can't really. But there's %s variable that expands to either imap or lda. You could do some kind of conditional checking with it. For example:

select imap-stuff, .. where '%s' = 'imap' and ..
union
select lda-stuff, .. where '%s' = 'lda' and ..



More information about the dovecot mailing list