Page 1 of 1

How to disable OpenSPF on Posfix level ?

Posted: Fri 1. Nov 2024, 13:39
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

Re: How to disable OpenSPF on Posfix level ?

Posted: Fri 1. Nov 2024, 13:42
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

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

Posted: Wed 27. Nov 2024, 10:47
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.