Re: [exim-dev] [PATCH] spool_mbox cleanup

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Tom Kistner, exim-dev
Subject: Re: [exim-dev] [PATCH] spool_mbox cleanup
Tom Kistner wrote:

>> ok, but spool_mbox has nothing to with received headers, so I wonder why
>> Tom used received_for there, when $recipients is available and doing the
>> right thing.
>
> SA can pull some information from Received: headers. Exim only adds its
> own Received: header after all ACL processing, where it was too late for
> SMTP-inline SA to pick it up. I "solved" the problem by adding a fake
> "preliminary" Received: header to the mbox spool file. I don't remember
> where I got the expansion template from, but I didn't invent it myself :)


Hmm, spool_mbox didn't add a Received: header, only the two mentioned
X-Envelope-From: and X-Envelope-To:. But AFAICT and accordingly to
anyone else, it isn't possible to add the X-Envelope-From as you tried
to do it, as the needed information isn't there at this moment, unless
we add the recipient-list. :)

Nico