Red Hat Bugzilla – Bug 217252
Emacs incorrectly compiled with fakemail setting
Last modified: 2007-11-30 17:11:50 EST
Description of problem:
The pre-packaged emacs that comes with FC6 (emacs-21.4-17) is incorrectly
compiled to use the inexistent "fakemail".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Emacs (can add -q and --no-site-init to be even more sure).
2. Evaluate `sendmail-program' in Emacs
The problem comes from /usr/share/emacs/21.4/lisp/paths.el which defines
`sendmail-program' as a constant (see line 164) based on the existence of
a sendmail executable. My guess is that the build happens in a clean
environment that does not have a sendmail executable, so this constant gets
the default "fakemail" value. Later on, when the Emacs image is dumped, the
constant is inlined into it (you cen verify that the packaged
/usr/bin/emacs-x file contains "fakemail" -- so it becomes a permanent part
of the distributed Emacs.
(Somehow, this did manage to send emails on my system (where the only
"fakemail" executable is from Xemacs), but the problem is that fakemail
inserts an extra newline in the headers, making it ignore the real headers.)
*** Bug 217253 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 213813 ***