Configure sendmail to forward all mails

6

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
Share.

About Author

6 Comments

  1. Pingback: Prepaid Credit Cards

  2. Pingback: Sebago Shoes

  3. Pingback: Engine Parts

  4. Pingback: Bad Credit Car Loans Now

  5. Pingback: Bad Credit Auto Loan Now

  6. Pingback: Nursery Stuff