I think the reason I took long to look at this one is its length please
try to be as brief as possible next time.
> 
> Hi, 
>     I have already posted this question once, sorry for posting this again. As i am 
>strucked up at this piont in our network design it would be great if any body could 
>give me quick suggestion.
> 
>  if it is internal mail like [EMAIL PROTECTED] it should go to mail server 
>aaa.xxx.com and deliver the mail.
> and if it is external mail like [EMAIL PROTECTED] it should go to our external 
>mail server xxx.com and go out with the from address as [EMAIL PROTECTED] even if it is sent 
>from [EMAIL PROTECTED] the external mail server should take take care of stripping off 
>aaa from [EMAIL PROTECTED] 
> What is the simple way bto achieve this. Please any on help me.
>  
Simple on the external mail server edit sendmail.cf the line that says
#who I masquerade as
DMxxx.com
Then edit sendmail.cf on the local machine and edit the line that reads
#smart relay host
DSsmtp:xxx.com
and make sure you have the ip and name of xxx.com in the hosts file of the
local machine. Or you have DNS and can resolve the ip and name of xxx.com.
by default the local machien will recognize that an e-mail is to a local
user and will not send it out.

 Noah
[EMAIL PROTECTED]
 


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to