From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64072 Path: news.gmane.org!not-for-mail From: reader@newsguy.com Newsgroups: gmane.emacs.gnus.general Subject: Re: How does gnus talk to sendmail Date: Mon, 04 Dec 2006 13:04:11 -0600 Organization: Still searching... Message-ID: <8764crsct0.fsf@newsguy.com> References: <87wt58yb9z.fsf@newsguy.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165259092 15200 80.91.229.10 (4 Dec 2006 19:04:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2006 19:04:52 +0000 (UTC) Original-X-From: ding-owner+M12595@lists.math.uh.edu Mon Dec 04 20:04:52 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by dough.gmane.org with esmtp (Exim 4.50) id 1GrJ7T-00025F-0V for ding-account@gmane.org; Mon, 04 Dec 2006 20:04:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1GrJ7G-0007kP-R4; Mon, 04 Dec 2006 13:04:38 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1GrJ7F-0007k1-AC for ding@lists.math.uh.edu; Mon, 04 Dec 2006 13:04:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1GrJ79-0001Hh-EE for ding@lists.math.uh.edu; Mon, 04 Dec 2006 13:04:37 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GrJ78-0005iL-00 for ; Mon, 04 Dec 2006 20:04:30 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GrJ6x-00081n-8E for ding@gnus.org; Mon, 04 Dec 2006 20:04:19 +0100 Original-Received: from c-67-163-25-192.hsd1.in.comcast.net ([67.163.25.192]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 20:04:19 +0100 Original-Received: from reader by c-67-163-25-192.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Dec 2006 20:04:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-163-25-192.hsd1.in.comcast.net User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux) Cancel-Lock: sha1:LwZAp7CwjJ744s4BoGNYZdvLZkY= X-Spam-Score: -1.6 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64072 Archived-At: Reiner Steib 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