<snip /> -------- Original Message -------- Subject: Re: [Dovecot] Allow POP3 per Domain (13-Jan-2010 13:24) From: Robert Schetterer <[email protected]> To: [email protected]
> Am 13.01.2010 12:19, schrieb Hauke Hagedorn: > Hi I have pop3 and/or imap allowed per sql > > i.e > > password_query = SELECT username as user, password, \ > 1001 as userdb_uid, \ > 1001 as userdb_gid, \ > "/usr/local/virtual/%u/" AS userdb_home, \ > "maildir:/usr/local/virtual/%u/" AS userdb_mail \ > FROM mailbox WHERE username = '%u' AND active = '1' AND (imap_allowed = > '1' or '%Ls' = 'pop3') > > so you might adapt this to domain and your needs > > -- > Best Regards > > MfG Robert Schetterer > > Germany/Munich/Bavaria Hi Robert, thanks for your quick reply, i'll give that a try. i was so keen on finding a switch in the conf files, that i didn't think about solving that via the database. Actually I just found it in the docs - must have been blind... Best Regards Hauke
