joachim.claeys@teleatlas.com
asked on
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
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
ASKER
Isn't that a link to a "Postfix" manual ( not "Sendmail" ) ?
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!
ASKER
Thanks for the effort.
Note that EE has a sendmail-specific TA --> https://www.experts-exchange.com/Networking/Email_Groupware/Sendmail/
In particular, this PAQ may be helpful --> https://www.experts-exchange.com/questions/21322113/Practical-Modern-Sendmail-Configuration-Info-Question.html
In particular, this PAQ may be helpful --> https://www.experts-exchange.com/questions/21322113/Practical-Modern-Sendmail-Configuration-Info-Question.html
ASKER
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
Unfortunately none of the above helped me finding it ...
Adding myOTHERdomain.com to the "local-host-names" file did the trick
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=man&fname=/usr/share/catman/man5/virtual.5.html