[comp.unix.aux] A new, improved sendmail.cf! If you use mine, you want this.

alexis@panix.uucp (Alexis Rosen) (06/23/91)

I know there are a lot of people out there using my hacked sendmail.cf.
When I posted it, I mentioned that others had done most of the work. I
recently realized that my mail headers, while functional, weren't exactly
correct, and after poking around in sendmail.cf I figured out why.

The problem is that on two header lines, the "Received:" and "Message-ID:"
lines, the hostname written without any domain. When we weren't in any
domain ("panix.uucp") This really didn't matter to me. But now that we
are, I want it known by man and machine that we are "panix.com".

This very simple six-line patch puts things right for me. If you use any
domain, or even none at all, you should still use this patch! Substitite
your domain name for "com", or use "uucp" if you have no domain.

92,94c92
< #DDuucp
< # Uncommented the line below 4/19/90 dhms
< Cuucp
---
> DDcom

You can apply this with Larry Wall's patch, but it's so simple it's faster
to hand-correct.

Enjoy!
---
Alexis Rosen
Owner/Sysadmin, PANIX Public Access Unix, NY
alexis@panix.com
{cmcl2,apple}!panix!alexis