* on the Wed, Dec 27, 2006 at 04:04:40PM +0000, Mike Cardwell wrote:
> Then in the recipient acl:
>
> warn set acl_m7 = ${lookup dnsdb{>:mx=$domain}{$value}{}}
> acl = acl_get_last_mx
This should actually be:
warn set acl_m7 = ${lookup dnsdb{>|mx=$domain}{$value}{}}
acl = acl_get_last_mx
And the first line of the recursive acl should be:
warn set acl_m8 = ${sg{$acl_m7}{\N^(\d+) ([^\|]+).*\N}{pri=\$1\nhosts=\$2}}
I didn't catch this because I've only tested it using a grepular.com
recipient, and the mx records for grepular.com are quite simple with
two mx's each resolving to a single ip.
MIke