From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44363 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail-auth-credentials from authinfo Date: Tue, 23 Apr 2002 19:23:15 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019582663 574 127.0.0.1 (23 Apr 2002 17:24:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 23 Apr 2002 17:24:23 +0000 (UTC) Cc: Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17041e-000099-00 for ; Tue, 23 Apr 2002 19:24:23 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17040v-0008KQ-00; Tue, 23 Apr 2002 12:23:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 23 Apr 2002 12:23:49 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA23919 for ; Tue, 23 Apr 2002 12:23:38 -0500 (CDT) Original-Received: (qmail 3841 invoked by alias); 23 Apr 2002 17:23:21 -0000 Original-Received: (qmail 3836 invoked from network); 23 Apr 2002 17:23:20 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 23 Apr 2002 17:23:20 -0000 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g3NHNHKg025124; Tue, 23 Apr 2002 19:23:18 +0200 Original-To: ding In-Reply-To: (Ted Zlatanov's message of "Tue, 23 Apr 2002 11:53:56 -0400") Mail-Copies-To: nobody Original-Lines: 32 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44363 Ted Zlatanov writes: > I am attaching the netrc.el file, and the patch to gnus-util.el that > will provide backward compatibility (via defalias calls) until the > maintainers of the respective modules want to move to the netrc > function names. I commited it to CVS. Have you signed FSF papers? I'm not sure it is required, strictly speaking the contribution was less than 10 lines, I think. >>> Also smtpmail.el needs to be patched so it accepts the old-style >>> flat lists and the gnus-parse-netrc style output. >> >> I think it would be better if smtpmail.el looked in .authinfo by >> default, and not touch the `smtpmail-auth-credentials' stuff. > > When I know that the netrc.el functionality is accepted, I will try to > modify smtpmail.el further to work with the netrc interface. > smtpmail.el ships with Emacs, while netrc.el does not (yet?), so it > doesn't make sense to modify smtpmail.el to rely on the netrc > functionality only. It should look for netrc first, and failing that > it should try the smtpmail-auth-credentials. I would appreciate > comments from Stephen Cranefield, who's noted in the smtpmail.el > credits as the AUTH support author. It would also be good to know the > chances of having netrc.el included in the main Emacs distro. I agree. Adding netrc.el to XEmacs mail-lib and patching smtpmail.el in (X)Emacs shouldn't be a problem, I'll ask if it is OK to add netrc.el on emacs-devel (altough patches could probably help illustrating how it would work). If you start patching smtpmail.el, look at the latest Emacs CVS version.