Configure sendmail to forward all mails

admin 6
0 0
Read Time:26 Second

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
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

6 thoughts on “Configure sendmail to forward all mails

Comments are closed.

Next Post

Reg Exp in Oracle 10g

Last 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 […]
%d bloggers like this: