From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@speakeasy.net Newsgroups: gmane.emacs.help Subject: Re: mail: Sending...failed with exit value 71 Date: Tue, 9 Dec 2003 13:27:34 -0500 (EST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <15wu967ovn.fsf@xpc14.ast.cam.ac.uk> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1070999397 12129 80.91.224.253 (9 Dec 2003 19:49:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2003 19:49:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 09 20:49:54 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATnrl-0002Df-00 for ; Tue, 09 Dec 2003 20:49:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ATnaY-0007M6-0Y for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Dec 2003 14:32:06 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ATnYA-0006xk-7u for help-gnu-emacs@gnu.org; Tue, 09 Dec 2003 14:29:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ATnXc-0006pO-Q4 for help-gnu-emacs@gnu.org; Tue, 09 Dec 2003 14:29:36 -0500 Original-Received: from [216.254.0.206] (helo=mail6.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ATnXc-0006ov-2Q for help-gnu-emacs@gnu.org; Tue, 09 Dec 2003 14:29:04 -0500 Original-Received: (qmail 29845 invoked from network); 9 Dec 2003 18:27:35 -0000 Original-Received: from unknown (HELO heidegger.mousecar.net) ([66.93.11.17]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 9 Dec 2003 18:27:35 -0000 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <15wu967ovn.fsf@xpc14.ast.cam.ac.uk> X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15089 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15089 At 01:37 (UTC-0000) on Tue, 9 Dec 2003 Glenn Morris said: = ... = = Yes, that's what the code I posted was intended to do. Did you try it? = What happened? What were the contents of the Trace buffer? That's what I had configured when I first posted about this problem... when I first got the "exit value 71" message. And though I have the debug line in .emacs, I'm not getting a Trace buffer. = ... = > = > = (setq message-send-mail-function 'smtpmail-send-it ; for Gnus = > = send-mail-function 'smtpmail-send-it ; for other things Yep. What I had. And still have. = ... = = > = smtpmail-debug-info t ; only while you sort out this issue This line isn't giving me a Trace buffer. = > = smtpmail-smtp-server "your.mail.server") The arg here-- assuming a dynamic connection-- would be the remote machine's (ISP's) server. I.e., I don't want to point it at my own sendmail, correct? = > = > Here's what I've had in my .emacs (irrelevant customizations edited = > out): = > = > (custom-set-variables = > '(mail-default-reply-to "gebser@speakeasy.net") = > '(mail-host-address "speakeasy.net") = > '(smtp-default-server "mail.speakeasy.net") = = That variable does not appear in either Emacs 20.7 or 21.3, AFAICS. = smtpmail-default-smtp-server does though. I'm running emacs v.20.7.1 and it's there. = = > '(message-send-mail-function (quote smtpmail-send-it)) = = OK, but that's only for Gnus. Try sticking a: = = '(send-mail-function (quote smtpmail-send-it)) Yep, got it. = = in after that. = = > '(mail-send-nonascii nil) = > '(smtp-server "mail.speakeasy.net") = = Again, no such variable. smtpmail-smtp-server, yes. C-h v smtp-server: smtp-server's value is "mail.speakeasy.net" Documentation: The name of the host running SMTP server. It can also be a function called from `smtp-via-smtp' with arguments SENDER and RECIPIENTS. You can customize this variable. Defined in `smtp'. = = > '(user-mail-address "gebser@speakeasy.net") = > '(gnus-secondary-servers (quote ("news.chi.sbcglobal.net"))) = > '(smtp-fqdn "mousecar.net") = = No such variable. Where did you get this? Is it XEmacs stuff or = something? C-h v smtp-fqdn: smtp-fqdn's value is "mousecar.net" Documentation: Fully qualified domain name used for Message-ID. You can customize this variable. Defined in `smtp'. = ... = > = > ---------------------------------------------- = > Smtpmail Queue Dir: [Hide] ~/Mail/queued-mail/ = > [State]: this option is unchanged from its standard setting. = > Directory where `smtpmail.el' stores queued mail. = > ---------------------------------------------- = > = > Though I haven't found it documented anywhere, I'm guessing that this is = > the directory used when emacs does it's *own* queuing, i.e., *not* using = > sendmail. = = Yes. Useful if you're not always on-line and want to store mail = before sending it in one go. By setting smtpmail-queue-mail to t as = you have done above, you indicate you want this behaviour. So emacs shouldn't be using the local sendmail at all, should it? But from the error messages we saw, it is. Add to this, the creation of a transcript file in sendmail is part of the queuing process-- what the logged sendmail error mentions. So this would seem to be where the smoke is coming from, but without more information, it's hard to know what to try next. There was a thread over the past week or so about the quality of documentation. It would seem that this is another area which needs some work. Much of what is provided in the Customize section (which is the same as that provided in the function and variable declarations themselves) is very brief and not very enlightening. = = All I can suggest is to try setting send-mail-function, other than = that, I don't know. Lots more info at: = = http://josefsson.org/smtpmail.html Yeah, I found that with a google and read most of it already. Emacs needs more docs like that. = = = PS I don't need a CC, as the Mail-Copies-To header tries to indicate. Sorry about that. For some reason that's the default way that pine (my current MUA) handles it. I can change this of course and do change it occasionally, but sometimes I forget. I believe that mailman, the mailing list software, can be set up so that the default reply-to is the list. Until it is, we'll just have to rely on my memory to edit the headers before sending. = = PPS Your messages seem to be explicitly going to both the mailing list = and the newsgroup. This means they show up twice on the newsgroup (and = I guess the mailing list as well), since they are gatewayed and = essentially the same thing. My bad. This is documented at but didn't notice it until just now. Thanks for letting me know about it. Glenn, thanks also for all the time and energy you've put in to trying to help out. Much appreciated. ken