[Dovecot] After upgrading to 1.2 - absolute path questions

Timo Sirainen tss at iki.fi
Wed Dec 9 05:32:48 EET 2009


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.



More information about the dovecot mailing list