Re: [exim] Detecting MessageLabs and avoiding

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Gary Stainburn
Fecha:  
A: exim-users
Asunto: Re: [exim] Detecting MessageLabs and avoiding
On Wednesday 25 June 2014 18:09:41 Mike Cardwell wrote:
> The MX records for three of those domains point to (from this machine):
>
> cluster8a.eu.messagelabs.com
> cluster8.eu.messagelabs.com
>
> You could pick those out with this:
>
>  smarthost:
>      driver     = manualroute
>      condition  = ${if forany{ \
>                     ${lookup dnsdb{>:mxh=$domain}} \
>                   }{ \
>                     match_domain{$item}{*.messagelabs.com} \
>                   }}
>      transport  = remote_smtp
>      route_data = mail.my.isp
>      no_more
>      no_verify

>
> However, the MX record for nationwidevehiclecontracts.co.uk is:
>
> nationwidevehiclecontracts-co-uk.mail.protection.outlook.com
>
> So wouldn't be picked up by the above recipe. If you wanted to
> include MX record matching that too, you would update the
> match_domain part of the above recipe to:
>
> match_domain{$item}{*.messagelabs.com:*.protection.outlook.com}


Excellent Mike. Thanks for this. Even if we don't get 100% it will be better
than the current fail -> log -> manually add to list process that I have at
the moment.

As for MessageLabs, I agree with Paul's comments regarding them being too big
and not caring.