Add ability to add no header in addition to choosing SPF Received or AR
Bug #1531724 reported by
Scott Kitterman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pypolicyd-spf |
Fix Released
|
Wishlist
|
Scott Kitterman |
Bug Description
Hi team,
I'm using pypolicyd-spf 1.3.2 and Postfix 2.6.6.
I don't want to prepend messages like following.
Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-
Though, I want to log the result of SPF in maillog.
Could you help me solving this matter?
Changed in pypolicyd-spf: | |
importance: | Undecided → Wishlist |
Changed in pypolicyd-spf: | |
status: | New → Triaged |
Changed in pypolicyd-spf: | |
milestone: | none → 2.0 |
Changed in pypolicyd-spf: | |
assignee: | nobody → Scott Kitterman (kitterman) |
status: | Triaged → In Progress |
Changed in pypolicyd-spf: | |
status: | In Progress → Fix Committed |
Changed in pypolicyd-spf: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I could stop prepending message to header by editting policyd-spf like following
# diff ./policyd-spf.after ./policyd-spf
448,449c448
< header = ''
< # header = 'Received-SPF: '+ helo_result[0] + ' (' + helo_result[1] +') ' + spfDetail
---
> header = 'Received-SPF: '+ helo_result[0] + ' (' + helo_result[1] +') ' + spfDetail
557,558c556
< header = ''
< # header = 'Received-SPF: '+ mfrom_result[0] + ' (' + mfrom_result[1] +') ' + spfDetail
---
> header = 'Received-SPF: '+ mfrom_result[0] + ' (' + mfrom_result[1] +') ' + spfDetail
However, I see warning message in maillog by editting like this. smtpd[30101] : warning: access table unix:private/ policyd- spf entry "policy query" requires header: text
postfix/
Do anyone have idea with this?