From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)
Description of problem:
/etc/mail/sendmail.mc does not place any useful version information in the
VERSIONID macro. This makes it difficult to deduce the origin of
/etc/sendmail.cf on systems that have been upgraded many times and/or the
file has been hand edited. If
possible, the rpm's verision info (ie 8.11.6-1.7.1), release date,
or CVS $Header$ etc should be included. Also, the line: "m4 redhat.mc >
redhat.cf" in sendmail.spec could be changed to "m4 -Dunix redhat.mc >
redhat.cf" to enable build logging included in sendmail dist's cf macros.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RedHat 7.1
2. Be pedantic.
3. look at /etc/mail/sendmail.mc and /etc/sendmail.cf
4. also see code condidional on definition of "unix" macro in cfhead.m4
could m4 package be configured such that it always defined the "unix"
macro? That way any user rebuild of sendmail.cf would include the useful
In my haste to post this bug report, I failed to note that GNU m4's manual
states that the "unix" macro is pre-defined (to null), but only when the -G
(disable GNU extensions) switch is used; otherwise it defines (as null)
"__unix__", which could serve the same purpose. I propose that cfhead.m4 be
patched to detect either macro, the patch possibly being submitted also to
I have changed this to __unix__ in sendmail-8.12.2-7 and higher. Setting VERSIONID
to something useful must be done by people changing the .mc file.
Florian La Roche