Sendmail question

Hi,

Say I have a host "myhost.mydomain.com" running sendmail.

And I want root@myhost.mydomain.com to receive the messages send to "root@myOTHERdomain.com".

And say that I already created an MX record for "myOTHERdomain.com" is pointing to "myhost.mydomain.com".

What variable/parameter do I need to change in sendmail.cf to have "myOTHERdomain.com" as an alias domain for the local delivery to the mailboxes on "myhost.mydomain.com" ?

In other words: messages sent to root@myOTHERdomain.com should reach the mailbox of root@myhost.mydomain.com



LVL 3
joachim.claeys@teleatlas.comAsked:
Who is Participating?
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (125)

Computer101
EE Admin
0
 
joachim.claeys@teleatlas.comAuthor Commented:
Isn't that a link to a "Postfix" manual ( not "Sendmail" ) ?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
btassureCommented:
Sorry, you are right. I had postfix in my head while i was searching. I'm still looking - there is a way, I just dont know it!
0
 
joachim.claeys@teleatlas.comAuthor Commented:
Thanks for the effort.
0
 
PsiCopCommented:
0
 
joachim.claeys@teleatlas.comAuthor Commented:
I found the solution.

Unfortunately none of the above helped me finding it ...

Adding myOTHERdomain.com to the "local-host-names" file did the trick
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.