Proskurin Kirill
2009-Dec-08 09:48 UTC
[Dovecot] After upgrading to 1.2 - absolute path questions
Hello. I have this: /usr/local/etc/dovecot.conf: mail_location = maildir:/var/spool/dovecot/domains/%d/%n /usr/local/etc/dovecot-ldap.conf: user_attrs = mailQuotaSize=quota_rule=*:storage=%$M ,=uid=1002,=gid=1002,=home=/var/spool/dovecot/domains/%d/%n Two absolute paths seems to it is not right(but it works good...) Right way will be: mail_location = maildir:%d/%n =home=/var/spool/dovecot/domains/ ? -- Best regards, Proskurin Kirill
Timo Sirainen
2009-Dec-08 15:26 UTC
[Dovecot] After upgrading to 1.2 - absolute path questions
On Dec 8, 2009, at 4:48 AM, Proskurin Kirill wrote:> /usr/local/etc/dovecot.conf: > mail_location = maildir:/var/spool/dovecot/domains/%d/%n > > /usr/local/etc/dovecot-ldap.conf: > user_attrs = mailQuotaSize=quota_rule=*:storage=%$M ,=uid=1002,=gid=1002,=home=/var/spool/dovecot/domains/%d/%n > > Two absolute paths seems to it is not right(but it works good...)With the LDAP home you could use: mail_location = maildir:~/ Although I wouldn't recommend using maildir = home, better would be: mail_location = maildir:~/Maildir http://wiki.dovecot.org/VirtualUsers/Home
Richard Stockton
2009-Dec-09 00:01 UTC
[Dovecot] After upgrading to 1.2 - absolute path questions
Hi Timo, Okay, I'm confused now... 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 The "/mail/" dir contains 26 NFS mounted partitions. Will this still work in 1.2? I have been holding off upgrading because it sounded like I would have to add the "/mail/" prefix to all the "home" directories in my user DB, and with 5 instances of Dovecot running off the same DB, I would have to shut down the pop/imap servers for the upgrade, something that would NOT make my boss happy. However, if I can leave the configs and the database as they are, the update will not be a big problem. Please let me know if I can use the old configs with Dovecot 1.2.x, I would love to be using the latest and greatest. And BTW, thanks again for all your hard work, Dovecot is a wonderful piece of software, and we really appreciate it! - Richard