-
cd /usr/samples/tcpip/sendmail/
-
Prepare a file
cf/aix433.cf
divert(0)dnl
OSTYPE(aix433)dnl
DOMAIN(generic)dnl
# all outgoing mail to SMART_HOST
define(`SMART_HOST', `rzserv1')dnl
# all incoming mail to MAIL_HUB
define(`MAIL_HUB', `rzserv1')dnl
# all sent mail masqueraded to be from this host
MASQUERADE_AS(gsi.de)dnl
# masquerade the envelope of the mails as well
FEATURE(`masquerade_envelope')dnl
# mailers used, always declare at the end of the file
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(uucp)dnl
-
m4 m4/cf.m4 cf/aix433.cf > /tmp/sendmail.cf
-
In
/tmp/sendmail.cf
comment out
Fw/etc/sendmail.cw
FR-o /etc/mail/relay-domains
-
finally
cp /tmp/sendmail.cf /etc/sendmail.cf
refresh -s sendmail