Re: [Exim] Processing Spam for Other Email Servers

Góra strony
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
Dla: Exim-Users (E-mail)
Temat: 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

>
>
>