Re: [exim] Conditional route to ISP's smarthost if the desti…

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] Conditional route to ISP's smarthost if the destination uses MessageLabs
On 06/05/14 14:35, Gary Stainburn wrote:
> On Tuesday 06 May 2014 14:23:27 Heiko Schlittermann wrote:
>> Hi,
>>
>> Gary Stainburn <gary.stainburn@???> (Di 06 Mai 2014 15:17:11
> CEST):
>>> Ho folks
>>>
>>> I'm still having trouble sending to people who use Message Labs. I'm
>>> getting round this by having a file of the domains that know use ML and
>>> then use that in a lookup for the router
>>
>> …
>>
>>> Is there a way I can make this automatic, so any emails to addresses
>>> handled by messagelabs automatically gets sent using this router?
>>
>> How do you know if an address will be handled by messagelabs? (probably
>> this was discussed already, but I didn't follow the discussion closely)
>
> It hasn't been discussed yet. This is the crux of my question.


I think you'd need to do an MX lookup for your target and
compare with one for a known-messagelabs user.   See ${lookup dns}.
-- 
Cheers,
    Jeremy