From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Newsgroups: gmane.emacs.help Subject: Re: SMTP library problem Date: Thu, 06 Mar 2008 00:03:45 +0100 Message-ID: References: <954cc8bb0803041009pda5f74aq23323b1e9dc4e85b@mail.gmail.com> <87zltdwhl7.fsf@escher.local.home> <87tzjlvtzs.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204758272 22634 80.91.229.12 (5 Mar 2008 23:04:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Mar 2008 23:04:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 06 00:04:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JX2fR-0002c9-0T for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Mar 2008 00:04:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX2et-0007bE-OP for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Mar 2008 18:04:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JX2ea-0007Zu-2E for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 18:04:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JX2eZ-0007Zi-Dl for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 18:04:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JX2eZ-0007Zf-BB for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 18:04:03 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JX2eY-0007AW-QC for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 18:04:03 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JX2eR-0004ei-HH for help-gnu-emacs@gnu.org; Wed, 05 Mar 2008 23:03:55 +0000 Original-Received: from kafka.physik3.gwdg.de ([134.76.92.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 23:03:55 +0000 Original-Received: from de_bb by kafka.physik3.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Mar 2008 23:03:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: kafka.physik3.gwdg.de User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:ig4p6MRCQyALUAaNlauXtjZvGxg= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:52076 Archived-At: Stephen Berman writes: >> Could it be that the SMTP server does ssmtp (usually on port 465) >> instead of SMTP+STARTTLS? > > The does indeed use port 465 (and I set smtpmail-smtp-service to 465). > Are you saying that smtpmail.el does not support ssmtp? I don't know, but I don't see any option to activate it. >> Do you see a greeting message from the server >> when you connect to it with telnet? > > No: > > $ telnet mail.myprovider.com > Trying 123.456.78.9... > telnet: connect to address 123.456.78.9: Connection timed out I should have mentioned that you have to try the port you want to connect to, i.e. telnet mail.myprovider.com 465 > I know nothing about ssmtp. Assuming the server does use it, is there a > way to access it from Gnus? ssmtp simply means that the TLS connection is established immediately, whereas SMTP+STARTTLS first does the EHLO-stuff in clear text and the TLS connection is only established if the server advertises it to the client. AFAIK, ssmtp is more or less deprecated and servers support it only because of MS Outlook. Nowadays, TLS connections are usually done on the standard port 25, so this is the first you should try. You can test this by using a tool like 'swaks' or simply with telnet: telnet mail.myprovider.com 25 and after the greeting you type something like EHLO my.address.com and if the server answers 250-STARTTLS it should work with smtpmail.el. -David