unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: APOP support in movemail
Date: Sun, 09 Nov 2003 02:03:04 +0100	[thread overview]
Message-ID: <ilu1xsiqrp3.fsf@latte.josefsson.org> (raw)
In-Reply-To: <3405-Sat08Nov2003183910+0200-eliz@elta.co.il> (Eli Zaretskii's message of "Sat, 08 Nov 2003 18:39:11 +0200")

"Eli Zaretskii" <eliz@elta.co.il> writes:

>> From: Richard Stallman <rms@gnu.org>
>> Date: Fri, 07 Nov 2003 21:16:04 -0500
>> 
>> I think it is useful at this point for me to restate the GNU project
>> policy that support for non-free operating systems such as Windows is
>> a secondary priority.  We will not make major design decisions based
>> on what does or does not suit Windows.
>
> I'm with you on that, but this policy is not really relevant to this
> discussion: APOP is not a Windows-only feature, and neither does it
> favor Windows in any way.  GNU and Unix users will need APOP in
> movemail as long as we continue using movemail as the primary means of
> fetching mail from POP3 servers into Emacs.

Continuing to support movemail in Emacs only because it works on
Windows, even though the best long-term solution may be to choice
something else (that might not work immediately for Windows), would be
relevant, I think.  The 'something else' solution might be to move
'movemail' into GNU MailUtils and have it use the MailUtils POP3
library (which already support APOP and STARTTLS, judging from a quick
browse in the MailUtils CVS).

Consider also the question of adding support for STARTTLS or SASL
(e.g., to support Kerberos 5 via GSSAPI) to movemail as well.  Adding
these features when movemail is part of Emacs would make Emacs depend
directly on the MailUtils library, GNUTLS and/or GNU SASL.  I have
received several requests for this feature for SMTP, I suspect POP3
users will start to request it as well.

The ideal solution would, IMHO, be to have only interface in Emacs to
access POP3 and make it supports all features users wants.  Right now,
I believe there are too many solutions, all with different kind of
feature sets and bugs.  It is difficult to write good manuals or
answer user questions for this kind of situation.

  - movemail.  Works on Windows.  No APOP/STARTTLS/SASL.
  - pop3.el.  Works on Windows (?).  Support APOP.  No STARTTLS/SASL.
  - epop3 (not part of Emacs).  Works on Windows (?).  Support APOP, and
    "leave-mail-on-server" feature frequently requested.
  - fetchmail (not part of Emacs).  Works on Windows (?).  Supports
    GSSAPI/Kerberos.

As for the solution, I think I would vote for extending pop3.el with
e.g. APOP functionality, and have it fall back to an external
application (e.g., 'gsasl') instead of `open-network-stream', for
those authentication systems that can't be implemented natively in
elisp (STARTTLS and certain SASL mechanisms).  Most of this code has
already been written, but it would have to be adapted for pop3.el.

The 'movemail' application could remain in Emacs, but it would only be
responsible for moving mail from /var/spool/mail.  (Although is it
still the case that the special file locking movemail does cannot be
implemented in elisp?)

An alternative is to move 'movemail' to MailUtils, and make it use the
MailUtils library (to get you the APOP support, and possibly other
features, such as UIDL which I believe is required for
"leave-mail-on-server").

A combination is possible, e.g. extend pop3.el as described, _and_
move 'movemail' to MailUtils and extend it to support APOP.  This
might be required for backwards compatibility.

Of course, simply adding APOP support to movemail in Emacs could be
done now, pending the above migration that will bring users support
for STARTTLS, SASL, UIDL etc.

  reply	other threads:[~2003-11-09  1:03 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-04  6:14 APOP support in movemail Eli Zaretskii
2003-11-04  6:34 ` Lars Magne Ingebrigtsen
2003-11-05  5:50   ` Eli Zaretskii
2003-11-05 20:50     ` Simon Josefsson
2003-11-06  9:42       ` Eli Zaretskii
2003-11-06 12:33         ` Simon Josefsson
2003-11-08  2:16           ` Richard Stallman
2003-11-08 16:39             ` Eli Zaretskii
2003-11-09  1:03               ` Simon Josefsson [this message]
2003-11-09  6:19                 ` Eli Zaretskii
2003-11-09 12:43                 ` Robert J. Chassell
2003-11-09 13:01                   ` David Kastrup
2003-11-09 22:58                     ` Robert J. Chassell
2003-11-10  5:51                       ` Karl Eichwalder
2003-11-10  6:18                         ` Miles Bader
2003-11-10 12:56                         ` Robert J. Chassell
2003-11-10 13:33                           ` David Kastrup
2003-11-10 19:59                           ` Eli Zaretskii
2003-11-09 17:00                   ` Eli Zaretskii
2003-11-06 12:45         ` Jason Rumney
2003-11-07  1:00     ` Richard Stallman

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=ilu1xsiqrp3.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).