From: David Abrahams <dave@boost-consulting.com>
Subject: Re: Gnus with Exim
Date: Wed, 08 Jun 2005 15:45:02 -0400 [thread overview]
Message-ID: <ud5qw4oqp.fsf@boost-consulting.com> (raw)
In-Reply-To: <jk4d5qwpvgh.fsf@W003275.na.alarismed.com> (Steven E. Harris's message of "Wed, 08 Jun 2005 11:14:22 -0700")
"Steven E. Harris" <seh@panix.com> writes:
> David Abrahams <dave@boost-consulting.com> writes:
>
>> Okay, I'm going to ask you "what should I do next to configure Exim
>> so that I can send mail from anywhere?"
>
> After thinking it over for a few days, I think I'd take advantage of
> some of exim's new configuration file "preprocessor-like" features and
> use a swappable smart host setup, skipping the dnslookup stuff.
I'm just putting smart_route first at the moment. I figure dnslookup
might work somewhere that my regular servers are unreachable.
> You could define a router like the "smart_route" one defined in the
> first exim.conf I shared, but rather than specifying smtp.rcn.com
> directly, use file inclusion to pull in a one- or two-line snippet
> from a separate file that defines your current SMTP server. It's only
> a slightly less ugly version of the multiple exim.conf file scheme I
> mentioned a few days ago, but I think it best captures your
> requirements.
>
> Rather than using this directly,
>
> ,----
> | smart_route:
> | driver = manualroute
> | domains = ! +local_domains
> | transport = remote_smtp
> | route_list = * smtp.rcn.com
> `----
>
> you could use this¹:
>
> ,----
> | smart_route:
> | driver = manualroute
> | domains = ! +local_domains
> | transport = remote_smtp
> | .include /etc/exim_smarthost_route_list
> `----
>
> The file /etc/exim_smarthost_route_list could be a symlink that
> pointed to one of two files:
>
> ,----[ /etc/exim_rcn_route_list ]
> | route_list = * smtp.rcn.com
> `----
>
> ,----[ /etc/exim_bc_route_list ]
> | route_list = * smtp.boost-consulting.com
> `----
>
> You'd have to flip that symlink each time you changed your computer's
> physical location.
Cool, I was thinking something like that might be possible
> Alternately, why not try this first and see if it suits your
> needs. Specify multiple servers in your smart host route list, and let
> them be tried in order:
>
> ,----
> | smart_route:
> | driver = manualroute
> | domains = ! +local_domains
> | transport = remote_smtp
> | route_list = * smtp.rcn.com:smtp.boost-consulting.com
> `----
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.
[BTW, how do you make those nice callouts?]
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.
> The only trouble there arises if one of those servers operates on a
> non-standard port, or rather if they operate on different ports. The
> SMTP port is specified as part of the remote_smtp transport.²
Fortunately I don't have that problem.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
next prev parent reply other threads:[~2005-06-08 19:45 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-03 13:30 Asynchronous Gnus? David Abrahams
2005-06-03 20:37 ` Gnus with Exim (was: Asynchronous Gnus?) David Abrahams
2005-06-03 22:28 ` Gnus with Exim Steven E. Harris
2005-06-04 13:47 ` David Abrahams
2005-06-04 15:29 ` Steven E. Harris
2005-06-06 2:05 ` David Abrahams
2005-06-06 17:04 ` Steven E. Harris
2005-06-06 18:31 ` David Abrahams
2005-06-06 19:59 ` Steven E. Harris
2005-06-06 20:43 ` David Abrahams
2005-06-06 22:44 ` Steven E. Harris
2005-06-06 23:08 ` David Abrahams
2005-06-06 23:47 ` Steven E. Harris
2005-06-07 1:36 ` David Abrahams
2005-06-08 18:14 ` Steven E. Harris
2005-06-08 19:45 ` David Abrahams [this message]
2005-06-08 20:14 ` Steven E. Harris
2005-06-08 20:48 ` David Abrahams
2005-06-08 21:20 ` Steven E. Harris
2005-06-23 18:49 ` David Abrahams
2005-06-24 17:14 ` Steven E. Harris
2005-06-24 18:09 ` David Abrahams
2005-06-25 15:33 ` Steven E. Harris
2005-07-19 11:05 ` func-menu David Abrahams
2005-07-19 14:01 ` func-menu J. David Boyd
2005-07-19 14:21 ` func-menu Ted Zlatanov
2005-07-19 14:35 ` func-menu David Abrahams
2005-07-19 15:20 ` func-menu Ted Zlatanov
2005-07-19 15:41 ` func-menu David Abrahams
2005-07-20 1:03 ` func-menu Danny Siu
2005-07-22 14:55 ` func-menu David Abrahams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ud5qw4oqp.fsf@boost-consulting.com \
--to=dave@boost-consulting.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).