On Wed, Jun 10, 2009 at 02:25:54PM -0700, Phil Pennock wrote:
> > So I've created these routes:
> >
> > legacy_mx:
> > driver = manualroute
> > domains = @mx_primary : !+local_domains
> > self = pass
> > route_data = ${lookup dnsdb{mxh=$domain}}
>
> So @mx_primary matches where this host is the primary MX; you then
> generate a list of all hosts in any MX record for this domain and route
> it to them, thus you're having the primary MX send mail to the backups
> as well as itself.Right, I wasn't sure if it would send mail to all of them or not. I had only tested, so far, the case where this host is the only MX for $domain. But there doesn't seem to be a way to get only the low-number MX for a given domain...? > Since you're relying upon $self_hostname.db existing for the domain, to > hold the aliases, why not use the existence of an aliases file to create > support for a domain? $self_hostname will only exist for the domain of the lowest MX host, not for any $domain that has an low-numbered MX pointing here. The whole point is to avoid having to configure ~100 files (even if they're just symlinks) to accomodate a bunch of MX records whose mail should all be handled the same way. noah -- Noah Meyerhans System Administrator MIT Computer Science and Artificial Intelligence Laboratory
signature.asc
Description: Digital signature
-- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
