From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9722 Path: news.gmane.org!not-for-mail From: Tobias Brink Newsgroups: gmane.emacs.gnus.user Subject: SMTP-AUTH and TLS Date: Tue, 02 Oct 2007 15:07:13 +0200 Organization: T-Online Message-ID: <87odfh1x8e.fsf@tobe.homeunix.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191334760 11483 80.91.229.12 (2 Oct 2007 14:19:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2007 14:19:20 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue Oct 02 16:19:09 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IciaT-0006HB-1b for gegu-info-gnus-english@m.gmane.org; Tue, 02 Oct 2007 16:19:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IciaO-000530-Lk for gegu-info-gnus-english@m.gmane.org; Tue, 02 Oct 2007 10:18:56 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 47 Original-X-Trace: news.t-online.com 1191330433 00 12424 xclO1sW1+sP+Rib 071002 13:07:13 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: VrlvdkZvrebSF8tvo4p970iLQ8kWT2GvTg4zYDcub11-mCcKJiNiol User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:EJqqpOMrrUKcLSXe0elc8nPDvMU= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79926 X-Mailman-Approved-At: Tue, 02 Oct 2007 10:18:54 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9722 Archived-At: 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 : 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