Re: [exim] Sending mail from different IP per domain

Top Page
Delete this message
Reply to this message
Author: W B Hacker
Date:  
To: exim users
Subject: Re: [exim] Sending mail from different IP per domain
Jeremy Harris wrote:

> Fernando Barajas wrote:
>
>>Do you know if ther's a way that I could send different domains' mails
>>from a different IP? That is, that all mails from *@domain1.com will
>>go out from IP "11.22.33.44", and all mails from "*anotherdomain.com"
>>will go out from IP "55.66.77.88"?
>
>
> Your can put an "interface" argument on an "smtp" transport,
> so your problem is suitable routers to select a suitable
> transport depending on the sending domain.
>
> - Jeremy
>


- And, lest we forget, one *may* also want to use a 'helo_data' to match the
HELO to the domain(s) assigned to the IP(s) chosen.

And, of course, insure that relevant/matching 'A', 'PTR' and 'MX' records are
published in DNS.

Bill