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....@example.com): Error: user foo....@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....@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....@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....@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....@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 \  /\/
beh...@omroep.nl, 035-6773555                         \/

Reply via email to