sendmail, how to forward all email for one domain to another server
by mfoley from LinuxQuestions.org on (#52CJ8)
I have a server which handles email for several domains, all but one of which are handled locally. I want all email for users at example.com to forward to thatdom.com. I've tried putting in /etc/mail/mailertable:
Code:example.com smtp:mail.thatdom.com
# and I've tried:
mail.example.com smtp:mail.thatdom.comThis is not working. In both cases I get in the maillog:
Code:Apr 19 23:19:40 mail sm-mta[2061]: 03K3JddF002061: <info@example.com>... User unknownWhat am I doing wrong?


Code:example.com smtp:mail.thatdom.com
# and I've tried:
mail.example.com smtp:mail.thatdom.comThis is not working. In both cases I get in the maillog:
Code:Apr 19 23:19:40 mail sm-mta[2061]: 03K3JddF002061: <info@example.com>... User unknownWhat am I doing wrong?