From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80168 Path: news.gmane.org!not-for-mail From: zwz Newsgroups: gmane.emacs.gnus.general Subject: settings for multiple smtp accounts Date: Tue, 04 Oct 2011 21:45:24 +0800 Message-ID: <87d3ecdg5n.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1317737930 23439 80.91.229.12 (4 Oct 2011 14:18:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 14:18:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28462@lists.math.uh.edu Tue Oct 04 16:18:46 2011 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.69) (envelope-from ) id 1RB5pV-0004Ka-Ld for ding-account@gmane.org; Tue, 04 Oct 2011 16:18:45 +0200 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 1RB5oT-00061e-Sw; Tue, 04 Oct 2011 09:17:41 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RB5DG-0005qW-M0 for ding@lists.math.uh.edu; Tue, 04 Oct 2011 08:39:14 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RB5DF-0006BS-Dv for ding@lists.math.uh.edu; Tue, 04 Oct 2011 08:39:14 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RB5DD-0001G2-FL for ding@gnus.org; Tue, 04 Oct 2011 15:39:11 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RB5DC-0004Po-Sn for ding@gnus.org; Tue, 04 Oct 2011 15:39:10 +0200 Original-Received: from 60.191.28.52 ([60.191.28.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 15:39:10 +0200 Original-Received: from zhangweize by 60.191.28.52 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 15:39:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 60.191.28.52 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:IAXcueo+OKynab+L2a9t7ydIkls= X-Spam-Score: -3.3 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80168 Archived-At: There has been a good setting for multiple smtp accounts on emacswiki. However, it has to list the email accounts literally, which is not convenient for config-sharing with good privacy protection. Since all the smtp accounts are listed in .authinfo.gpg, I wonder if it is possible to set up multiple smtp accounts so that it can infer the right smtp server and port, from the "from" part of the email and .authinfo.gpg directly.