From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vijay Lakshminarayanan Newsgroups: gmane.emacs.help Subject: Re: extract smtpmail data from .authinfo (or .authinfo.gpg)? Date: Wed, 17 Aug 2011 09:07:05 +0530 Message-ID: <87vctwg13y.fsf@gmail.com> References: <87liusrh3h.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313552247 17115 80.91.229.12 (17 Aug 2011 03:37:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 03:37:27 +0000 (UTC) Cc: Tom Roche To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 05:37:24 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QtWwV-0007qv-Oy for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 05:37:23 +0200 Original-Received: from localhost ([::1]:39467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtWwV-0000Dh-1E for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Aug 2011 23:37:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:41678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtWwQ-0000DT-0o for help-gnu-emacs@gnu.org; Tue, 16 Aug 2011 23:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtWwO-0001Yd-Hu for help-gnu-emacs@gnu.org; Tue, 16 Aug 2011 23:37:17 -0400 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:51094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtWwO-0001XM-5Y for help-gnu-emacs@gnu.org; Tue, 16 Aug 2011 23:37:16 -0400 Original-Received: by pzk36 with SMTP id 36so357189pzk.17 for ; Tue, 16 Aug 2011 20:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7dP/DtRwGVULpBTaUGUk9Y679uU1K8bnbDcTOIulpMs=; b=Cvm6MNbmE0BF+lWBQHcuafsii5sM0sxIoxaDAQZnnVQ5K3i5dBLhKNYyAGb6c3TmYI mu4VYCcPRYLzDD1sFzgAVP57Z8mdh4TH909nORlBrorSBCyu6G8l8pfQmyZWtswC+zy3 ndAQerh/Dlitdq7dV2xe/Q5h1XVU5UgQdOWfA= Original-Received: by 10.143.76.10 with SMTP id d10mr227713wfl.332.1313552234651; Tue, 16 Aug 2011 20:37:14 -0700 (PDT) Original-Received: from BALROG ([59.92.5.99]) by mx.google.com with ESMTPS id i8sm274581pbi.60.2011.08.16.20.37.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 16 Aug 2011 20:37:13 -0700 (PDT) In-Reply-To: <87liusrh3h.fsf@pobox.com> (Tom Roche's message of "Tue, 16 Aug 2011 20:56:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.44 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81965 Archived-At: Tom Roche writes: > ). Is there a way I can make my elisp use .authinfo directly, or scrape > the relevant data from .authinfo? Or better yet, from .authinfo.gpg? > (And I'd appreciate pointers to tutorials regarding use of > .authinfo.gpg, and GPG with smtpmail generally.) As long as you have gnupg in your PATH, things should generally Just Work. Open your .authinfo, C-x w .authinfo.gpg and Emacs will ask you for a password for the file. And then you're done. -- Cheers ~vijay Gnus should be more complicated.