From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66385 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: mail-source.el patch to use netrc-parse Date: Thu, 28 Feb 2008 09:38:21 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <86d4qhm6qa.fsf@lifelogs.com> References: <86ejbrrvg3.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204213086 25485 80.91.229.12 (28 Feb 2008 15:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Feb 2008 15:38:06 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M14875@lists.math.uh.edu Thu Feb 28 16:38:32 2008 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 1JUkpP-0003yA-7J for ding-account@gmane.org; Thu, 28 Feb 2008 16:37:47 +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 1JUkoa-0008I7-HB; Thu, 28 Feb 2008 09:36:56 -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 1JUkoZ-0008Hm-2k for ding@lists.math.uh.edu; Thu, 28 Feb 2008 09:36:55 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JUkoT-0005wN-35 for ding@lists.math.uh.edu; Thu, 28 Feb 2008 09:36:54 -0600 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JUkoY-0005Ww-00 for ; Thu, 28 Feb 2008 16:36:54 +0100 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id 94D443E8081 for ; Thu, 28 Feb 2008 07:37:30 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:080228:ding@gnus.org::vL/mvfdn0Z8ioC86:00003fs4 In-Reply-To: (Reiner Steib's message of "Sat, 16 Feb 2008 23:21:25 +0100") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66385 Archived-At: Reiner Steib wrote: > Ted Zlatanov wrote: > > modifies mail-source.el to use a netrc (~/.authinfo) file for IMAP > > fetching. It will be triggered when mail-source-authinfo-file is > > not nil. It will override the :user and > > :password parameters set in mail-sources unconditionally. > Is it good to override it? Wouldn't it be more natural if > `mail-source-authinfo-file' is used if no user/password is given in > `mail-sources'? I think you're right. > > This allows users to store their passwords for an IMAP mail source > > in the authinfo file, encrypted if necessary. > I think this is useful. > > I use this for my IMAP fetching and it worked fine; please test > > (also if you don't use the feature, make sure your IMAP fetching > > works OK). I won't commit until I get confirmations it works, since > > mail fetching is a sensitive area for improvements. > > > > I plan to add this to POP and webmail fetching as well, possibly through > > mail-source-bind instead of in each individual fetching function. > > Please let me know what you think. > I'm not sure if I understand what you have in mind. Right now it's a special case for IMAP. Instead, I could set up mail-source-bind to read the authentication info and bind the corresponding variables for every mail source available. But also see my authinfo proposal, sent separately. Ted