Re: [Exim] Processing Spam for Other Email Servers

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Marc Perkel
Ημερομηνία:  
Προς: Exim-Users (E-mail)
Αντικείμενο: 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

>
>
>