Actually, LMTP inet listener is only used for delivery purpose. I separated the MTA and the MDA on distinct hosts. Incomming mails are received by the MTA which proceed to some check (anti-virus, spams, and aliases) and transport them to the MDA with LMTP.
Maybe I misunderstood something, but i don't see why LMTP is involve in a sieve forwarding process (or stuff like non delivery mail return) . According to comments in the "15-lda.conf" file :
# Binary to use for sending mails.
#sendmail_path = /usr/sbin/sendmail
# If non-empty, send mails via this SMTP host[:port] instead of
sendmail.
submission_host = smtp.mydomain.tld
If you don't use the 'submission_host' option, dovecot will forward mail with '/usr/sbin/sendmail' binary which use the forwarders you tell it to use, am i right ?
Regards,
Raphael
Le 26/10/2012 11:00, Thomas Leuxner a écrit :
On Fri, Oct 26, 2012 at 10:51:52AM +0200, Raphael Ordinas wrote:
service lmtp { inet_listener lmtp { address = 172.0.0.1 port = 2525 } }
Right, so you are using network sockets with LMTP. Probably does not answer the question why it is not working with the 'submission_host', but is there a reason why the redirects are not reinjected this way?
submission_host = smtp.mydomain.tld
Regards Thomas