Article 52CJ8 sendmail, how to forward all email for one domain to another server

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?latest?d=yIl2AUoC8zA latest?i=H-DJMZf_lD4:55yzSYcM0hI:F7zBnMy latest?i=H-DJMZf_lD4:55yzSYcM0hI:V_sGLiP latest?d=qj6IDK7rITs latest?i=H-DJMZf_lD4:55yzSYcM0hI:gIN9vFwH-DJMZf_lD4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments