Hi Everyone,
I’m trying to exclude certain incoming emails from SPF checking.
eg. by having it check for a header line such as: X-MyCustomHeader: yes
is this possible? It’s driving me nuts. I’ve tried things like:
——
deny message = SPF: $sender_host_address is not allowed to send mail from $sender_address_domain
!condition = ${if match{$message_headers: X-MyCustomHeader: }{yes}{1}{0}}
spf = fail'
——
and:
——
accept condition = ${if match{$message_headers: X-MyCustomHeader: }{yes}{1}{0}}
——
Thanks,
Gary