Tuesday, December 08, 2009

Configuration sendmail forward to another host.

Host for the msp feature (v8.12 and above)

The msp feature can take an optional argument. That argument determines whether the mail collected by the MSP invocation of sendmail should be delivered to the local machine or to another machine:


So when you want to forward mail to another server for send out ( if you have firewall and configuration one server can send mail out ), you just change the following line
'/etc/mail/submit.cf'.
** OLD **
D{MTAHost}[127.0.0.1]

** NEW **
D{MTAHost}[ww.xx.yy.zz]


== TaTsHuYa ==

No comments: