I need the following functionality of dnslookup router:
1. First always check for MX
2. If remote, deliver to remote server
3. If MX is local check in local_domains - deliver localy
4. Otherwise return error
This order is necesairy on shared hosting where, users can add any domains.
Is it possible with Exim?
When I'm trying this configuration (with local_domains disabled)
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
lowest numbered MX record points to local host: mydomain.pl
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b ==
test@??? R=dnslookup defer (-1): lowest numbered MX record points
to local host
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
Frozen