Set up masquerading in
AIX 7.2 TL 5 and later
To enable the masquerading, it is
necessary to build a submit.cf implementing this feature with the following
procedure:
cd /usr/samples/tcpip/sendmail/cf
cp
submit.mc submit-masquerade.mc
vi
submit-masquerade.mc
At the end of the file, the following line
needs to be added:
MASQUERADE_AS(`masquerade.domain.com')
The special syntax of the single quotation marks needs to
be observed. After the file is saved, it can be compiled:
m4
../m4/cf.m4 submit-masquerade.mc > /tmp/submit.cf
If there are no errors, the submit.cf file can be installed:
cd /etc/mail
mv submit.cf
submit.cf.org
cp
/tmp/submit.cf .
No comments:
Post a Comment