Re: [EXIM] (Fwd) Cant get domainlist router to work in exim …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: 020shero
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [EXIM] (Fwd) Cant get domainlist router to work in exim 2.12
Hi.

> Please run
> exim -d9 -bt xxxx@???
> and/or
> exim -d9 -bt xxxx@???
> to find out exactly why Exim is not running the relaydomains router. The
> output is written to stderr. Send it to me and I will try to spot what is
> going on, if it isn't obvious.

Debug output from the old and new versions follow.

Edited Debug output from version 2.12
-------------------------------------
# exim -d9 -bt 090mel@???
Exim version 2.12 debug level 9 uid=0 gid=1
probably ndbm
Address testing: uid=0 gid=1 euid=101 egid=100
>>>>>>>>>>>>>>>>>>>>>>>>

Testing 090mel@???
address 090mel@???
local_part=090mel domain=muse.arts.wits.ac.za
domain is not local
>>>>>>>>>>>>>>>>>>>>>>>>

routing 090mel@???, domain muse.arts.wits.ac.za
relaydomains router called for 090mel@???
route_domain = muse.arts.wits.ac.za
routelist_item = muse.arts.wits.ac.za muse.wits.ac.za
after handling route_lists items, matched = 1
original hostlist=muse.wits.ac.za options=
expanded hostlist="muse.wits.ac.za" options=
relaydomains router passed, rewriting muse.arts.wits.ac.za as muse.wits.ac.za
wits router called for 090mel@???
route_domain = muse.wits.ac.za
routelist_item = *.wits.ac.za $domain byname
after handling route_lists items, matched = 1
original hostlist=$domain options=byname
expanded hostlist="muse.arts.wits.ac.za" options=byname
wits router: error for muse.wits.ac.za
message: lookup of host "muse.arts.wits.ac.za" failed in wits router
090mel@??? cannot be resolved at this time:
lookup of host "muse.arts.wits.ac.za" failed in wits router
search_tidyup called


Edited Debug output from version 1.92
-------------------------------------

# exim -d9 -bt 090mel@???
Exim version 1.92 debug level set to 9
probably ndbm
Address testing: uid=0 gid=1 euid=101 egid=100
Testing 090mel@???
address 090mel@???
local_part=090mel domain=muse.arts.wits.ac.za
domain is not local
>>>>>>>>>>>>>>>>>>>>>>>>

routing 090mel@???, domain muse.arts.wits.ac.za
relaydomains router called for 090mel@???
route_domain = muse.arts.wits.ac.za
routelist_item = muse.arts.wits.ac.za muse.wits.ac.za
after handling route_lists items, matched = 1
original hostlist=muse.wits.ac.za options=
expanded hostlist="muse.wits.ac.za" options=
relaydomains router passed, rewriting muse.arts.wits.ac.za as muse.wits.ac.za
wits router called for 090mel@???
route_domain = muse.wits.ac.za
routelist_item = *.wits.ac.za $domain byname
after handling route_lists items, matched = 1
original hostlist=$domain options=byname
expanded hostlist="muse.wits.ac.za" options=byname
Actual local interface address is 127.0.0.1
Actual local interface address is 146.141.15.210
fully qualified name = muse.wits.ac.za
muse.wits.ac.za 146.141.15.153 -1
routed by wits router:
deliver to 090mel@???
transport: local_smtp
host muse.wits.ac.za [146.141.15.153]
090mel@???
deliver to 090mel@??? via domain muse.wits.ac.za
router = wits, transport = local_smtp
host muse.wits.ac.za [146.141.15.153]
search_tidyup called

While the problem looks pretty obvious, we'll leave it to you to give the
explanation.

> General comment:
> You don't really need two routers here. This single router should do the same
> thing:
>
> relaydomains: 
>     driver = domainlist
>     transport = local_smtp 
>     route_list = "*.a.wits.ac.za b.wits.ac.za byname; \   
>                   X.wits.ac.za   Y.wits.ac.za byname"

We tried this and it now works fine.

Thanx.
Sherona
Computer And Network Services
University of The Witwatersrand : http://www.wits.ac.za
Johannesburg
South Africa

--
*** Exim information can be found at http://www.exim.org/ ***