Configuring sendmail to forward mail for a specific domain to a specific mail server without using M

Posted by aHunter on Server Fault See other posts from Server Fault or by aHunter
Published on 2010-05-05T21:53:09Z Indexed on 2010/05/06 1:58 UTC
Read the original article Hit count: 280

Filed under:
|

I am new to sendmail and would like to configure sendmail to forward all mail for a specific email address to another internal mail server. I need it to ignore the MX records and only send it to the server I specify but am not sure which files to edit or how to configure the sendmail config. Is it sufficient to add the server to the /etc/hosts and the /etc/mail/local-host-names files?

Thanks in advance.

© Server Fault or respective owner

Related posts about linux

Related posts about sendmail