[Dovecot] How to seperate pop3 and imap user lookup?

Zhang Huangbin zhbmaillistonly at gmail.com
Wed Jun 18 08:34:44 EEST 2008


Timo Sirainen wrote:
> On Wed, 2008-06-18 at 13:05 +0800, Zhang Huangbin wrote:
>   
>> Hi, all.
>>
>> I have two column in MySQL user table:
>>
>> - enablepop (NOT NULL default '1')
>> - enableimap (NOT NULL default '1')
>>
>> How can i config dovecot to seperate pop user lookup and imap user lookup?
>>     
>
> Use %s which expands to IMAP or POP3 in the query. See
> http://wiki.dovecot.org/Variables for list of all variables.
>
>   
Got it. Thanks Timo. :)


-- 
Best Regards.

Zhang Huangbin

- Mail Server Solution for Red Hat(R) Enterprise Linux & CentOS 5.x:
  http://rhms.googlecode.com/



More information about the dovecot mailing list