Page 1 of 1

enable postfix spf checks

Posted: 11 Jun 2024 00:48
by mattch
Hello!

How to enable postfix spf checks? instead of spamassassin. Spoofers see efa accepting the email and wont stop. Prior I was using the external/internal_sender_access but somebody here is trying to send emails from mailchimp :roll: .

I went to install pypolicyd-spf and was met with:

Code: Select all

Error: Transaction test error:
  file /usr/bin/spfquery from install of python3-pyspf-2.0.14-8.el8.noarch conflicts with file from package perl-Mail-SPF-Query-1.999.1-1.eFa.el8.noarch
Looks like some spf application is already there and I can run spfquery from command but how to get that into postfix?

thank you 8-)

Re: enable postfix spf checks

Posted: 12 Jun 2024 16:39
by shawniverson
Ah a package conflict. I'll need to make a custom package for eFa you can use so that it doesn't conflict. Which version of eFa are you using?

Re: enable postfix spf checks

Posted: 12 Jun 2024 16:40
by shawniverson
Nevermind I see you are on eFa 4 based on your post. :D

Re: enable postfix spf checks

Posted: 12 Jun 2024 23:14
by mattch
shawniverson wrote: 12 Jun 2024 16:39 Ah a package conflict. I'll need to make a custom package for eFa you can use so that it doesn't conflict. Which version of eFa are you using?
Ah ok, thank you!
Is it possible to use the existing spfquery in postfix, or does it have to be pypolicyd-spf?

Re: enable postfix spf checks

Posted: 16 Jun 2024 15:41
by shawniverson
Please test this and let me know if it works:

Code: Select all

sudo dnf install pypolicyd-spf_eFa pypolicyd-spf_eFa-milter

Re: enable postfix spf checks

Posted: 16 Jun 2024 15:43
by shawniverson
mattch wrote: 12 Jun 2024 23:14 Is it possible to use the existing spfquery in postfix, or does it have to be pypolicyd-spf?
The spfquery that is present is a perl version, the one that comes with pypolicyd-spf is a python version. I have created a custom rpm to create spfquery as spfquery.py instead so that they can both coexist on the same system.