[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bigsister-general] sendmail path?


On Mon, 2005-07-11 at 12:36 -0700, Danny Howard wrote:
> bin/Statusmon/bs_evgen.pm seems to have /usr/lib/sendmail hard-coded.  I
> tried setting "pager=/usr/sbin/sendmail" in adm/bb_event_generator.cfg
> to no avail.

Actually both

   pager=/usr/sbin/sendmail

and

   mail=/usr/sbin/sendmail:yourmailaddress

should do. I do not know why pager=/usr/sbin/sendmail did not work
for you.

> Is there a way to set this via configuration?  Or is this a bug? :)

The FHS standard says in this respect:

  For historical reasons, /usr/lib/sendmail must be a symbolic link
to /usr/sbin/sendmail if the latter exists.
  [...]
  Additionally, systems using a sendmail-compatible mail transfer agent
must provide /usr/sbin/sendmail as a symbolic link to the appropriate
executable.

So, on FHS compliant systems /usr/lib/sendmail must exist, on non-FHS-
systems /usr/lib/sendmail traditionally exists while /usr/sbin/sendmail
often does not. Since /usr/lib is usually not in the path there must
be a hard-coded path to /usr/lib/sendmail. In other words:
"/usr/lib/sendmail" is the mail API that exists on most systems.

That's the whole story.

Best regards,
Tom
-- 
----------------------------------------------------------------------------
Thomas Aeby, Kirchweg 52, 1735 Giffers, Switzerland, Tel: (+41)264180040
Internet: suppressed                       PGP public key available
----------------------------------------------------------------------------




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.