Re: [exim] smarthosting a subnet

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Leonardo Boselli
CC: exim-users
Subject: Re: [exim] smarthosting a subnet
On Thu, 16 Dec 2004, Leonardo Boselli wrote:

> Q: How to force a system to use a smarthost only for messages destinated
> to a certain subnet (that is: if the MX for that domain in in a certain
> subnet) ?


Tricky. You can probably do this with a router precondition that uses
dnsdb to look up the destination address and matches it against the
subnet. This is easier to get right with the dnsdb enhancements in 4.44
:-)

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}