send email from an IP that is aliased
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > send email from an IP that is aliased




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    send email from an IP that is aliased  
semovrs@concord.edu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-14-05 10:55 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.






[ Post a follow-up to this message ]



    Re: send email from an IP that is aliased  
Jim Ficarra


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-15-05 11:02 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


<semovrs@concord.edu> wrote in message
news:1108410248.653552.189770@g14g2000cwa.googlegroups.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.
>







[ Post a follow-up to this message ]



    Re: send email from an IP that is aliased  
semovrs@concord.edu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-16-05 10:57 PM

Jim,
thanks a lot for the answer!
Also, I found a good article at
http://ccrma.stanford.edu/~mortimer...n/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[vbcol=seagreen]
> 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
>
>
> <semovrs@concord.edu> wrote in message
> news:1108410248.653552.189770@g14g2000cwa.googlegroups.com... 
any[vbcol=seagreen] 
(domain1)[vbcol=seagreen] 
always[vbcol=seagreen] 
email[vbcol=seagreen] 
of[vbcol=seagreen] 
SMTP[vbcol=seagreen] 
with[vbcol=seagreen] 
situation.[vbcol=seagreen] 
email[vbcol=seagreen] 






[ Post a follow-up to this message ]



    Re: send email from an IP that is aliased  
Jim Ficarra


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-17-05 10:54 PM

Unfortunately I don't know what else could be wrong.  My sendmail experience
is minimal.

Sorry. 

-Jim


<semovrs@concord.edu> wrote in message
news:1108597636.921218.214570@z14g2000cwz.googlegroups.com...
> Jim,
> thanks a lot for the answer!
> Also, I found a good article at
> http://ccrma.stanford.edu/~mortimer...n/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: 
> I 
> any 
> (domain1) 
> always 
> email 
> of 
> SMTP 
> with 
> situation. 
> email 
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:44 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register