Gnus development mailing list
 help / color / mirror / Atom feed
From: Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
To: ding@gnus.org
Subject: Re: smtpmail and gmx
Date: Tue, 11 Dec 2018 19:03:15 +0100	[thread overview]
Message-ID: <87va40c55o.fsf@informationelle-selbstbestimmung-im-internet.de> (raw)
In-Reply-To: <87a7lcqcfi.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 11 Dec 2018 17:02:25 +0100")

On 2018-12-11, at 17:02, Uwe Brauer wrote:

> Oops, according to the documentation it should be mail.gmx.de
> in thunderbird port 587 works, but 
> gnutls-cli --insecure -p 587 mail.gmx.de
>
> Does not work while 
>
> gnutls-cli --insecure -p 465 mail.gmx.de
>
> Works, 
>
> But       (setq smtpmail-auth-credentials '(("mail.gmx.de" 465 "user"
> nil)))
>
> Does not work.

Port 465 is SMTPS, while port 587 starts out with plaintext SMTP and
uses STARTTLS to switch to TLS.  You need to use --starttls with
gnutls-cli, probably also --crlf:
gnutls-cli --insecure --crlf --starttls -p 587 mail.gmx.de
Afterwards, you need to talk SMTP: Type “ehlo localhost”, then
“starttls”; press ctrl-d to enter TLS mode, which shows crypto
details.

I set smtpmail-smtp-server, smtpmail-smtp-service, and
smtpmail-smtp-user and use ~/.authinfo.gpg for passwords;
smtpmail-auth-credentials does not exist here.  Also, I have this
(where the first two entries are not used any longer):

;; smtpmail may use STARTTLS via gnutls, if supported.
;; Enforce it, give extra argument for certificate pinning.
(setq smtpmail-stream-type 'starttls
      starttls-extra-arguments '("--strict-tofu"))

Best wishes
Jens



  reply	other threads:[~2018-12-11 18:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-11 14:17 Uwe Brauer
2018-12-11 14:38 ` Uwe Brauer
2018-12-11 14:43   ` Uwe Brauer
2018-12-11 15:02     ` Adam Sjøgren
2018-12-11 16:02       ` Uwe Brauer
2018-12-11 18:03         ` Jens Lechtenboerger [this message]
2018-12-11 22:26           ` Uwe Brauer
2018-12-11 22:28           ` Uwe Brauer
2018-12-12  6:43             ` Eric S Fraga
2018-12-12  8:31             ` Adam Sjøgren
2018-12-11 18:29         ` Andreas Schwab
2018-12-11 20:41           ` [feedmail] (was: smtpmail and gmx) Uwe Brauer
2018-12-11 20:17         ` smtpmail and gmx Michael Albinus
2019-03-13  4:31           ` 황병희
2018-12-11 14:44   ` Robert Pluim
2018-12-11 14:47     ` Uwe Brauer

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=87va40c55o.fsf@informationelle-selbstbestimmung-im-internet.de \
    --to=jens.lechtenboerger@fsfe.org \
    --cc=ding@gnus.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 NNTP newsgroup(s).