Hi folks,
I'm preparing a new machine (OpenBSD 5.5, Dovecot 2.2.10) to replace an
elderly but venerable (OpenBSD 4.3, Dovecot 1.0.10) mailserver. Access
from mail clients to the IMAP Maildirs is working fine (so it's not an
auth issue, I think), but local mail delivery (to/from system users) is
failing. The maillog shows this:
May 4 12:03:10 hglserver-test1 dovecot: lda(steve): Error: user steve:
Initialization failed: Namespace '': Home directory not set for user.
Can't expand ~/ for mail root dir in: ~/Maildir
May 4 12:03:10 hglserver-test1 dovecot: lda(steve): Fatal: Invalid user
settings. Refer to server log for more information.
May 4 12:03:10 hglserver-test1 sendmail[5139]: s440WjIS026017: to="|
/usr/local/libexec/dovecot/deliver", ctladdr=steve (1000/1000),
delay=10:30:25, xdelay=00:00:00, mailer=prog, pri=2269378, dsn=4.0.0,
stat=Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL
The configuration for mail location is:
mail_location = maildir:~/Maildir
and again, mail clients can see this. I'm using sendmail with .forward
files calling the LDA as documented in the Dovecot wiki:
"| /usr/local/libexec/dovecot/deliver"
where dovecot/deliver is a stock symlink to dovecot-lda. The
conf.d/15-lda.conf file is stock, which appears correct to me.
I've searched and searched for clues; the lack of relevant results in
e.g. Google leads me to the humbling conclusion that I'm doing something
monumentally stupid. Any cluebats gratefully accepted.
Steve