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.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.

Reply via email to