Multiple IPs for outgoing mail to select specific IP dynamically.
- From: taesam.kim@xxxxxxxxx
- Date: Mon, 28 Jul 2008 13:56:05 -0700 (PDT)
Hi,
I have multiple IPs/Domain on a linux server.
For example,
eth0 is 1,2,3,4 ->domainA.com
eth0:0 is 6.7.8.9 -> domainB.com
eth0:1 is 10.11.12.13 -> domainC.com
When I send out a mail from the server and check the receiver's email
header, Received: header contains always primary IPs (eth0)
For example, Received: from [1.2.3.4] (helo=domainB.com)
I know that I can use ClientPortOptions, but I don't like to change
the Addr=x.x.x.x every time I change the domain for sender in
sendmail.cf and restart it.
Is there a way to configure changing the IPs dynamicaly based on the
hostname?
So, when I send out a mail using domainB.com, I want to sendmail
automactically insert IP (6.7.8.9) in to the header, I want to see the
IP (6.7.8.9) in Received: header in receiver's email.
I spent searching for this a week, and I still can't find a right
answers.
Would you help me on this, sendmail gurus?
Thanks.
Sam.
.
- Follow-Ups:
- Re: Multiple IPs for outgoing mail to select specific IP dynamically.
- From: Grant Taylor
- Re: Multiple IPs for outgoing mail to select specific IP dynamically.
- Prev by Date: Domain of sender address myself@gmail.com does not resolve
- Next by Date: Re: Domain of sender address myself@gmail.com does not resolve
- Previous by thread: Domain of sender address myself@gmail.com does not resolve
- Next by thread: Re: Multiple IPs for outgoing mail to select specific IP dynamically.
- Index(es):
Relevant Pages
|