unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David <de_bb@arcor.de>
To: help-gnu-emacs@gnu.org
Subject: Re: SMTP library problem
Date: Thu, 06 Mar 2008 00:03:45 +0100	[thread overview]
Message-ID: <kzzltcixim.fsf@kafka.physik3.gwdg.de> (raw)
In-Reply-To: 87tzjlvtzs.fsf@escher.local.home

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

> 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






  reply	other threads:[~2008-03-05 23:03 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 [this message]
2008-03-06  0:13         ` Stephen Berman
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kzzltcixim.fsf@kafka.physik3.gwdg.de \
    --to=de_bb@arcor.de \
    --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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).