Gnus development mailing list
 help / color / mirror / Atom feed
From: reader@newsguy.com
Subject: Re: How does gnus talk to sendmail
Date: Mon, 04 Dec 2006 13:04:11 -0600	[thread overview]
Message-ID: <8764crsct0.fsf@newsguy.com> (raw)
In-Reply-To: <v9u00cuiw2.fsf@marauder.physik.uni-ulm.de>

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> On Sun, Dec 03 2006, reader@newsguy.com wrote:
>
>> Setup:
>>    Gentoo linux 2.6.18 
>>    sendmail 8.13.8
>>    several week old cvs gnus
>>
>> I've just let gnus find sendmail for years for sending mail but
>> suddenly am getting an error:
>>
>>   `no such program as /usr/lib/sendmail'
> [...]
>> I fixed the problem temporarily by symlinking 
>>  /usr/lib/sendmail -> /usr/sbin/sendmail
>>
>> But I wondered why gnus thinks sendmail is at /usr/lib/sendmail and
>> where it is told that information. 
>
> All the code in `message.el' (Gnus) and `sendmail.el' (Emacs) prefers
> /usr/sbin/sendmail over /usr/lib/sendmail, AFAICS.  Maybe a you have
> set `sendmail-program' in your (site) init files?

No mention of sendmail in any init files 
(.gnus .emacs ../site-start.el)

So unless the gentoo os has its own emacs init files someplace it
isn't coming from init.   

I build emacs myself (don't use the gentoo OS installer) so should not
have any problems from OS specific init files.   And don't see any
installed. 

What is puzzling is that it suddenly doesn't know where sendmail is.
Like others who have posted on this... I've had no problem for years
with emacs/gnus finding sendmail.


GNU Emacs 22.0.90.1 (i686-pc-linux-gnu, X toolkit) of 2006-11-15 on
reader:  

Should be loading ../lisp/mail/sendmail.elc which in turn
should be finding sendmail at /usr/sbin/sendmail.


  (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)

ls -l /usr/sbin/sendmail:
-r-xr-s--x 1 root smmsp 647832 Aug 12 10:50 /usr/sbin/sendmail
 





  reply	other threads:[~2006-12-04 19:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-03 20:28 reader
2006-12-04  3:28 ` Dave Goldberg
2006-12-04 14:14   ` gdt
2006-12-04 18:51     ` reader
2006-12-04  9:09 ` Reiner Steib
2006-12-04 19:04   ` reader [this message]
2006-12-04 21:12     ` Dave Goldberg
2006-12-05 15:40       ` reader
2006-12-05 23:36         ` Dave Goldberg
2006-12-06 15:11           ` Simon Josefsson
2006-12-06 16:19           ` reader

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=8764crsct0.fsf@newsguy.com \
    --to=reader@newsguy.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).