Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: "Emily Jackson" <m5comp@fastmail.fm.munged>
Subject: Re: SMTP-AUTH and STARTTLS
Date: Sun, 13 Feb 2005 05:43:39 -0600	[thread overview]
Message-ID: <m2psz4ofbo.fsf@M5.local> (raw)
In-Reply-To: <m2brap1bi2.fsf@juniper.local>

>>>>> "Charles" == Charles Collicutt <charles.collicutt@holyblasphemy.org> writes:

    Charles> Despite the fact that my SMTP server advertises CRAM-MD5,
    Charles> smtpmail always authenticates with LOGIN. This wouldn't be
    Charles> so bad if it used TLS but it refuses to do that either, so
    Charles> it sends my password in plaintext, which is not good.

To use TLS you need to have either the starttls command-line tool
(available from <ftp://ftp.opaopa.org/pub/elisp/starttls-0.9.tar.gz>) or
gnutls (can be installed via fink [if you use fink]) installed. I have
the former installed and TLS works for me (at least it did the last time
I tried it). Here are the relevant lines from my .gnus.el (this is to
use STARTTLS on port 26):

(setq smtpmail-smtp-service 26)
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-smtp-server "mail.messagingengine.com")
(setq smtpmail-auth-credentials
           '(("mail.messagingengine.com" 26 "username" "password")))
(setq smtpmail-starttls-credentials
           '(("mail.messagingengine.com" 26 nil nil)))

HTH,

Emily

-- 
"If it seem slow, wait for it; it will surely come, it will not delay."
Emily Jackson
E-mail address altered; reply to m5comp AT fastmail DOT fm
<http://home.hiwaay.net/~emilyj/missjackson.html>


  reply	other threads:[~2005-02-13 11:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-13  1:42 Charles Collicutt
2005-02-13 11:43 ` Emily Jackson [this message]
2005-02-13 13:35   ` Charles Collicutt
2005-03-21 18:49     ` Simon Josefsson
2006-03-13 22:22       ` Jamie Riden
2006-03-25 15:21         ` dvd

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=m2psz4ofbo.fsf@M5.local \
    --to=m5comp@fastmail.fm.munged \
    /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).