How to disable OpenSPF on Posfix level ?  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
amarc
Posts: 43
Joined: Thu 7. May 2020, 18:56

How to disable OpenSPF on Posfix level ?

Post by amarc »

Rspam itself have SPF check and this OpenSPF is more wrong than right (too much false possitives). I need to disable this check on Postfix level, how can I do this ?


Thank you
User avatar
Florian
Keyweb AG
Posts: 1462
Joined: Wed 20. Jan 2016, 02:28

Re: How to disable OpenSPF on Posfix level ?

Post by Florian »

Hi,

main.cf

Code: Select all

check_policy_service unix:private/policy
master.cf

Code: Select all

# Python SPF Policy
policy  unix  -       n       n       -       -       spawn
        user=nobody argv=/usr/bin/policyd-spf /etc/postfix-policyd-spf-python/policyd-spf.conf
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
Alexander
Keyweb AG
Posts: 4163
Joined: Wed 20. Jan 2016, 02:23

Re: How to disable OpenSPF on Posfix level ?  [SOLVED]

Post by Alexander »

Just a note for the upcoming update:

On modern systems with KeyHelp and Rspamd (Debian 12+, Ubuntu 24.04+), postfix-policyd-spf-python will be removed and Rspamd will handle the SPF checking.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply