Configure sendmail to forward all mails

admin 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

6 thoughts on “Configure sendmail to forward all mails

  1. Pingback: Sebago Shoes
  2. Pingback: Engine Parts
  3. Pingback: Nursery Stuff

Comments are closed.

Next Post

Reg Exp in Oracle 10g

Facebook0TwitterLinkedinLast week I installed a 10g database on my laptop. I must say this was by far the easiest installation of an oracle database I ever did. One of the coolest additions I came across so far is the use of Regular Expressions Just some samples: select every record with […]