[exim] dnslookup + local_domains

Góra strony
Delete this message
Reply to this message
Autor: Bambero
Data:  
Dla: exim-users
Temat: [exim] dnslookup + local_domains
Hi,

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)

dnslookup:
driver = dnslookup
transport = remote_smtp
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more

I got an error:

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

Regards,
Bambero