From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80587 Path: news.gmane.org!not-for-mail From: Kan-Ru Chen Newsgroups: gmane.emacs.gnus.general Subject: Re: sendmail/smtpmail etc. Date: Wed, 16 Nov 2011 11:08:36 +0800 Message-ID: <87aa7w3gsr.fsf@isil.kanru.info> References: <87hb254ciw.fsf@isil.kanru.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321412968 19327 80.91.229.12 (16 Nov 2011 03:09:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Nov 2011 03:09:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28870@lists.math.uh.edu Wed Nov 16 04:09:24 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 1RQVsJ-0004nv-Mb for ding-account@gmane.org; Wed, 16 Nov 2011 04:09:24 +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 1RQVru-0000Jv-1j; Tue, 15 Nov 2011 21:08:58 -0600 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 1RQVrs-0000Jh-Em for ding@lists.math.uh.edu; Tue, 15 Nov 2011 21:08:56 -0600 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 1RQVrn-00039v-IN for ding@lists.math.uh.edu; Tue, 15 Nov 2011 21:08:56 -0600 Original-Received: from mail-yx0-f172.google.com ([209.85.213.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RQVrl-0004cT-Vz for ding@gnus.org; Wed, 16 Nov 2011 04:08:50 +0100 Original-Received: by yenq4 with SMTP id q4so7140468yen.17 for ; Tue, 15 Nov 2011 19:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=1ue2VbDyH/I6vtD3ou3AVJjdGtur3D7qZlh/InoD7QA=; b=Zpx0PzEarQEEXYurH5T2kHMNh2cQX0qkuOpKy5VIgLAzsN24rifJF8Lgt9GuG0aer/ LdLlhMw01Q/wGt4x3HWXz/O2h/+fLiIgfdZKrZJNvy3/cQliZ7wDb003wRMP1qz3bsH2 Irw7IKIE2lOa4fYxxkotUxIY4MuTEe/dZzYmg= Original-Received: by 10.101.118.3 with SMTP id v3mr9238447anm.4.1321412923680; Tue, 15 Nov 2011 19:08:43 -0800 (PST) Original-Received: from isil.kanru.info (61-228-147-86.dynamic.hinet.net. [61.228.147.86]) by mx.google.com with ESMTPS id l18sm51663556anb.22.2011.11.15.19.08.39 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Nov 2011 19:08:41 -0800 (PST) Original-Received: from localhost.localdomain ([127.0.0.1] helo=isil.kanru.info) by isil.kanru.info with esmtp (Exim 4.77) (envelope-from ) id 1RQVrY-0006HP-W7 for ding@gnus.org; Wed, 16 Nov 2011 11:08:37 +0800 In-Reply-To: (Richard Riley's message of "Wed, 16 Nov 2011 02:58:23 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80587 Archived-At: Richard Riley writes: >> Do you want to use different configuration for different sending >> address? I use the recipe from >> http://www.emacswiki.org/emacs/MultipleSMTPAccounts but add hook to >> message-send-mail-hook so it works no matter it's sent directly or from >> the queue. > > No. I want to use the relevant smtp server that corresponds to the mail > server in question with the auth details passed from emacs and my secure > authinfo.gpg file. In fact, and to go further, I want to avoid any and > all hacks such as that wiki solution and the myriad of similar ones which > makes configuring gnus so hard at times. Any solution which starts with > "Basically" always gives me the willies to be honest... Connecting to > and reading from a server is well catered for. Posting via that same > seems not to be so straightforward. So you want exim4/msmtp to use credentials from authinfo? But this is not something emacs could help, that exim4/msmtp has to provide the interface to either read from authinfo directly or read from a secret pipeline or so. However, smtpmail is very easy to setup and uses authinfo by default. -- Kanru