From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60431 Path: news.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus with Exim Date: Wed, 08 Jun 2005 13:14:45 -0700 Organization: SEH Labs Message-ID: References: <83k6lagmx8.fsf@torus.sehlabs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1118261667 21928 80.91.229.2 (8 Jun 2005 20:14:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 20:14:27 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8958@lists.math.uh.edu Wed Jun 08 22:14:22 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dg6uj-0007bc-Hr for ding-account@gmane.org; Wed, 08 Jun 2005 22:12:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Dg6wz-0003WB-00; Wed, 08 Jun 2005 15:14:57 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dg6wu-0003W6-00 for ding@lists.math.uh.edu; Wed, 08 Jun 2005 15:14:52 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dg6wr-000591-Gu for ding@lists.math.uh.edu; Wed, 08 Jun 2005 15:14:49 -0500 Original-Received: from [204.193.55.129] (helo=W003275.na.alarismed.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dg6wq-0007zy-00 for ; Wed, 08 Jun 2005 22:14:48 +0200 Original-Received: from sharris by W003275.na.alarismed.com with local (Exim 4.50) id IHS88L-0002OO-CL; Wed, 08 Jun 2005 13:14:45 -0700 Original-To: David Abrahams Mail-Followup-To: David Abrahams , ding@gnus.org In-Reply-To: (David Abrahams's message of "Wed, 08 Jun 2005 15:45:02 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60431 David Abrahams writes: > I'm just putting smart_route first at the moment. I figure dnslookup > might work somewhere that my regular servers are unreachable. Sure, that's fine, so long as you don't mind "maintaining" the similar settings in more than one router. > Cool, I was thinking something like that might be possible I'm pretty sure the Debian people pushed or at least suggested this option to the exim maintainers; I had never noticed it until about a month ago. > Actually that's what I have running right now. I was having bad > smtp response this morning so I decided to bite the bullet and set > everything up as best I could before hearing from you. Is the two-host route list working properly? > [BTW, how do you make those nice callouts?] It's boxquote.el¹. I used the functions `boxquote-region' and `boxquote-title' where appropriate. > I was thinking that the ideal would be > > ,---- > | smart_route: > | driver = manualroute > | domains = ! +local_domains > | transport = remote_smtp > | .include /etc/exim_smarthost_route_list > `---- > > with > > ,----[ /etc/exim_smarthost_route_list ] > | route_list = * smtp.rcn.com:smtp.boost-consulting.com > `---- > > or > > ,----[ /etc/exim_smarthost_route_list ] > | route_list = * smtp.boost-consulting.com:smtp.rcn.com > `---- > > depending on which server had succeeded the last time. But I don't > know how to do that. Parsing the log file? That's a frightening > thought. Yow. I don't know how to do that either. You'd need some kind of hook function that ran upon success or failure when sending. Cursory reading of the exim manual suggests that perhaps with some chaining of transports one could write something to a file based on whether some other transport succeeded or failed, but for now it's beyond me. I think that's one to take to a dedicated exim mailing list. By the way, not this helps much, but the order of the hosts mentioned in the route_list can be randomized.² > Fortunately I don't have that problem. Well, we'll leave that solution in the archives for some other unlucky person. Footnotes: ¹ http://www.davep.org/emacs/boxquote.el ² http://www.exim.org/exim-html-4.50/doc/html/spec_20.html#SECT20.6 -- Steven E. Harris