Re: [exim] Using smartrelay getting unrouteable address erro…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ted Cooper
Date:  
À: Andy Smith
CC: exim-users
Sujet: Re: [exim] Using smartrelay getting unrouteable address error
Andy Smith wrote:
> Hi Ted,
>
> ok, am a bit more confused now...

oops

> Ok if we take my original post as the example:

Descriptions of what is going on have been added above each line.

New email presented to system from root@???
> 2008-01-31 17:56:00 1JKddo-0003mt-D7 <= root@??? U=root P=local S=335

Unable to locate a routable path for a.smith@???, send NDR.
> 2008-01-31 17:56:00 1JKddo-0003mt-D7 ** a.smith@???: Unrouteable
> address

Generate bounce message
> 2008-01-31 17:56:00 1JKddo-0003mv-EH <= <> R=1JKddo-0003mt-D7 U=Debian-exim
> P=local S=1130

Attempt to send it, oops root@ doesn't exist
> 2008-01-31 17:56:00 1JKddo-0003mv-EH ** root@???: Unrouteable address

No idea where to send this message, can't bounce it because from is <>,
freeze it.
> 2008-01-31 17:56:00 1JKddo-0003mv-EH Frozen (delivery error message)

Done delivery for 1JKddo-0003mt-D7 since we are no longer responsible
for it.
> 2008-01-31 17:56:00 1JKddo-0003mt-D7 Completed


You should really create an alias for root@ and direct it to a real account.

From the +all run you posted, the results seemed to be that DNS was
working just fine, but there was simply no path for "domain.net".

You really wanted to see the result of sending "1JKy2n-0005vt-Nq", not
the resulting bounce message, but I think the issue is still apparent.

> Let's route the address

15:45:19 22813 routing a.smith@???

> First router was forced failure because it didn't match any of the

domains destined for it.
15:45:19 22813 --------> hubbed_hosts router <--------
15:45:19 22813    error message: "if" failed and "fail" requested
15:45:19 22813 failure was forced


> not a local domain since there was no matching prefix in the LHS of

the email address. I don't know what your prefix is but if it was 
"prefix" then the address would have to look like "prefix+a.smith" to match.
15:45:19 22813    error message: "if" failed and "fail" requested
15:45:19 22813 failure was forced


> Aliases failed since "domain.net" not in local_domains list OR

MAIN_LOCAL_DOMAINS list.
15:45:19 22813 --------> system_aliases router <--------
15:45:19 22813 system_aliases router skipped: domains mismatch

> Not in local_domains list

15:45:19 22813 --------> userforward router <--------
15:45:19 22813 userforward router skipped: domains mismatch
15:45:19 22813 --------> system_aliases router <--------

> Not in local_domains list

15:45:19 22813 --------> procmail router <--------
15:45:19 22813 procmail router skipped: domains mismatch
15:45:19 22813 --------> maildrop router <--------
15:45:19 22813 maildrop router skipped: domains mismatch
15:45:19 22813 --------> lowuid_aliases router <--------
15:45:19 22813 lowuid_aliases router skipped: domains mismatch
15:45:19 22813 --------> local_user router <--------
15:45:19 22813 local_user router skipped: domains mismatch
15:45:19 22813 --------> mail4root router <--------
15:45:19 22813 mail4root router skipped: domains mismatch

> Completely out of routers to try, BOUNCE!

15:45:19 22813 no more routers

So basically, "domain.net" doesn't match the domains that are sent to
your smart router nor is it considered a local_domain. There is no
default router for messages to fall on (probably good thing) and as a
result, it tried to bounce it.

"domain.net" seems to be registered to Wayne de Geere III and has been
operating correctly since 1995. Are you sure this is the domain you are
talking about? "example.com" is the domain reserved by the IANA
specifically for examples, however this lists policy is to not obfuscate
as it generally causes more issues that it solves. All email addresses
and message ids are obfuscated when they are archived on the web
regardless, to prevent web crawlers from picking up valid email addresses.

--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html