Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* SMTP-AUTH and TLS
@ 2007-10-02 13:07 Tobias Brink
  2007-10-03 23:05 ` Tobias Brink
  0 siblings, 1 reply; 6+ messages in thread
From: Tobias Brink @ 2007-10-02 13:07 UTC (permalink / raw)
  To: info-gnus-english

Hello.

I want to send mail via SMTP.  The server in question demands clients
to connect encrypted and authenticate using SMTP-AUTH PLAIN.  The
server refuses unencrypted authentication and refuses to relay mail
from unauthenticated connections.

I have the following in my .gnus.el:

  (setq send-mail-function 'smtpmail-send-it)
  (setq message-send-mail-function 'smtpmail-send-it)
  (setq smtpmail-starttls-credentials
      '(("smtp.myserver.tld" 25 nil nil)))
  (setq smtpmail-default-smtp-server "smtp.myserver.tld")

and something like the following in .authinfo:

  machine smtp.myserver.tld login tobias password secret

From setting `smtpmail-debug-info' and `smtpmail-debug-verb' to `t' I
see that Gnus doesn't even try to use TLS and authenticate (at least I
interpret the following output to mean that):

Sending...
Sending via mail...
220 smtp.myserver.tld ESMTP Postfix
250-smtp.myserver.tld
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
250 2.1.0 Ok
554 5.7.1 <someone@someisp.tld>: Relay access denied
221 2.0.0 Bye
smtpmail-send-it: Sending failed; SMTP protocol error

Setting up KMail to use this server works so the error must be in my
Gnus configuration, only I don't know where.

Versions: Gnus 5.11, GNU Emacs 22.1.1

Thanks in advance,
Tobias

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

end of thread, other threads:[~2007-10-08 20:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-02 13:07 SMTP-AUTH and TLS Tobias Brink
2007-10-03 23:05 ` Tobias Brink
2007-10-04 16:44   ` Reiner Steib
2007-10-08 18:03   ` someusernamehere
2007-10-08 18:40     ` Tobias Brink
2007-10-08 20:54       ` someusernamehere

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