From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60433 Path: news.gmane.org!not-for-mail From: David Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus with Exim Date: Wed, 08 Jun 2005 16:48:51 -0400 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: quoted-printable X-Trace: sea.gmane.org 1118264411 1248 80.91.229.2 (8 Jun 2005 21:00:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 21:00:11 +0000 (UTC) Original-X-From: ding-owner+M8960@lists.math.uh.edu Wed Jun 08 23:00:06 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dg7d8-00070r-2k for ding-account@gmane.org; Wed, 08 Jun 2005 22:58:30 +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 1Dg7di-0003fy-00; Wed, 08 Jun 2005 15:59:06 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dg7Tr-0003fW-00 for ding@lists.math.uh.edu; Wed, 08 Jun 2005 15:48:55 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dg7Tq-0005iu-HS for ding@lists.math.uh.edu; Wed, 08 Jun 2005 15:48:54 -0500 Original-Received: from smtp04.mrf.mail.rcn.net ([207.172.4.63]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dg7Tp-0008MJ-00 for ; Wed, 08 Jun 2005 22:48:53 +0200 Original-Received: from 146-115-127-135.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO i9300.boost-consulting.com) (146.115.127.135) by smtp04.mrf.mail.rcn.net with ESMTP; 08 Jun 2005 16:48:53 -0400 X-IronPort-AV: i="3.93,184,1115006400"; d="scan'208"; a="44757760:sNHT23054098" Original-Received: from dave by i9300.boost-consulting.com with local (Exim 4.50) id IHS9TF-0001RW-DW; Wed, 08 Jun 2005 16:48:51 -0400 Original-To: ding@gnus.org In-Reply-To: (Steven E. Harris's message of "Wed, 08 Jun 2005 13:14:45 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (windows-nt) X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60433 "Steven E. Harris" writes: > 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? I don't know; I've never had to fall back, and I haven't gone outside my ISP. I guess I could switch the order and see what happens. Or go down the hill to a cafe. >> [BTW, how do you make those nice callouts?] > > It's boxquote.el=B9. I used the functions `boxquote-region' and > `boxquote-title' where appropriate. Ah, nice. >> I was thinking that the ideal would be=20 >> >> ,---- >> | smart_route: >> | driver =3D manualroute >> | domains =3D ! +local_domains >> | transport =3D remote_smtp >> | .include /etc/exim_smarthost_route_list >> `---- >> >> with >> >> ,----[ /etc/exim_smarthost_route_list ] >> | route_list =3D * smtp.rcn.com:smtp.boost-consulting.com >> `---- >> >> or >> >> ,----[ /etc/exim_smarthost_route_list ] >> | route_list =3D * 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. Good idea. > By the way, not this helps much, but the order of the hosts mentioned > in the route_list can be randomized.=B2 I know. But like you said, doesn't help much. >> Fortunately I don't have that problem. > > Well, we'll leave that solution in the archives for some other unlucky > person. > > > Footnotes:=20 > =B9 http://www.davep.org/emacs/boxquote.el > =B2 http://www.exim.org/exim-html-4.50/doc/html/spec_20.html#SECT20.6 Do you have a footnote.el, too? Oh my gosh, you do! What other tricks am I missing? Too many to tell, I'm sure. --=20 Dave Abrahams Boost Consulting www.boost-consulting.com