On 14/03/16 10:04, [email protected] 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


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to