Charles Marcus
2012-Apr-05 12:59 UTC
[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
On 2012-04-05 4:18 AM, Thomas Leuxner <tlx at leuxner.net> wrote: > Also with 2.x you may want to use LMTP rather than the LDA Piping. > > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP I am preparing to convert my main client's postfix_courier-imap setup to dovecot 2.1, which currently just uses the postfix virtual delivery agent... Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is there any solution to get the original recipient added back in before final delivery? Everything I'm reading says that LMTP is better, but I really do need this header (or one like it) to be there so I know who the original recipient was (for filtering and other purposes). Thanks, -- Best regards, Charles
Daniel L. Miller
2012-Apr-06 18:53 UTC
[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
On 4/5/2012 5:59 AM, Charles Marcus wrote:> On 2012-04-05 4:18 AM, Thomas Leuxner <tlx at leuxner.net> wrote: > > Also with 2.x you may want to use LMTP rather than the LDA Piping. > > > > http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP > > I am preparing to convert my main client's postfix_courier-imap setup > to dovecot 2.1, which currently just uses the postfix virtual delivery > agent... > > Does anyone know if the use of LMTP (or even the dovecot LDA) still > loses the x-original-to header that the postfix vda adds and that I > rely heavily on (since I use a lot of aliases), and if it does, is > there any solution to get the original recipient added back in before > final delivery? > > Everything I'm reading says that LMTP is better, but I really do need > this header (or one like it) to be there so I know who the original > recipient was (for filtering and other purposes). >I'm currently using Postfix 2.7, Dovecot 2.1, and the Dovecot LDA. I have a pure virtual user environment stored in LDAP. My messages include X-Original-To and Delivered-To headers. I had difficulty getting the LMTP transport to work previously - I may revisit that. -- Daniel
Timo Sirainen
2012-Apr-09 07:33 UTC
[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
On 5.4.2012, at 15.59, Charles Marcus wrote:> Does anyone know if the use of LMTP (or even the dovecot LDA) still loses the x-original-to header that the postfix vda adds and that I rely heavily on (since I use a lot of aliases), and if it does, is there any solution to get the original recipient added back in before final delivery?LMTP adds a new Delivered-To: <rcpt-to at address> header when there is a single RCPT TO. You can force a single RCPT TO from Postfix side by setting lmtp_destination_recipient_limit=1. LMTP doesn't add/remove/change X-Original-To: header.
Reasonably Related Threads
- Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header
- Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP
- execvp /usr/local/libexec/dovecot/dovecot-lda: Permission denied
- Latest Dovecot v2.2.devel (9bc8d9b) crashes on login and lmtp
- Incorrect Responses on deliverable mails with LMTP server