Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: William F Hammond <hammond@csc.albany.edu>
Subject: Re: failure using starttls with Oort gnus/imap
Date: 23 Mar 2003 08:56:57 -0500	[thread overview]
Message-ID: <i7r88y6v9y.fsf@hilbert.math.albany.edu> (raw)
In-Reply-To: <iluu1dvwbxc.fsf@latte.josefsson.org>

Simon Josefsson <jas@extundo.com> writes:

> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
. . .
> > The problem seems to be more fundamental.  `imap-open' may kill the
> > buffer it's been fed, for some reason or other, which makes
> > `mail-source-fetch-imap' very unhappy, since it created the buffer.
> >
> > Perhaps Simon knows what the right fix for this should be?  (I think
> > it's probably a mistake for `imap-open' to kill the buffer...)
> 
> imap.el connects to the server initially, and then looks at what
> authentication/stream mechanisms are available ("starttls", "imtest",
> etc), and then tries each one of them in order until someone succeeds.
> These subsequent connections are made in a temporary buffer.  If one
> of them succeeds, the first buffer is closed and the new one renamed
> to the old one.
> 
> This works fine in Gnus which usually uses name of buffers, but I
> guess mail-sources use the elisp buffer type instead.
> 
> The reason the initial buffer isn't teared down and the other streams
> are invoked in the same buffer, is that imap.el can (and frequently
> does) decide to use that connection if no stronger
> stream/authentication succeeded.  So if it is teared down, it would
> have to reopen it.

Many thanks to both of you.

I just want to point out three things:

  0.  Very, very small messages seem to get through.

  1.  The same set-up talking to the same imap server (cyrus) for the
      same account from a GNU/Linux host works fine.

  2.  A mail-sources set-up that differs only in the mail-sources spec
      having

                :stream    ssl

      works fine on the same SunOS 5.8 host.

So I'm inclined to guess that at the base some library call by
starttls is not doing what is expected.  Unfortunately I'm not in a
position to give starttls (v. 0.9) a free-standing check out.

Thanks again.

                                    -- Bill


      reply	other threads:[~2003-03-23 13:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <i74r6cl1w0.fsf@hilbert.math.albany.edu>
2003-03-17 13:55 ` Lars Magne Ingebrigtsen
     [not found]   ` <i7wuitlxum.fsf@hilbert.math.albany.edu>
2003-03-22 14:31     ` Lars Magne Ingebrigtsen
2003-03-22 17:25       ` Simon Josefsson
2003-03-23 13:56         ` William F Hammond [this message]

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=i7r88y6v9y.fsf@hilbert.math.albany.edu \
    --to=hammond@csc.albany.edu \
    --cc=hammond@math.albany.edu \
    /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).