On 2007-01-05 12:41:39 -0500, Guy Hulbert wrote: > On Fri, 2007-05-01 at 18:26 +0100, Peter J. Holzer wrote: > > (That's cron-3.0pl1-86, just in case that behaviour changed at some > > point since the release of Sarge). > > Sarge is cron-3.0pl1-99 but the source code still has: > > config.h > -------- > #if !defined(_PATH_SENDMAIL) > # define _PATH_SENDMAIL "/usr/lib/sendmail" > #endif /*SENDMAIL*/
Which is ok. config.h is included from cron.h:
#include "pathnames.h"
#include "config.h"
pathnames.h includes <path.h>, which contains (on Debian Sarge):
#define _PATH_SENDMAIL "/usr/sbin/sendmail"
So _PATH_SENDMAIL is already defined in config.h, and cron uses
"/usr/sbin/sendmail", NOT "/usr/lib/sendmail".
> while
> INSTALL
> -------
> ...
> $Id: INSTALL,v 2.5 1994/01/15 20:43:43 vixie Exp $
> ...
> LINUX note: /usr/include/paths.h on some linux systems shows
> _PATH_SENDMAIL
> to be /usr/bin/sendmail even though sendmail is installed in
> /usr/lib.
> you should check this out.
Please note: "on some linux systems". And that was in 1994!
I see no reason to believe this applies to Debian Sargey, which was
released in 2005.
hp
--
_ | Peter J. Holzer | I know I'd be respectful of a pirate
|_|_) | Sysadmin WSR | with an emu on his shoulder.
| | | [EMAIL PROTECTED] |
__/ | http://www.hjp.at/ | -- Sam in "Freefall"
signature.asc
Description: Digital signature
