all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <gmorris+news@ast.cam.ac.uk>
Subject: Re: mail: Sending...failed with exit value 71
Date: Tue, 09 Dec 2003 19:42:34 +0000	[thread overview]
Message-ID: <xkr7zdlqvp.fsf@xpc14.ast.cam.ac.uk> (raw)
In-Reply-To: mailman.1413.1070998182.399.help-gnu-emacs@gnu.org

gebser@speakeasy.net wrote:

> = > = (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.

Something is very broken if Emacs with those settings is trying to
use sendmail to, err, send mail.

> = > =       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?

Correct. Give it the name of the machine running the SMTP server.
The same thing as in the "smtp-server" field of your Pine config
(which I think you said was working).

> 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'.

There is no "smtp" library in the Emacs-20.7 distribution.
There is only smtpmail.el.

New guess: you have got a not-part-of-Emacs package called smtp.el
installed somewhere in your load path, and it is screwing things up.

Can you do:

M-x locate-library smtp 

and move the resulting file (both .el and .elc) somewhere harmless,
out of the Emacs load-path? Googling around, it seems that "smtp.el"
might be associated with a hacked smtpmail.el. You want to get rid of
that too, and make sure you are using the standard Emacs smtpmail.el
(located in share/emacs/20.7/lisp/mail). Once those non-Emacs files
are out of the way, restart Emacs and try again.

> So emacs shouldn't be using the local sendmail at all, should it?
> But from the error messages we saw, it is.

Yes - seems very broken.

       reply	other threads:[~2003-12-09 19:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1413.1070998182.399.help-gnu-emacs@gnu.org>
2003-12-09 19:42 ` Glenn Morris [this message]
2003-12-14  2:23   ` mail authentication (was Re: mail: Sending...failed with exit value 71) gebser
2003-12-19 11:20 mail: Sending...failed with exit value 71 ken
     [not found] <mailman.1288.1070773808.399.help-gnu-emacs@gnu.org>
2003-12-07 23:37 ` Glenn Morris
2003-12-08 18:59   ` gebser
     [not found]   ` <mailman.1361.1070913718.399.help-gnu-emacs@gnu.org>
2003-12-08 19:45     ` Glenn Morris
2003-12-08 23:38       ` gebser
2003-12-09  1:37         ` Glenn Morris
2003-12-09 18:27           ` gebser
  -- strict thread matches above, loose matches on Subject: below --
2003-12-07  3:41 gebser
2003-12-07 19:59 ` gebser

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=xkr7zdlqvp.fsf@xpc14.ast.cam.ac.uk \
    --to=gmorris+news@ast.cam.ac.uk \
    /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.