# my official domain name
# ... define this only if sendmail cannot automatically determine your
domain
#Dj$w.Foo.COM
#Dj$w.DOMAINNAME.com COMMENT OUT
DjDOMAINNAME.local ADD THIS LINE
# class E: names that should be exposed as from this host, even if we
masquerade
# class L: names that should be delivered locally, even if we have a
relay
# class M: domains that should be converted to $M
# class N: domains that should not be converted to $M
#CL root
#CE root COMMENT OUT
CE ADD THIS LINE
# who I masquerade as (null for no masquerading) (see also $=M)
#DM COMMENT OUT
DMdomainname.com ADD THIS LINE
###################################################################
### Ruleset 94 -- convert envelope names to masqueraded form ###
###################################################################
SMasqEnv=94
#R$* < @ *LOCAL* > $* $: $1 < @ $j . > $2 COMMENT OUT
R$+{insert three tabs here and no brackets}$@ $>93 $1 ADD THIS LINE
and the next version of sendmail will overwrite it.
How about using M4 macro?
Just followed the suggestions from IBM. I have it documented and can
make change in minutes in the next version of sendmail.