Dont edit sendmail.cf, use the m4 macro system and edit sendmail.mc.
A much more sensible idea.
Last time I edited it (quite a few years ago), there was no nice autogeneration from a sendmail.mc file. You had to get your hands dirty, so to speak.
Cheers, Carl.
