[Pkg-exim4-users] Direct messages to specific IP or SMTP server

Jeffs jeffs at speakeasy.net
Sun May 22 20:57:22 UTC 2011


> On Wed, May 18, 2011 at 08:15:01AM -0400, Jeffs wrote:
>> >  I am new to Exim and could use some help.  I am trying to figure out
>> >  how to direct outgoing messages to a particular IP address or smtp
>> >  server.  Assuming an email campaign has several smtp servers each
>> >  with their own IP address at their disposal, how could Exim help in
>> >  analyzing the email message parts/domain to direct this message to,
>> >  for example, xxx.xxx.xxx.xxx and that message to, for example,
>> >  yyy.yyy.yyy.yyy
> man exim4_hubbed_hosts?
>
> If that isn't enough, you need to provide more information, or
> familiarize yourself with exim routers.
>
> Greetings
> Marc
> On Thu, May 19, 2011 at 11:28:06PM -0400, Jeffs wrote:
>> >  Is hubbed_hosts the way to do this
> No. Your request was unclear to me. It is not any more.
>
>> >    or is there some other mechanism for specifying delivery route and ip
>> >    address?
> Use an appropriate lookup in the remote_smtp transport.

Assuming the following setup:

Client from xyz.com logins to Many_Companies.com, accesses their email 
campaign software running on Many_Companies.com and sends out newsletters.

A short time later client from def.com logins to Many_Companies.com, 
accesses their email campaign software running on Many_Companies.com and 
sends out newsletters.

They both access the same software just have user accounts that are 
different on the same server.

Exim uses remote_smtp transport to channel xyz.com messages to interface 
eth0:1 and def.com messages to the the eth0:2 interface.

Those virtual interfaces are mapped to IP addresses that are registered 
addresses for xyc.com and def.com respectively.

Here is the question:

Will the received from headers in those messages reflect an origination 
IP address of Many_Companies.com's IP address or xyc.com and def.com IP 
addresses respectively?

I need the setup to reflect origination emails only coming from the 
respective IP addresses for xyz.com and def.com, NOT 
Many_Companies.com's IP address.

Thank you.



More information about the Pkg-exim4-users mailing list