Re: [Exim] Processing Spam for Other Email Servers

Top Page
Delete this message
Reply to this message
Author: Marc Perkel
Date:  
To: Exim-Users (E-mail)
Subject: Re: [Exim] Processing Spam for Other Email Servers
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

>
>
>