So that's why I am seeing headers that are not present in the delivered
e-mail. ALL-INTERNAL has three headers: a simple Received, an
X-Envelope-To, and an X-Envelope-From. All three seem made up.
What a dick move from spamass-milter's part. I have to read up on it a bit.

Elod G

On 11/19/2015 10:59, Matus UHLAR - fantomas wrote:
> On 18.11.15 22:36, RW wrote:
>> Do you mean that it works in the milter on new mail without a
>> pre-exiting Received-SPF header?
>>
>> For it to work the SPF header presumably needs to be above the MX
>> Received header. From what you've written it works correctly when
>> rescanning delivered mail, but not in the milter, unless external
>> headers are allowed. That suggests that the SPF header and the Received
>> header are in the opposite order in the milter copy compared with the
>> final delivered version. I don't know much about Postfix; is that
>> possible?
>
> From what I know, the locally added Received: header is not visible in
> milter and the spamass-milter must fake it. Therefore, if Received-SPF
> exists, the Received: is prepended before it, which explains the issue.
>

Reply via email to