[Dovecot] Dovecot LDA/LMTP vs postfix virtual delivery agent and the x-original-to header

Daniel L. Miller dmiller at amfes.com
Fri Apr 6 21:53:31 EEST 2012


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



More information about the dovecot mailing list