On Sep 18, 2014, at 20.17, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:

> On Thu, Sep 18, 2014 at 07:51:53PM -0400, btb wrote:
> 
>> From: postmas...@phonesrv.example.com
>> To: "VOICE/1nnn5551212"@phonesrv.example.com
> 
> Is that the address or the "display name"?  What is the content
> of the complete "To:" header as stored in the mailbox (rather
> than displayed by some MUA).

is direct imap output [see below] sufficient?  it’s a bit more convoluted to 
retrieve the content directly from disk, but i can do that if need be.

a FETCH 17 BODY[HEADER]
* 17 FETCH (BODY[HEADER] {1470}
Received: from mfa.example.com (LHLO localhost) (10.3.70.9) by
 mda.example.com with LMTP; Thu, 4 Sep 2014 08:42:49 -0400 (EDT)
X-Virus-Scanned: amavisd-new at example.com
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9]
        autolearn=ham autolearn_force=no
X-Amavis-OS-Fingerprint: MYNETWORKS, [10.36.40.26]:36290
Received: from mta1.example.com ([10.3.70.5])
        by localhost (mfa.example.com [10.3.70.9]) (amavisd-new, port 11024)
        with LMTP id Me79vjYqeOyN; Thu,  4 Sep 2014 08:42:44 -0400 (EDT)
Received: from mta.systems.example.com (mta.systems.example.com [10.36.40.26])
        by mta1.example.com (Postfix) with ESMTPS id 3hphW80tp5zJmqq;
        Thu,  4 Sep 2014 08:42:44 -0400 (EDT)
Received: from phonesrv.example.com (phonesrv.example.com [10.25.40.1])
        (using TLSv1 with cipher RC4-MD5 (128/128 bits))
        (No client certificate requested)
        by msa.systems.example.com (Postfix) with ESMTPSA id 3hphW80SZrzyQn
        for <VOICE/pnnn5551...@phonesrv.example.com>; Thu,  4 Sep 2014 08:42:44 
-0400 (EDT)
From: postmas...@phonesrv.example.com
To: "VOICE/pNNN5551212"@phonesrv.example.com
Date: Thu, 4 Sep 2014 08:42:44 -0400
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="9B095B5ADSN=_01CF6F07A968860C000000D6phonesrv.example.co"
X-DSNContext: 7ce717b1 - 1196 - 00000002 - 00000000
Message-ID: <l1c00gozo00000...@phonesrv.example.com>
Subject: Delivery Status Notification (Failure)
a OK FETCH completed

Reply via email to