all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Toby Allsopp <toby@mi6.gen.nz>
Subject: sendmail-program default is determined at compilation time
Date: Sat, 02 Sep 2006 13:51:06 +1200	[thread overview]
Message-ID: <87zmdjdoj9.fsf@candyboy.here> (raw)

It seems that the default for sendmail-program is determined at
(Emacs) compilation time, which means that if the situation is
different at run time (e.g. if Emacs was compiled on a different
machine, as is the case for binary packages for e.g. Debian) the
default could be inappropriate.

sendmail-program is defined in paths.el as:

(defcustom sendmail-program
  (cond
    ((file-exists-p "/usr/sbin/sendmail") "/usr/sbin/sendmail")
    ((file-exists-p "/usr/lib/sendmail") "/usr/lib/sendmail")
    ((file-exists-p "/usr/ucblib/sendmail") "/usr/ucblib/sendmail")
    (t "fakemail"))			;In ../etc, to interface to /bin/mail.
  "Program used to send messages."
  :group 'mail
  :type 'file)

My problem is that the default for the Debian emacs-snapshot package
version 20060824-1 is "fakemail" because the machine that builds it
doesn't have sendmail installed.  I, however, do have
/usr/sbin/sendmail, but that isn't taken into account.

Is this the expected behaviour?

Toby.

             reply	other threads:[~2006-09-02  1:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02  1:51 Toby Allsopp [this message]
2006-09-02 18:09 ` sendmail-program default is determined at compilation time Richard Stallman
2006-09-02 22:45   ` Chong Yidong
2006-09-04  9:50     ` Richard Stallman
2006-09-04 14:19       ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zmdjdoj9.fsf@candyboy.here \
    --to=toby@mi6.gen.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.