Go to /etc/mail/ and look in the sendmail.mc file. Uncomment and change the entry
define(`SMART_HOST',`forward.host.domain').
Additional info:
The sendmail.cf is generally considered to be too difficult to be changed by hand. Therefore a set of macros have been defined to ease this task. In order to be able to use these macros, the sendmail-cf package has to be installed on the machine. With m4 the sendmail.cf file can be generated as follows:
m4 sendmail.mc > sendmail.cf

No Responses