[exim] dnslookup + local_domains

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Bambero
日付:  
To: exim-users
題目: [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 <http://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
<http://mydomain.pl>
May 25 22:20:58 zeus exim[22707]: 2016-05-25 22:20:58 1b5fIY-0006Uq-5b
== test@??? <mailto:test@mydomain.pl> 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