[Dovecot] Can't expand ~ for mail root dir
Hi,
I am not an this list, I hope it gets through:
We just moved from dovecot-1.2.12 to dovecot-2.0.6.
One of our users wants his mail directly in his homedir which worked fine so far but with 2.0.6:
Nov 09 15:19:25 imap(foo.bar@example.com): Error: user foo.bar@example.com: Initialization failed: Initializing mail storage from mail_location setting failed: No home directory for system user. Can't expand ~ for mail root dir in: ~:INBOX=/e/ml/tech1/home/foo
from dovecot.conf:
userdb { args = /some/path/to/passwd driver = passwd-file }
passwd:
foo.bar@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:~:INBOX=/e/ml/tech1/home/foo
We've changed that for now:
foo.bar@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:/e/ml/tech1/home/foo:INBOX=/e/ml/tech1/home/foo
~/mail did work but was not desired by the user:
foo.bar@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:~/mail:INBOX=/e/ml/tech1/home/foo
~/ didn't work either:
foo.bar@example.com::1019:1019:Foo Bar:/e/ml/tech1/home/foo::userdb_mail=maildir:~/:INBOX=/e/ml/tech1/home/foo
--
Leo Baltus, internetbeheerder /
NPO ICT Internet Services /NPO/
Sumatralaan 45, 1217 GP Hilversum, Filmcentrum, west \ /\/
beheer@omroep.nl, 035-6773555 \/
On Tue, 2010-11-09 at 15:50 +0100, Leo Baltus wrote:
Nov 09 15:19:25 imap(foo.bar@example.com): Error: user foo.bar@example.com: Initialization failed: Initializing mail storage from mail_location setting failed: No home directory for system user. Can't expand ~ for mail root dir in: ~:INBOX=/e/ml/tech1/home/foo
Thanks, fixed: http://hg.dovecot.org/dovecot-2.0/rev/d1cf770dbef5
participants (2)
-
Leo Baltus
-
Timo Sirainen