[Dovecot] pop3 quick question

Nikita Koshikov koshikov at gmail.com
Sat Feb 6 17:58:34 EET 2010


On Sat, 06 Feb 2010 17:15:09 +0200
Timo Sirainen <tss at iki.fi> wrote:

> 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') 
> 

Thanks, I'll look at postlogin script assistance for my issues. 


More information about the dovecot mailing list