This is how I have configured my servers to forward mail. I edited the sendmail.cf and aliases files in the /etc directory.
In the sendmail.cf add/edit the following lines
#DWYourHostName
DWxyserver1(server name without a domain)
#DMYourDomainName
DMxycorp.com
#CWlocalhost
CWxyserver1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.