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

Larry Rosenman larryrtx at gmail.com
Thu Jul 10 17:26:10 UTC 2014


There is no Delivered-To: in Exim, there is an "Envelope-To:" which is
added withOUT the
the angle-brackets(<>)

Return-path: <bo-b685yaba89pstxauy6speqcc659syz at b.emails.containerstore.com>
Envelope-to: parents at lerctr.org
Delivery-date: Thu, 10 Jul 2014 12:17:54 -0500

Does that help?


On Thu, Jul 10, 2014 at 10:54 AM, Jeff Rice <jeff at jrice.me> wrote:

> I don't know if there is a convention for whether the brackets should be
> included or not.  But consistency is a virtue.  The MTA in question is
> Postfix 2.9.6.  I assumed it was the Dovecot LDA adding the Delivered-To
> header because it was rewritten when I did a redirect in sieve, but
> redirect must put the message back into Postfix's queue where the header
> gets added (or replaced, in this case).
>
> Maybe other folks can chime in if they see emails in brackets (<>) or not
> for this type of header for other MTAs and we can get a sense of which is
> more common.
>
> Jeff
>
>  Timo Sirainen <mailto:tss at iki.fi>
>> July 10, 2014 at 11:29 AM
>>
>>
>> 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..
>>
>> Jeff Rice <mailto:jeff at jrice.me>
>> July 9, 2014 at 2:20 PM
>> Hi,
>>
>> 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.
>>
>> Jeff
>>
>


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx at gmail.com
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688


More information about the dovecot mailing list