Richard A Nelson wrote:


It doesn't sound like it broke your setup - just that you can't take advantage of some of the features (like Makefile)


After upgrading from 8.12 to 8.13 the mail system doesn't
work anymore. I'd call this 'break'.




The reason is that programs like
/usr/share/sendmail/update_mk
try to analyze the m4 structures to build a list of
included files and configuration files to update
/etc/mail/databases and /etc/mail/Makefile


True, that is exactly how things run


And this is wrong. M4 macros are written for M4
and not perl. If the scripts don't expand macros in the
include file names, then it is broken. This is intended to
be M4-compatible, and the debian script breaks this
compatibilty.




That is debatable...  again, this prevents you from using some of
the features provided for the simpler installations, but doesn't
really impact your full use of m4 to manage sendmail.


It keeps the package from proper installation. A package that
doesn't install cleanly is broken.




The correct way would be to run the configuration through m4
and trace it to find the included files and take the configuration
file paths from the final output (or .cf file).


That would be an improvement - but I refuse to use the .cf file,
and for good reasons... amongst them, the next big sendmail update
(sendmail-X) will not use the same sendmail.cf - at this point it
isn't even clear if sendmail.mc will be used (but likely not).

I'd gladly take patches (full, or partial) to improve my support of
sendmail.mc :)


No. I mean instead of trying to parse the m4 files and to fail,
your perl script could simply run M4 to properly expand all
macros.

Hadmut









--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to