1: As root on each server, run the following commands: # cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.stock_# cd /usr/lib/mail/cf 2: Add the following into a file called reversemidastouch.mc divert(-1) # # sendmail configuration file (m4 for sendmail 8.8 and above). # version 1.11 :initial version by tng 23-Feb-2006 # no comments after the die-vert open bracket 0 close bracket! # divert(0) include(`../m4/cf.m4')dnl VERSIONID(`reversemidastouch.mc tng 23 Feb 2006 v1.11')dnl OSTYPE(solaris2.ml)dnl MASQUERADE_AS(`reversemidastouch.com')dnl MASQUERADE_DOMAIN(`reversemidastouch.com')dnl FEATURE(`masquerade_envelope')dnl define(`SMART_HOST', `relay.plus.net.')dnl MAILER(smtp)dnl Please note that m4 macro language is stream-based (ie no idea of lines or comments). 3: Use the m4 macro language to create the sendmail configuration file #/usr/ccs/bin/m4 reversemidastouch.mc >reversemidastouch.cf 4: Sanity check the reversemidastouch.cf for Smart relay host and Masquerading. 5: Copy the reversemidastouch.cf file into place #cp reversemidastouch.cf /etc/mail/sendmail.cf 6: Restart sendmail: /etc/init.d/sendmail stop; /etc/init.d/sendmail start 7: Check that the sendmail processes have started: # ps -ef | grep sendmai[l] root 5633 1 0 16:53:59 ? 0:00 /usr/lib/sendmail -bd -q15m smmsp 5631 1 0 16:53:59 ? 0:00 /usr/lib/sendmail -Ac -q15m tng 23-Feb-2006