Differences in "Delivered-To" header between deliver and LMTP

Charles Marcus CMarcus at Media-Brokers.com
Fri Jul 11 09:23:43 UTC 2014


On 7/10/2014 11:29 AM, Timo Sirainen <tss at iki.fi> wrote:
> On 9.7.2014, at 21.20, Jeff Rice <jeff at jrice.me> wrote:
>
>> I'm transitioning my server over from using the deliver LDA and LMTP.  Suddenly a bunch of sieve filters stopped working, and I noticed the contents of the Delivered-To header are different.
>>
>> Using Dovecot's deliver LDA, the contents are a bare email address (foo at bar.com).  Using Dovecot LMTP, they are in brackets (<foo at bar.com>).  Is there a reason why this isn't consistent between the two delivery agents?  It seems like it ought to be.
> Oh, that's annoying. Dovecot LDA doesn't actually add this header, it was your MTA that added it. But looks like I hadn't checked what the MTAs actually write to the header when I added this feature to LMTP, and nobody had mentioned this before either. I wonder if anybody's system breaks if I just change it now..

If you do this Timo, would you please also consider going ahead and 
adding the 20 or so lines of code you said it would take to also add 
support for the x-original-to header (this specific was in a private 
email to me while our support contract was active), as we discussed on 
this list - and you then discussed with Wietse, back in April or so of 2012:

http://dovecot.org/list/dovecot/2012-April/082585.html

Thanks!

Charles



More information about the dovecot mailing list