Bernard Leak <[EMAIL PROTECTED]> writes: > To submit the output of a gcc test run to the relevant mailing list, > I'm enjoined to run an obfuscated script and pipe the output to sh. > Fine - but then it tells me (actually, the docs said this already) > that I need "the Mail program" in my path. Not wanting to be > obstructive or anything, but ... wot?
This program should have been included with your operating system (I am assuming you are using a Unix variant). Not having it indicates a monumental error in the packaging or installation of your OS. To quote the Debian policy manual: If the expectation is that an experienced Unix person who found [a program] missing would say "What on earth is going on, where is 'foo'?", it must be an important package. and indeed the Debian package that provides /usr/bin/Mail, 'mailx', is priority important. I shall also quote its description: mailx is the traditional command-line-mode mail user agent. Even if you don't use it it may be required by other programs. Now, GNU Mailutils does provide an implementation of the program that the test-result script is looking for, so you're good there. ... > Now it wants 'sendmail'. ExCUSE me! I need to have *sendmail* > installed in order to submit a test report? Perhaps more to the > point, am I required to have *configured* it? Yes, and yes. However, this doesn't mean what you probably think. There are two different things called "sendmail". There is the (in)famous program written by Eric Allman, with the write-only configuration file, formerly used by almost everyone for mail transport. There is also the standard Unix low-level interface for sending mail, /usr/sbin/sendmail. That interface is implemented by Allman's sendmail, but also by many other alternatives, many of which are considered to be better, or at least to have less painful configuration files. Examples include exim, postfix, and qmail. The gcc test result script (via Mail) expects the /usr/sbin/sendmail interface, but not Allman's implementation. You can install whatever mail transport agent you prefer. Again, not having an MTA installed indicates a monumental error in the packaging or installation of your OS. You should have gotten all this stuff automatically, and the installation sequence should have prompted you for mail information and then set up the MTA for you. zw