Συντάκτης: David Woodhouse Ημερομηνία: Προς: exim-users Αντικείμενο: [exim] Domain list intersection.
Is there a way to get a domainlist which contains the intersection of
two other domainlists -- i.e. which contains only domains which are in
_both_ of the component domainlists?
I have a list of virtual domains which are to be handled specially --
the aliases in TXT records thing. But the magic DNS zones in which you
look up the aliases aren't visible everywhere; they have to be slaved
explicitly by the local named. I'm extending the cluster of machines
which share (mostly) the same configuration and I'm trying to avoid
having to give the list of virtual domains differently for each host.
So instead of just 'domainlist dns_virtual_domains = lsearch;FILE' I'd
actually like to make it something like
Obviously I can do this in every place that 'dns_virtual_domains' gets
used, by adding more conditions using @mx_any... but there are other
domainlists like 'virtual_domains' which include the other types of
virtual domain and that would soon get ugly.
But due to the way domainlists are evaluated, a domain which is in the
FILE is then _not_ in +not_dns_virtual_domains regardless of whether
it's in @mx_any or not.