Does SPF remove some lines of header?

Asked by Naoki

Hi team,

I use pypolicyd-spf-1.3.2, and applied to Postfix 2.6.6-6.
since I applied it, I found the difference in header.

The following lines are removed.
"In-Reply-To"
"References"
Do anybody have idea about this problem?

I really appreciate for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
pypolicyd-spf Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Scott Kitterman (kitterman) said :
#1

It's not possible for any policy server to cause that to happen. All it can do is cause a message to be rejected, deferred, or accepted and if accepted have a new header field added. I don't know what is causing your problem, but the interface we use with postfix does not permit that kind of modification.

Revision history for this message
Naoki (mi3ku9ni27) said :
#2

Thank you for your answer.
Though, I found the only difference between removed or not is on / off of SPF module.
If I comment out
    policy-spf unix - n n - 0 spawn
      user=nobody argv=/usr/bin/python /usr/bin/policyd-spf /etc/python-policyd-spf/policyd-spf.conf
from master.cf, and
    smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,check_policy_service unix:private/policy-spf
    policy-spf_time_limit = 3600
from main.cf, the header won't be removed.

I'm really got in trouble. I know that it shouldn't be removed by SPF module, but it is removed.
Could you please give me an idea?

Revision history for this message
Scott Kitterman (kitterman) said :
#3

It's not just that it shouldn't be, it can't be. The interface that the policy server uses can't remove header fields. You are using a really old version of postfix. You might check if there are any related changes in a later version.

Can you help with this problem?

Provide an answer of your own, or ask Naoki for more information if necessary.

To post a message you must log in.