Re: [EXIM] Exim NT-exchange routing without really rewriting

Top Page
Delete this message
Reply to this message
Author: Bruno.Vuillemin
Date:  
To: Philip Hazel
CC: Bruno.Vuillemin, exim-users, postmaster, robert.matathia
Subject: Re: [EXIM] Exim NT-exchange routing without really rewriting
Hello

(details on the context at the end of this mail)

After having used Mr's Hazel advice, I did some tests.
Mails can't be delivered and stay in the queue.

Here is what can be read log window
1997-12-13 09:47:28 0xgZ68-0003bC-00 NT_transport transport found host
sunsiuf1.unifr.ch to be local

In fact the transport NT_transport sets a host (NT) for delivery.
But the MX for the NT-host points to the central server running Exim
hence "local". I though this could be a problem.

Then I set non_mx_domains = NThost.unifr.ch
same result....

Here is also what exim does with this address (prenom.nom@???)
It looks fine, still a doubt about the usage of the MX discipline.
-----
exim -v -bt -d 9 prenom.nom@???
Exim version 1.73 debug level set to 9
probably ndbm
address prenom.nom@???
local_part=prenom.nom domain=unifr.ch local=1
directing prenom.nom@???
echo_director director skipped: local part mismatch
calling domain1_aliases director
domain1_aliases director: file = /var/local/exim/d1/aliases search type = 49
file=/var/local/exim/d1/aliases query=prenom.nom
search_open (1) /var/local/exim/d1/aliases
search_find: file="/var/local/exim/d1/aliases" type=1 key="prenom.nom"
partial=-1
internal_search_find: file="/var/local/exim/d1/aliases" type=1 key="prenom.nom"
file lookup required for prenom.nom in /var/local/exim/d1/aliases
domain1_aliases director failed for prenom.nom:
domain1_aliases_NT director has more set FALSE
calling domain1_aliases_NT director
domain1_aliases_NT director: file = /var/local/exim/d1/aliases_NT search type =
48
file=/var/local/exim/d1/aliases_NT query=prenom.nom
search_open (0) /var/local/exim/d1/aliases_NT
search_find: file="/var/local/exim/d1/aliases_NT" type=0 key="prenom.nom"
partial=-1
internal_search_find: file="/var/local/exim/d1/aliases_NT" type=0
key="prenom.nom"
file lookup required for prenom.nom in /var/local/exim/d1/aliases_NT
queued for NT_transport transport uid=unset gid=unset
domain1_aliases_NT director succeeded for prenom.nom
transport: NT_transport
prenom.nom@???
remote delivery to prenom.nom in domain unifr.ch
director = domain1_aliases_NT, transport = NT_transport
search_tidyup called
#

I am feeling a bit lost !

Thanks for your remarks
Bruno Vuillemin (as postmaster@???)
-----------


-----------Mr Hazel's reply to my first mail--------------

> On Wed, 10 Dec 1997 Bruno.Vuillemin@??? wrote:
>
> > b/ What the NT-sysadm wants
> >
> >       Bruno.Vuillemin@??? (FirstName.LastName@???,
> >                 |               official address)
> >                 v
> >               [Exim]
> >                 ^
> >                 |
> > new-> Bruno.Vuillemin@??? (FirstName.LastName@???,
> >                 |               official address)
> >                 v
> >              [NT-exchange]

> >
> >    Exim knows every defined address and rewrites them into the same...

>
> No need to rewrite if you can find a suitable way of determining which
> addresses you want to do this with. If you can, just send them to a
> suitable transport such as
>
> NT_transport:
> driver = smtp
> hosts = nt.exchange.machine.unifr.ch
>
> Suppose you have a file containing all the local parts you want to send
> to NT-exchange, e.g.
>
> Bruno.Vuillemin
> ....
>
> The if you set up a director like this
>
> NT_director:
> driver = aliasfile
> file = /list/of/NT/people
> transport = NT_transport
>
> it should work.
>


-------------------------------------------------------------------------------
Bruno.Vuillemin@???          {post/ftp/cache/news/unix}master@???
Service Informatique              tel (0(041)26)300.7206 
Universite de Fribourg            fax (0(041)26)300.9704
{Schweiz/Suisse/Svizzera/Svizra/  Switzerland}    
-------------------------------------------------------------------------------



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