Alberto Tablado wrote:
> First of all, add "no_verify" to your router to avoid using it when
> verifying an address.
>
> Then, you can add a dnslookup drived router after "smartroute"
>
> this_router_verifies_addresses:
> driver = dnslookup
> domains = !+local_domains
> transport = remote_smtp
> verify_only
>
> It has the same conditions as "smartroute", except verification. If a
> message is being verified, the "verify only" is used. In case of
> delivery, the "no_verify" one.
verify_only and no_more on this router should be enough, no need for
no_verify in the smarthost-router.
But there is a problem with this setup. Servers which are checking for
dialup-hosts will most probably refuse the sender-verification because
of this. So the verify will fail for these hosts/domains.