From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44296 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: smtpmail-auth-credentials from authinfo Date: Fri, 19 Apr 2002 16:47:54 +0200 (CEST) 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 1019227746 4516 127.0.0.1 (19 Apr 2002 14:49:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 14:49:06 +0000 (UTC) Cc: ding , 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 16yZhC-0001Aj-00 for ; Fri, 19 Apr 2002 16:49:06 +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 16yZgN-0003j9-00; Fri, 19 Apr 2002 09:48:15 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Apr 2002 09:48:26 -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 JAA04016 for ; Fri, 19 Apr 2002 09:48:16 -0500 (CDT) Original-Received: (qmail 23159 invoked by alias); 19 Apr 2002 14:47:59 -0000 Original-Received: (qmail 23153 invoked from network); 19 Apr 2002 14:47:58 -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; 19 Apr 2002 14:47:58 -0000 Original-Received: from yxa.extundo.com (localhost.localdomain [127.0.0.1]) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g3JElsKY000441; Fri, 19 Apr 2002 16:47:54 +0200 Original-Received: from localhost (jas@localhost) by yxa.extundo.com (8.12.2/8.12.1/Submit) with ESMTP id g3JEls7W000438; Fri, 19 Apr 2002 16:47:54 +0200 X-Authentication-Warning: yxa.extundo.com: jas owned process doing -bs Original-To: Ted Zlatanov In-Reply-To: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44296 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44296 On Fri, 19 Apr 2002, Ted Zlatanov wrote: > I had to write this for my own authentication (so I could share my > .gnus.el). I didn't want my smtpmail-auth-credentials to be in the > clear, and it seemed like a better idea to do it through authinfo. You can set `smtpmail-auth-credentials' from some other place than .gnus.el, and protect that file in the same way you protect .authinfo. > Has anyone else done something similar? The solution below requires > .authinfo lines formatted "machine xyz port 25 login abc password ijk" > which is, perhaps, too inflexible. Suggestions are welcome. > .authinfo support should probably go into the next smtpmail.el as > well, at least as an option. Isolating authinfo into a separate package and making it available for all emacs applications, and then making Gnus and smtpmail use the new interface, seems like a good idea. Do you want to do it or should I?