From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Gnus and outgoing Mail
Date: Sun, 09 Dec 2007 08:24:40 +0100 [thread overview]
Message-ID: <87k5noqqiv.fsf@dell.linuxdev.us.dell.com> (raw)
In-Reply-To: <87sl2c92no.fsf@kamaloka.dhatu> (Sven Bretfeld's message of "Sun\, 09 Dec 2007 00\:39\:55 +0100")
Sven Bretfeld <sven.bretfeld@gmx.ch> writes:
> Hi to all
>
> I'm trying to help a friend to set up Gnus. We have problems with
> outgoing mail. A toggle-debug-on-error doesn't say very much:
>
> Debugger entered--Lisp error: (error "Sending failed; SMTP protocol error")
> signal(error ("Sending failed; SMTP protocol error"))
> error("Sending failed; SMTP protocol error")
> smtpmail-send-it()
> gnus-agent-send-mail()
> message-send-mail(nil)
> message-send-via-mail(nil)
> message-send(nil)
> message-send-and-exit(nil)
> * call-interactively(message-send-and-exit)
>
> The settings in .gnus.el are correct as far as I can say:
>
> (setq smtpmail-smtp-server "mail.gmx.net")
> (setq user-full-name "Stjepan Beles")
> (setq user-mail-address "b.stjepan@gmx.de")
> (setq message-send-mail-real-function 'smtpmail-send-it)
> (add-hook 'message-mode-hook 'turn-on-auto-fill)
>
> (setq smtpmail-auth-credentials
> '(("mail.gmx.net" 25 "***" "***")))
>
> I've tested the same settings with my own GMX account on my machine,
> and it works. mail.gmx.net doesn't require TLS. We both use Debian
> Etch.
>
> How can we get a more telling log? Can any external program produce
> the difficulties (Emacs doesn't make use of the system's MTA, right?).
> Could we have forgotten to install anything?
>
> I'm sorry to ask such a diffuse question. But I'm not physically in
> front of his machine. We communicate via Email. And he is still a
> beginner with Emacs and GNU/Linux, so he cannot ask himself.
>
> Thanks for help
>
Hi, if you write
(setq smtpmail-auth-credentials
'(("mail.gmx.net" 25 "***" "***")))
that mean you want to use starttls and you need to set
mail and password instead of "***" "***" and "mail.gmx.net"
must be the adress of an smtp server.
if you don't use starttls, just write:
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.yourProvider.net")
this will use by default port 25 without password
And are you sure your friend have some MTA installed
(i use nbsmtp)
--
A+ Thierry
Pub key: http://pgp.mit.edu
next prev parent reply other threads:[~2007-12-09 7:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-08 23:39 Gnus and outgoing Mail Sven Bretfeld
2007-12-09 7:24 ` Thierry Volpiatto [this message]
2007-12-09 14:16 ` Sven Bretfeld
2007-12-09 14:33 ` Thierry Volpiatto
2007-12-09 14:38 ` Reiner Steib
[not found] <mailman.4774.1197157208.18990.help-gnu-emacs@gnu.org>
2007-12-09 1:38 ` Exal de Jesus Garcia Carrillo
2007-12-09 16:51 ` Sven Bretfeld
2007-12-09 17:27 ` Thierry Volpiatto
2007-12-09 18:02 ` Sven Bretfeld
2007-12-09 18:35 ` Thierry Volpiatto
[not found] ` <mailman.4798.1197219115.18990.help-gnu-emacs@gnu.org>
2007-12-09 20:26 ` Exal de Jesus Garcia Carrillo
2007-12-10 0:45 ` Sebastian Tennant
2007-12-10 1:16 ` Sven Bretfeld
[not found] ` <mailman.4819.1197249427.18990.help-gnu-emacs@gnu.org>
2007-12-10 5:16 ` Exal de Jesus Garcia Carrillo
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k5noqqiv.fsf@dell.linuxdev.us.dell.com \
--to=thierry.volpiatto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=sven.bretfeld@gmx.ch \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).