From: Stephen Berman <Stephen.Berman@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: SMTP library problem
Date: Thu, 06 Mar 2008 01:13:02 +0100 [thread overview]
Message-ID: <87r6eo1zht.fsf@escher.local.home> (raw)
In-Reply-To: kzzltcixim.fsf@kafka.physik3.gwdg.de
On Thu, 06 Mar 2008 00:03:45 +0100 David <de_bb@arcor.de> wrote:
> Stephen Berman <Stephen.Berman@gmx.net> 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
With this I get the same results as with smtpmail.el:
$ telnet mail.myprovider.com 465
Trying 123.456.78.9...
Connected to mail.myprovider.com.
Escape character is '^]'.
454 TLS connection failed: timed out (#4.3.0)
Connection closed by foreign host.
>> 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.
Telnetting to port 25 just times out as above with no port. I also
tried swaks:
$ swaks -s mail.myprovider.com
To: stephen.berman@gmx.net
=== Trying mail.myprovider.com:25...
*** Error connecting 0.0.0.0 to mail.myprovider.com:25:
*** IO::Socket::INET: connect: timeout
$ swaks -s mail.myprovider.com -p 465
To: stephen.berman@gmx.net
=== Trying mail.myprovider.com:465...
=== Connected to mail.myprovider.com.
<** Timeout (30 secs) waiting for server response
-> QUIT
<** Timeout (30 secs) waiting for server response
=== Connection closed with remote host.
Again, I can send and receive mail via this server using KMail, which I
set up simply by providing the server's FQDN and my user name (KMail
figured out the port and authorization method and prompts for my
password). So I expected (and still hope) there's some way to access it
with Gnus.
Steve Berman
next prev parent reply other threads:[~2008-03-06 0:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 18:09 SMTP library problem James Long
2008-03-05 11:11 ` Stephen Berman
2008-03-05 12:54 ` David
2008-03-05 19:41 ` Stephen Berman
2008-03-05 23:03 ` David
2008-03-06 0:13 ` Stephen Berman [this message]
2008-03-06 11:17 ` David
2008-03-07 14:26 ` Stephen Berman
2008-03-07 15:03 ` David
2008-03-07 22:03 ` Stephen Berman
2008-03-08 14:47 ` David
2008-03-08 23:29 ` Stephen Berman
2008-03-09 12:15 ` David
2008-03-09 15:35 ` Stephen Berman
[not found] ` <mailman.8558.1204987691.18990.help-gnu-emacs@gnu.org>
2008-03-09 17:26 ` Richard G Riley
2008-03-12 20:22 ` SMTP library problem [RESOLVED] Stephen Berman
[not found] <mailman.8306.1204670276.18990.help-gnu-emacs@gnu.org>
2008-03-05 6:42 ` SMTP library problem Volkan YAZICI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r6eo1zht.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.