From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs MUAs with working smtp authentication? Date: Fri, 01 Sep 2006 11:53:30 +0300 Message-ID: References: <1156912134.588551.151490@m73g2000cwd.googlegroups.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1157100873 10525 80.91.229.2 (1 Sep 2006 08:54:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 08:54:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 01 10:54:28 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJ4mw-0000Yf-0L for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2006 10:54:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ4mv-0001UP-H4 for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Sep 2006 04:54:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJ4mL-0001Ob-04 for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 04:53:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJ4mK-0001OJ-L9 for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 04:53:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ4mK-0001OD-8x for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 04:53:32 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJ4w8-00031R-9b for help-gnu-emacs@gnu.org; Fri, 01 Sep 2006 05:03:40 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-31-5.inter.net.il [80.230.31.5]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id AIV94149 (AUTH halo1); Fri, 1 Sep 2006 11:53:30 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Phillip Lord on Thu, 31 Aug 2006 12:11:53 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37099 Archived-At: > From: Phillip Lord > Date: Thu, 31 Aug 2006 12:11:53 +0100 > > First, the protocol. SMTP uses tls for encryption. The OP didn't mention encryption. If he did, I would have understood the difficulties. But he only mentioned authentication, which I use on my system without any significant problems. > Second, the defaults. To use TLS, you have to reconfigure things like > the ports manually, and have to do so in multiple places. So, for > example, from the smtpmail documentation..... > [...] > Now authentication mail often uses a different port. So you have to > change this. But this is done in smtpmail-smtp-service. The 25's in > auth-credentials are only used to determine which credentials should > be used. Confusing. I don't know what the standards are, but most mail > readers you just click "SSL/TLS encryption" and the ports get set, or > guessed, automatically. I suggest to post these (IMHO justified) complaints on emacs-devel@gnu.org, where the smtpmail maintainer will see them. > Third, the documentation. Take... > > ;;(setq smtpmail-starttls-credentials > ;; '(("YOUR SMTP HOST" 25 "~/.my_smtp_tls.key" "~/.my_smtp_tls.cert"))) > > > So, whats .my_smtp_tls.key then? Where does it come from? How do I get > it? Can I use gnutls to generate it? I have no idea at all. Further > investigation suggests that actually you can leave this blank, and it > should still work. Same here: anything that is unclear in the docs is a bug that should be fixed. Reporting this on emacs-devel will cause the maintainer DTRT. > Finally, it doesn't seem to work on windows. I spent three hours with > a debugger a couple of days ago -- I figured this was the only way to > see if I had the configuration right. It appears that starttls.el uses > Unix specific process handling, so won't work with NTEmacs. I think you are right, but I don't use the TLS encryption in my setup.