[Dovecot] How to troubleshoot LDA or LMTP?

Joseph Tam jtam.home at gmail.com
Tue Aug 6 01:34:44 EEST 2013


John Williams writes:

> *What doesn't work*  I thought the next step would be to execute
> dovecot-lda manually (as is suggested on the wiki and in numerous
> newsgroup posts), but I can't figure out how to do this. When I execute
> it as root and provide my non-root username via the -u option, it
> hangs.  I can see that it spawns a child process that executes as the
> non-root user (specified with the -u option).  So, could someone tell
> how to execute dovecot-lda manually please?

Maybe use "-d"?

I had no trouble invoking

 	dovecot-lda -c config-file -d user < mailfile

If it doesn't work for you, I suggest process tracing it.

> Also, when does LMTP process messages?  When sending mail via SMTP, or
> when reading mail via IMAP?  I would prefer to use LMTP rather than
> LDA.

The former.

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list