Re: [exim] Result of spfquery is "none" and exim accepts mes…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Result of spfquery is "none" and exim accepts message
On 14/03/16 10:04, nb@??? wrote:
> I would like to know how to reject messages if SPF is "none", and if this would be a good solution.
> ie I won't miss messages.


That sounds like a very good way of missing messages.

> warn
> message = Received-SPF: ${if eq {$runrc}{0}{pass}{${if eq {$runrc}{2}{softfail}\
> {${if eq {$runrc}{3}{neutral}{${if eq {$runrc}{4}{unknown}{${if eq
> {$runrc}{6}{none}{error}}}}}}}}}}


You could do that more readably with a numeric ${extract }.
--
Cheers,
Jeremy