From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81193 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Multi-SMTP Date: Thu, 02 Feb 2012 13:42:50 +0100 Organization: Programmerer Ingebrigtsen Message-ID: <87k44576et.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328186593 6240 80.91.229.3 (2 Feb 2012 12:43:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2012 12:43:13 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29474@lists.math.uh.edu Thu Feb 02 13:43:12 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rsw0M-0003a6-Js for ding-account@gmane.org; Thu, 02 Feb 2012 13:43:10 +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 1Rsw0J-0005At-9X; Thu, 02 Feb 2012 06:43:07 -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 1Rsw0I-0005Ai-9G for ding@lists.math.uh.edu; Thu, 02 Feb 2012 06:43:06 -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 1Rsw0H-0001WJ-FU for ding@lists.math.uh.edu; Thu, 02 Feb 2012 06:43:06 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Rsw0B-0008AQ-SR for ding@gnus.org; Thu, 02 Feb 2012 13:42:59 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rsw0B-0003Ue-3S for ding@gnus.org; Thu, 02 Feb 2012 13:42:59 +0100 Original-Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 13:42:59 +0100 Original-Received: from larsi by 93-41-188-50.ip82.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Feb 2012 13:42:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 27 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-41-188-50.ip82.fastwebnet.it Mail-Copies-To: never User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:SCjGyhXdeG1zCCzmTdC9wfD7wTk= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81193 Archived-At: I'm wondering how the multi-SMTP stuff should work. One approach would be to use group parameters, and add tokens like (smtp (smtpmail "smtp.gmail.com" 583)) or something. Message would then put this info into a header that would be saved, so that saving to drafts/queues etc would work. So that would be X-Message-Outgoing-SMTP: smtpmail smtp.gmail.com 583 If you want sendmail, then that would be X-Message-Outgoing-SMTP: sendmail That would be a pretty flexible mechanism, and allow for easy customisations by users. On the Gnus side, one could then add "intelligent" rules for determining where to send mail, although I'm not sure just how. :-) If the Received line of the message you're answering contains smtp.work.com, then use that as the outgoing MTA for your work email? Hm... -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome