From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80585 Path: news.gmane.org!not-for-mail From: Kan-Ru Chen Newsgroups: gmane.emacs.gnus.general Subject: Re: sendmail/smtpmail etc. Date: Tue, 15 Nov 2011 23:43:19 +0800 Message-ID: <87hb254ciw.fsf@isil.kanru.info> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321371886 14279 80.91.229.12 (15 Nov 2011 15:44:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Nov 2011 15:44:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28868@lists.math.uh.edu Tue Nov 15 16:44:43 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 1RQLBh-0002Xf-0S for ding-account@gmane.org; Tue, 15 Nov 2011 16:44:41 +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 1RQLAj-0005bn-2m; Tue, 15 Nov 2011 09:43:41 -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 1RQLAh-0005bX-9X for ding@lists.math.uh.edu; Tue, 15 Nov 2011 09:43:39 -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 1RQLAc-0000Zu-Dw for ding@lists.math.uh.edu; Tue, 15 Nov 2011 09:43:38 -0600 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RQLAZ-0004J5-Cw for ding@gnus.org; Tue, 15 Nov 2011 16:43:31 +0100 Original-Received: by ywt34 with SMTP id 34so7791745ywt.17 for ; Tue, 15 Nov 2011 07:43:25 -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=Dvc9ShDvCyfwLm8lCuKdwDQK155K9nmxQd4Fjw58+rY=; b=Z/oyRD7HXwlHZk0XZQkiDPM5Ek7XgWqRjLSrUrfXO+pYcvwyl/3uSAx071LjNP2rXc suxxOiu0+FE7uahBVF+DGlmPZrWaCL5aZnVLqqe4fS7GItrZCerL4KfckyOVH0mkb314 cYx6KKeG8YqmY2gt7eYqpMmC1hE2wPUei/YxE= Original-Received: by 10.229.3.20 with SMTP id 20mr4121508qcl.174.1321371805197; Tue, 15 Nov 2011 07:43:25 -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 fm5sm7265152qab.20.2011.11.15.07.43.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Nov 2011 07:43:23 -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 1RQLAN-0003zB-7b for ding@gnus.org; Tue, 15 Nov 2011 23:43:19 +0800 In-Reply-To: (Richard Riley's message of "Tue, 15 Nov 2011 08:57:17 +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:80585 Archived-At: Richard Riley writes: > My gnus in Debian uses sendmail to send. I have exim4 configured to use > a smart host. > > But, how should it be configured to use sendmail *but* using the > authentication info in .authinfo for the smtp server as well as the > opening and reading from gmail? Has this been addressed at all the > recent changes in 24.1? I realise there are loads of hacks around to to > do this in earlier gnus where the send domain is used to map using msmtp > or somesuch, but is this now possible using the authinfo file and > "automatic"? 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. -- Kanru