[Dovecot] Feature Request - Different SQL queries to retrieve pop and imap auth tokens

Timo Sirainen tss at iki.fi
Tue Dec 20 11:27:13 EET 2005

On Tue, 2005-12-20 at 10:20 +0100, Max CtRiX wrote:
> Hi!
> I world like to have different queries to let a user use pop only or 
> imap only (webmail) accounts.
> It would really be very useful.
> I have not found any workaround get it working with dovecot.
> Could it be possible ? It should not be too difficult, I suppose.

Something like:

where .. and (service is null or service = '%s')

So if you want only imap/pop3, set service to "IMAP" or "POP3".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20051220/a1e7a432/attachment.pgp

More information about the dovecot mailing list