Bug 1138206 - "HELO_reject = SPF_Not_Pass" is plain wrong
Summary: "HELO_reject = SPF_Not_Pass" is plain wrong
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pypolicyd-spf
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Bojan Smojver
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-04 09:37 UTC by Harald Reindl
Modified: 2014-10-17 17:38 UTC (History)
1 user (show)

Fixed In Version: pypolicyd-spf-1.3.1-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-11 06:54:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Harald Reindl 2014-09-04 09:37:04 UTC
"HELO_reject = SPF_Not_Pass" is a plain wrong default, see below

"Mail_From_reject = Fail" is correct and the same value has to be default for "HELO_reject" because otherwise you reject legit mail - in that case it was a order confirmation

http://www.openspf.org/Why?s=helo;id=mail.template-help.com;ip=69.65.10.164

The domain mail.template-help.com has declared using SPF that it does not send mail through mail.template-help.com (69.65.10.164). However, the domain is still testing its SPF policy, so the message !!! should not have been rejected !!!

Comment 1 Bojan Smojver 2014-09-04 11:09:29 UTC
Version 1.3.1 has this config:
--------------
#  For a fully commented sample config file see policyd-spf.conf.commented

debugLevel = 1 
defaultSeedOnly = 1

HELO_reject = SPF_Not_Pass
Mail_From_reject = Fail

PermError_reject = False
TempError_Defer = False

skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
--------------

Which is the same as 1.2, as is used in Fedora. Maybe you need to ask upstream to change defaults?

Comment 2 Harald Reindl 2014-09-04 11:13:40 UTC
i have fixed that for our servers in the config, it's wrong given the message from openspf.org saying "should not have been rejected" where the sender get the bounce and click on the link says "and why do they reject and link my to a page explaining they should not"

you can ignore that report, fix it for future Fedora users and/or ask upstream

the intention of the bugreport was to prevent future users from the complaint i got yesterday from by boss and he was right :-)

Comment 3 Bojan Smojver 2014-09-04 23:15:39 UTC
Anyway, I did build:

https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-1.fc20

So, give it a try in any event.

Comment 4 Fedora Update System 2014-10-01 03:32:27 UTC
pypolicyd-spf-1.3.1-2.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-2.el7

Comment 5 Fedora Update System 2014-10-01 03:32:34 UTC
pypolicyd-spf-1.3.1-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-2.el6

Comment 6 Fedora Update System 2014-10-01 03:32:39 UTC
pypolicyd-spf-1.3.1-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-2.fc21

Comment 7 Fedora Update System 2014-10-01 03:32:44 UTC
pypolicyd-spf-1.3.1-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-2.fc19

Comment 8 Fedora Update System 2014-10-01 03:32:51 UTC
pypolicyd-spf-1.3.1-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pypolicyd-spf-1.3.1-2.fc20

Comment 9 Fedora Update System 2014-10-01 17:18:19 UTC
Package pypolicyd-spf-1.3.1-2.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pypolicyd-spf-1.3.1-2.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3033/pypolicyd-spf-1.3.1-2.el7
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2014-10-11 06:54:35 UTC
pypolicyd-spf-1.3.1-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2014-10-11 06:59:00 UTC
pypolicyd-spf-1.3.1-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2014-10-11 07:01:12 UTC
pypolicyd-spf-1.3.1-2.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-10-17 17:38:27 UTC
pypolicyd-spf-1.3.1-2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2014-10-17 17:38:58 UTC
pypolicyd-spf-1.3.1-2.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.