Thanks for this - but one question. Some domains have an MX pointing to
localhost and spammers try to use this to relay spam. I wouldn't want
localhost to match.
Tor Slettnes wrote:
>
>
>
> You could use "domains = @mx_any", then:
> condition = ${if and {!match {$h_X-Spam:}{HIGH}}\
> {eq ${lookup dnsdb{a=smtp.$domain}{yes}{no}}
> {yes}}\
> {yes}{no}}
> route_list = * smtp.$domain
>
>
>