sendmail problem

zjnet1
zjnet1 used Ask the Experts™
on
I use "Mail Address Masquerade" to Masquerade our Internal Mail Address
(star-sh.net) to Internet Mail Address (star-group.net) so that we can receive the "reply mail".
> We Succeeded in "Internet" but failed in "internal":
> When Internal(local)user send a mail to another
Internal(local)user,the problem occured:when another localuser reply this local mail,the "reply Address" of the mail is "star-group.net" rather than"star-sh.net",and the mail goes out rather than local deliver.(I cannot add star-group.net to my sendmail cfg file named "local-host-names",because if so,when I send a mail to a user in parent company whose domain is star-group,such as parentcompany_user@star-group.net,the mail will be locally dilivered).
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2005
Commented:
To fix this you need to tell sendmail that it handles mail for the external domain name (star-group.net) via local-host-names. And you have to tell sendmail who local users within both domains and where to forward mail for non-local users. That's best done with virtusertable records that would look something like:

user1@star-group.net       user1
user2@star-group.net       user2
@star-group.net            %parent-mail.star-group.net
user1@star-sh.net          user1
user2@star-sh.net          user2
@star-sh.net               %parent-mail.star-group.net
zjnet1:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.

Commented:
This question has been classified abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.
 

Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.

 
If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp
 
drewber
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jlevie {http:#7493976}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

paullamhkg
EE Cleanup Volunteer

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial