Networking Forums

Networking Forums > Computer Networking > Linux Networking > send email from an IP that is aliased

Reply
Thread Tools Display Modes

send email from an IP that is aliased

 
 
semovrs@concord.edu
Guest
Posts: n/a

 
      02-14-2005, 06:44 PM
Hello, everyone!
I have quite a straightforward issue here that I would appreciate any
input on.
I used IP aliasing to set up two IP addresses on my server.. The
primary IP address is used for the MX record for one domain (domain1)
and the secondary one is used for the MX record of another domain
(domain2).
When I use sendmail to send email out the destination servers always
mark the primary IP address of the server as the sender of the email
message. For example,
if I set up sendmail to send emails for domain2 the email headers of
any received mail from domain2 shows the primary IP address of my SMTP
server and not the secondary IP address (the aliased one).
Is this an issue with my IP aliasing (networking issue) or issue with
sendmail - what is it that I have to do to resolve the above situation.
My major goal here is to get receiving servers to understand the email
has come from the secondary IP address and not the primary one.
Thanks for any help in advance!
Roumen.

 
Reply With Quote
 
 
 
 
Jim Ficarra
Guest
Posts: n/a

 
      02-15-2005, 05:22 PM
Roumen,

I think you need to bind sendmail to the specific address you wish. I
haven't tried this personally, but I think it will work:

Try the following option in your sendmail.mc file.

DAEMON_OPTIONS(`Name=MTA, Addr=x.x.x.x, Port=smtp)
(specify the appropriate name and address)

Rebuild your sendmail.cf and stop and restart the daemon

Hope this helps.

-Jim


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Hello, everyone!
> I have quite a straightforward issue here that I would appreciate any
> input on.
> I used IP aliasing to set up two IP addresses on my server.. The
> primary IP address is used for the MX record for one domain (domain1)
> and the secondary one is used for the MX record of another domain
> (domain2).
> When I use sendmail to send email out the destination servers always
> mark the primary IP address of the server as the sender of the email
> message. For example,
> if I set up sendmail to send emails for domain2 the email headers of
> any received mail from domain2 shows the primary IP address of my SMTP
> server and not the secondary IP address (the aliased one).
> Is this an issue with my IP aliasing (networking issue) or issue with
> sendmail - what is it that I have to do to resolve the above situation.
> My major goal here is to get receiving servers to understand the email
> has come from the secondary IP address and not the primary one.
> Thanks for any help in advance!
> Roumen.
>



 
Reply With Quote
 
semovrs@concord.edu
Guest
Posts: n/a

 
      02-16-2005, 10:47 PM
Jim,
thanks a lot for the answer!
Also, I found a good article at
http://ccrma.stanford.edu/~mortimer/.../sendmail.html for those
who are having similar problem.
I also used CLIENT_OPTIONS() in sendmail too but still could not get
the receiving mail server to recognize that the mail was coming from
the secondary aliased IP.
Do you have any idea what else I could be missing?
Thanks a lot again for your help!
Roumen.

Jim Ficarra wrote:
> Roumen,
>
> I think you need to bind sendmail to the specific address you wish.

I
> haven't tried this personally, but I think it will work:
>
> Try the following option in your sendmail.mc file.
>
> DAEMON_OPTIONS(`Name=MTA, Addr=x.x.x.x, Port=smtp)
> (specify the appropriate name and address)
>
> Rebuild your sendmail.cf and stop and restart the daemon
>
> Hope this helps.
>
> -Jim
>
>
> <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) oups.com...
> > Hello, everyone!
> > I have quite a straightforward issue here that I would appreciate

any
> > input on.
> > I used IP aliasing to set up two IP addresses on my server.. The
> > primary IP address is used for the MX record for one domain

(domain1)
> > and the secondary one is used for the MX record of another domain
> > (domain2).
> > When I use sendmail to send email out the destination servers

always
> > mark the primary IP address of the server as the sender of the

email
> > message. For example,
> > if I set up sendmail to send emails for domain2 the email headers

of
> > any received mail from domain2 shows the primary IP address of my

SMTP
> > server and not the secondary IP address (the aliased one).
> > Is this an issue with my IP aliasing (networking issue) or issue

with
> > sendmail - what is it that I have to do to resolve the above

situation.
> > My major goal here is to get receiving servers to understand the

email
> > has come from the secondary IP address and not the primary one.
> > Thanks for any help in advance!
> > Roumen.
> >


 
Reply With Quote
 
Jim Ficarra
Guest
Posts: n/a

 
      02-17-2005, 09:33 PM
Unfortunately I don't know what else could be wrong. My sendmail experience
is minimal.

Sorry.

-Jim


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Jim,
> thanks a lot for the answer!
> Also, I found a good article at
> http://ccrma.stanford.edu/~mortimer/.../sendmail.html for those
> who are having similar problem.
> I also used CLIENT_OPTIONS() in sendmail too but still could not get
> the receiving mail server to recognize that the mail was coming from
> the secondary aliased IP.
> Do you have any idea what else I could be missing?
> Thanks a lot again for your help!
> Roumen.
>
> Jim Ficarra wrote:
>> Roumen,
>>
>> I think you need to bind sendmail to the specific address you wish.

> I
>> haven't tried this personally, but I think it will work:
>>
>> Try the following option in your sendmail.mc file.
>>
>> DAEMON_OPTIONS(`Name=MTA, Addr=x.x.x.x, Port=smtp)
>> (specify the appropriate name and address)
>>
>> Rebuild your sendmail.cf and stop and restart the daemon
>>
>> Hope this helps.
>>
>> -Jim
>>
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed) oups.com...
>> > Hello, everyone!
>> > I have quite a straightforward issue here that I would appreciate

> any
>> > input on.
>> > I used IP aliasing to set up two IP addresses on my server.. The
>> > primary IP address is used for the MX record for one domain

> (domain1)
>> > and the secondary one is used for the MX record of another domain
>> > (domain2).
>> > When I use sendmail to send email out the destination servers

> always
>> > mark the primary IP address of the server as the sender of the

> email
>> > message. For example,
>> > if I set up sendmail to send emails for domain2 the email headers

> of
>> > any received mail from domain2 shows the primary IP address of my

> SMTP
>> > server and not the secondary IP address (the aliased one).
>> > Is this an issue with my IP aliasing (networking issue) or issue

> with
>> > sendmail - what is it that I have to do to resolve the above

> situation.
>> > My major goal here is to get receiving servers to understand the

> email
>> > has come from the secondary IP address and not the primary one.
>> > Thanks for any help in advance!
>> > Roumen.
>> >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot send email attachements Its Me Network Routers 0 01-30-2006 11:47 AM
Can't send email Chips Wireless Internet 14 02-23-2005 11:19 PM
Email slow on send for MN-700 adria Broadband Hardware 1 01-20-2004 04:01 PM
need help cannot send email stephanie Windows Networking 0 11-06-2003 01:04 AM
how to send email via postfix Linux Networking 2 10-21-2003 10:12 PM



1 2 3 4 5 6 7 8 9 10 11