How to debug lmtpd?

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Jan 4 08:07:25 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 1 Jan 2016, Kamil Jońca wrote:

> 1. I have dovecot installation with lmtp
> 2. there are some sieve filter which call mailpost to put mails in my
> news server.
> 3. SOME mails are not mailposted :( I do not know why. Moreover these
> mails filtered by dovecot-lda ARE mailposted whit the same sieve filter.
> 4. How can I debug lmtp and it's descendant processes? strace -ff  only?

you can run ./libexec/dovecot/lmtp
from command line, then speak "LMTP". Setup the environment accordingly.

Dunno if http://wiki2.dovecot.org/Tools/Doveadm/Exec helps you setting up 
the user correctly.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVoooPnz1H7kL/d9rAQJ57wf/erj8/6Sk/Okv1HyQ6spdm/vzMynQu4GZ
+MjmfxH+IzvYDy4zwCiGRsb6PJgUG5x0PhvU9xqroCdORiN6AzGR7aSS5BMfRdoc
MX7BvFLugmEed+DwwzMub5GhILxzINBCTSX+kGesgk9dzKI90v98Vf8Nq5ynIQed
iQ2UlJzmTWSHHjZicmhpMZwQgXypok8CxFlcuOi3WLyOcoMldH8nJZURam9RfHTs
msgMD59O9hNDpLk3DJR78Yu226Kszw1SKk9q48va9Mbp+hz5CCaLywEvq2BF5xGN
NOkau2cdgm8U+nHEtMLUBfdhLycGS0Yu8CGeceudM3TvzemMqeogGw==
=4BC8
-----END PGP SIGNATURE-----


More information about the dovecot mailing list