From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65652 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: SASL related files in gnus/ Date: Wed, 14 Nov 2007 11:19:31 +0100 Message-ID: <87wsslku30.fsf@mocca.josefsson.org> References: <54a15d860710312047x3cafbba2ke000af9c0f05c2a4@mail.gmail.com> <54a15d860711111704j33ec6452r7f860131f926929e@mail.gmail.com> <87ve873279.fsf@mocca.josefsson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195035657 22371 80.91.229.12 (14 Nov 2007 10:20:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2007 10:20:57 +0000 (UTC) Cc: ueno@unixuser.org, miles@gnu.org, ding@gnus.org, Reiner.Steib@gmx.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: ding-owner+M14150@lists.math.uh.edu Wed Nov 14 11:21:02 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1IsFMj-0003k9-5r for ding-account@gmane.org; Wed, 14 Nov 2007 11:21:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1IsFLo-0007Ed-Ov; Wed, 14 Nov 2007 04:20:04 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1IsFLm-0007EN-Kx for ding@lists.math.uh.edu; Wed, 14 Nov 2007 04:20:02 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1IsFLg-0000Rp-FS for ding@lists.math.uh.edu; Wed, 14 Nov 2007 04:20:02 -0600 Original-Received: from yxa.extundo.com ([83.241.177.38]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1IsFLb-0002v2-00 for ; Wed, 14 Nov 2007 11:19:51 +0100 Original-Received: from mocca.josefsson.org (yxa.extundo.com [83.241.177.38]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id lAEAJVFO027232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Nov 2007 11:19:31 +0100 OpenPGP: id=B565716F; url=http://josefsson.org/key.txt Mail-Copies-To: nobody X-Hashcash: 1:22:071114:emacs-devel@gnu.org::w0S4mkacYoAotHZi:1VT5 X-Hashcash: 1:22:071114:miles@gnu.org::PtKMHuaznGXdb+S+:5FXM X-Hashcash: 1:22:071114:reiner.steib@gmx.de::AqoKaerlbKLxIMgn:A2vr X-Hashcash: 1:22:071114:rms@gnu.org::+roO7HocVSHO1XZE:QDTU X-Hashcash: 1:22:071114:ueno@unixuser.org::aFjGfO2ADbOEW6u8:f18a X-Hashcash: 1:22:071114:ding@gnus.org::+Zsk8R/x4ITf0w//:05qTu In-Reply-To: (Richard Stallman's message of "Tue, 13 Nov 2007 00:10:37 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) X-Spam-Status: No, score=-0.0 required=4.0 tests=SPF_PASS autolearn=disabled version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on yxa-iv X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on yxa.extundo.com X-Virus-Status: Clean X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:65652 gmane.emacs.devel:83180 Archived-At: Richard Stallman writes: > I think we should add these files, SASL is a standard and this > implementation of it is good. > > The question is, do they belong in Gnus or outside Gnus? > > What is SASL? What does it do? What job do these files do? Is it a > job specifically related to news or mail? > > Could this feature work with Rmail or Mail mode? > Could these files work with Rmail mode or Mail mode? Manoj answered most of those questions, but let me add: SASL is mostly used by mail (both SMTP and IMAP), but is supported by many other protocols such as LDAP, ManageSieve and (I believe) even NNTP. In Emacs, as far as I remember, it is only used by imap.el (which is not Gnus-specific), and sieve-manage.el (also not Gnus-specific). smtpmail.el contains a simplistic SASL implementation, that only supports CRAM-MD5, LOGIN and PLAIN. Ideally, smtpmail.el should be modified to use sasl.el, to avoid duplicating code, but it is not a high priority. I don't think SASL is related to what Rmail or Mail does, SASL is only used by packages that speak network protocols and need authentication services. /Simon