Re: [exim] Consider local_domains only if DNS matches

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Thomassen
Date:  
À: exim-users
Sujet: Re: [exim] Consider local_domains only if DNS matches
Peter Thomassen wrote:
> Thank you for your first class support ;-), everything works great now
> using this:
>
> dnslookup_not_yet_hosted:
>   debug_print = "R: dnslookup_not_yet_hosted for $local_part@$domain"
>   driver = dnslookup
>   domains = ! @mx_any/ignore=<;127.0.0.1;::1
>   transport = remote_smtp
>   same_domain_copy_routing = yes
>   # ignore private rfc1918 and APIPA addresses
>   ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
>                         172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
>                         255.255.255.255


I'm sorry, but I have found cases in which these routers don't work. Usually
there is something specified like:

        example.org     MX 10   mail.a4a.de


Now I found that all subdomains of example.com are broken regarding e-mail;
I get:

$ exim4 -bt info@???
R: dnslookup_not_yet_hosted for info@???
LOG: MAIN
remote host address is the local host: sub.example.org (while routing <info@???>)
info@??? cannot be resolved at this time:
remote host address is the local host
$

Why isn't that passed on to the local routers? Do I have to set up MX
records for *.example.org?

Thanks,
Peter