[Dovecot] dovecot: lda(root): Fatal: Invalid user settings. Refer to

/dev/rob0 rob0 at gmx.co.uk
Sat Nov 17 03:58:55 EET 2012


On Fri, Nov 16, 2012 at 05:32:16PM -0800, Thufir wrote:
> On Fri, 16 Nov 2012 16:09:54 -0600, /dev/rob0 wrote:
> >The fix to this is simply not to deliver mail to root. You
> >should have aliased root to a mortal user. Postfix will not
> >invoke a mailbox_command as root.
> 
> Ah, thank you.  Not dovecot at all, makes sense.  I was sending
> to root because of a problem with keychain preventing usage of
> the "mail" command for users:
> 
> http://ubuntuforums.org/showthread.php?t=2065461
> 
> Anyhow, that's fixed so that I can now use the "mail" command as a
> mortal, as you put it.  I think I'm on my way, and that this is a
> postfix and not dovecot problem.  The mail doesn't arrive, but the
> log shows as delivered (I think) and then removed for some reason:

It was delivered and removed from the queue.

> thufir at dur:~$ telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> 220 dur.bounceme.net ESMTP Postfix (Ubuntu)
> HELO me
> 250 dur.bounceme.net
> mail from:<thufir at example.com>
> 250 2.1.0 Ok
> rcpt to:<thufir at localhost>
> 250 2.1.5 Ok
> data
> 354 End data with <CR><LF>.<CR><LF>
> subject: never arrives
> 
> postfix problem?
> .
> 250 2.0.0 Ok: queued as 3C8392A0007
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> thufir at dur:~$
> thufir at dur:~$ mail
> No mail for thufir

Your mail(1) MUA is not configured (or unable) to look in the place 
where the mail was, in fact, delivered.

> thufir at dur:~$ tail /var/log/mail.log
> Nov 16 17:19:04 dur postfix/smtpd[2975]: connect from localhost[127.0.0.1]
> Nov 16 17:19:32 dur postfix/smtpd[2975]: disconnect from localhost
> [127.0.0.1]
> Nov 16 17:19:36 dur postfix/smtpd[2975]: connect from localhost[127.0.0.1]
> Nov 16 17:20:06 dur postfix/smtpd[2975]: 3C8392A0007: client=localhost
> [127.0.0.1]
> Nov 16 17:20:48 dur postfix/cleanup[2985]: 3C8392A0007: message-
> id=<20121117012006.3C8392A0007 at dur.bounceme.net>
> Nov 16 17:20:48 dur postfix/qmgr[1521]: 3C8392A0007:
> from=<thufir at example.com>, size=336, nrcpt=1 (queue active)
> Nov 16 17:20:48 dur dovecot: lda(thufir):
> msgid=<20121117012006.3C8392A0007 at dur.bounceme.net>: saved mail to INBOX

Dovecot says it delivered it ...

> Nov 16 17:20:48 dur postfix/local[2988]: 3C8392A0007:
> to=<thufir at localhost>, relay=local, delay=55, delays=55/0.02/0/0.17,
> dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver -
> c /etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}")
> Nov 16 17:20:48 dur postfix/qmgr[1521]: 3C8392A0007: removed

... and duly reported this success to Postfix, which deleted it from 
the queue as a result.

> Nov 16 17:20:54 dur postfix/smtpd[2975]: disconnect from localhost
> [127.0.0.1]

Judging from your previous post where deliver tried to write to 
/root/Maildir/, I suppose your mail will be found in 
~thufir/Maildir/new/ .

Now Postfix is fine, Dovecot seems to be fine also. Your remaining 
issue is with "mail". If it's old BSD mailx, that is not very 
configurable. Consider other choices, such as mutt, alpine, or 
Heirloom mailx.
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:



More information about the dovecot mailing list