[Dovecot] pop3 quick question

Timo Sirainen tss at iki.fi
Sat Feb 6 17:15:09 EET 2010


On Sat, 2010-02-06 at 16:00 +0200, Nikita Koshikov wrote:

> I have found imap_allowed option in dovecot 

There's no such option in Dovecot. If you mean from
http://wiki.dovecot.org/Authentication/RestrictAccess :

password_query = SELECT password FROM users WHERE userid = '%u' and
(imap_allowed = true or '%Ls' = 'pop3') 

You can do the same for both IMAP and POP3 with:

password_query = SELECT password FROM users \
  WHERE userid = '%u' and \
  (imap_allowed = true or '%Ls' != 'imap') and \
  (pop3_allowed = true or '%Ls' != 'pop3') 

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


More information about the dovecot mailing list