Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* smtp protocol error
@ 2006-11-26 12:18 Jens Teich
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Teich @ 2006-11-26 12:18 UTC (permalink / raw)


I want to use gnus for my mail but get an smtp protocol error when I
try to send to another mail address than my own. The error is

| 220 h968740.serverkompetenz.net ESMTP
| EHLO JENS_SONY.jensteich.de
| 250-h968740.serverkompetenz.net
| 250-AUTH LOGIN CRAM-MD5 PLAIN
| 250-AUTH=LOGIN CRAM-MD5 PLAIN
| 250-PIPELINING
| 250 8BITMIME
| MAIL FROM: <info@jensteich.de>
| 250 ok
| RCPT TO: <jensteich@t-online.de>
| 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
| QUIT
| 221 h968740.serverkompetenz.net

This error doesn't make sense to me, because I am able to send emails with
Outlook Express via the same server.

Sending a mail to myself, the result is:

| X-From-Line: info@jensteich.de  Sun Nov 26 12:40:26 2006
| X-Gnus-Mail-Source: pop:info@jensteich.de@jensteich.de
| Message-ID: <upsbaiggl.fsf@totally-fudged-out-message-id>
| Return-Path: <info@jensteich.de>
| Delivered-To: info@jensteich.de
| Received: (qmail 15312 invoked by uid 60000); 26 Nov 2006 11:59:18 -0000
| Received: from 84.142.193.47 by h968740 (envelope-from 
<info@jensteich.de>, uid 60004) with qmail-scanner-1.24st SA 24
|  (spamassassin: 3.0.4.   Clear:RC:0(84.142.193.47):SA:0(0.1/9.0):.
|  Processed in 0.203409 secs); 26 Nov 2006 11:59:18 -0000
| X-Spam-Status: No, hits=0.1 required=9.0
| X-Envelope-From: info@jensteich.de
| Received: from p548ec12f.dip.t-dialin.net (HELO JENS?SONY.jensteich.de) 
(84.142.193.47)
|   by fmbook.de with SMTP; 26 Nov 2006 11:59:18 -0000
| From: info@jensteich.de
| To: info@jensteich.de
| Subject: test
| X-Qmail-Scanner-Message-ID: <116454235889615305@h968740>
| X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on
|  h968740.serverkompetenz.net
| X-Spam-Level:
| X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=0.1 required=9.0 
tests=AWL,NO_REAL_NAME autolearn=no
|  version=3.0.4
| X-Content-Length: 8
| Lines: 3
| Xref: JENS_SONY mail.misc:56
|
| test

my .emacs is

| (setq gnus-select-method '(nntp "news.t-online.de"))

| (require 'smtpmail)
| (setq smtpmail-default-smtp-server "jensteich.de")
| (setq smtpmail-smtp-server "jensteich.de")
| (setq smtpmail-auth-credentials (quote
|                 ("jensteich.de" 25 "info@jensteich.de" "secret")))
|
| (setq send-mail-function         'smtpmail-send-it) ; not for Gnus
| (setq message-send-mail-function 'smtpmail-send-it) ; for Gnus
| (setq user-full-name "Jens Teich")
| (setq smtpmail-local-domain "jensteich.de")
| (setq user-mail-address (concat "info@" smtpmail-local-domain))
|
| (setq mail-sources '((pop :server "jensteich.de"
|      :user "info@jensteich.de"
|      :password "secret")))
|
| (setenv "MAILHOST" "jensteich.de")
| (setq mail-yank-prefix "> ")
| (setq gnus-secondary-select-methods '((nnml "")))


Any clues?

Thx
-jens 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* smtp protocol error
@ 2006-08-18 15:45 Leon
  0 siblings, 0 replies; 2+ messages in thread
From: Leon @ 2006-08-18 15:45 UTC (permalink / raw)


Hi there,

I'm getting an error when sending emails but not news. However if I
delay the email and re-send it from the *draft* group, it will
*succeed*.

The error is:

,----[ Backtrace ]
| 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()
|   #[nil "\b ‡" [message-send-mail-function] 1]()
|   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)
`----

,----[ trace of SMTP session ]
| 250 OK

| RCPT TO:<XXXXX.xXXX@XXXX.com>

| 550-Insecure access forbidden: turn on TLS+AUTH;

| 550 See http://www.cam.ac.uk/cs/email/securehermes.html

| QUIT

| 221 ppsw-0.csi.cam.ac.uk closing connection

| - Peer has closed the GNUTLS connection
`----

My smtp config is:

,----
| (setq message-send-mail-function 'smtpmail-send-it
|       smtpmail-smtp-server "smtp.xxx.ac.uk"
|       smtpmail-starttls-credentials '(("smtp.xxx.ac.uk" 587 nil nil))
|       smtpmail-smtp-service 587
|       smtpmail-debug-info t
|       smtpmail-debug-verb t)
`----

I'm using gnus 5.11 from emacs 20060731.

Thank you for your help.

-- 
Leon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-26 12:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-26 12:18 smtp protocol error Jens Teich
  -- strict thread matches above, loose matches on Subject: below --
2006-08-18 15:45 Leon

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