Steve Fairhead <st...@fivetrees.com> writes: > Hi folks,
Hi, > 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" Note that this is now merely a symlink to /usr/local/libexec/dovecot/dovecot-lda. > 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. I use the dovecot, just to fill and access my maildir (no listener or auth involved), with ''dovecot-lda -kc conffile'' from my .forward. It uses the environment to expand my ~/Maildir path, and userdb { driver = passwd } (just to avoid spam about disabling the duplicates database). -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE