Hi Timo,

At 07:32 PM 12/8/2009, Timo wrote:
On Dec 8, 2009, at 7:01 PM, Richard Stockton wrote:

> Here is what we are using with 1.1.19:
>
> password_query = SELECT password, home as userdb_home, 5000 as userdb_uid,
> 5000 as userdb_gid FROM mailbox where userid = '%n'
>
> mail_location = maildir:/mail/%h:INDEX=MEMORY

So you're using relative home directories.

> Will this still work in 1.2?

No. Change it to:

password_query = .., '/mail/' || home as userdb_mail, ..

Then the mail_location in dovecot.conf will be completely ignored.

I assume you meant to have me change it to:
password_query = .., '/mail/' || home as userdb_home, ..
since there is no "mail" field in my DB table.

This does not appear to work in Dovecot 1.1.19.

Sadly, if I can't make a change that works for 1.1.19 as well as 1.2.x,
I will be unable to update at this time.

Please let me know if my assumptions about 1.1.19 vs 1.2.x are true.
Thank you.
 - Richard

Reply via email to