Mailing List Archive

Help on routers using exim 4
Hi there...

I've got the following router

sendmail_virthost:
driver = redirect
domains = +local_domains
allow_fail
allow_defer
data = ${lookup{$local_part@$domain}lsearch{/usr/exim/aliases/virtuser}}
file_transport = address_file
pipe_transport = address_pipe
redirect_router = localuser

the main idea, is use, my old virtusertable from sendmail, as an alias
file...
i parse it, and now is in the format " user@domain:alias "
everything works ok, if the line is like " user@domain: localuser "
but when a line like " user@domain: otheruser@otherdomain " exim complains
with
2002-07-26 12:33:42 H=(a) [10.1.0.151] F=<a@a> rejected RCPT user@domain:
unknown user

in other hands.... i use a similar router to use the /etc/aliases file, wich
works ok every ways...

Help ? :)

( I already suscribe to the list, but i've not get any notification , so if
you could answer to my email
too, i'll be thankful )

Atte
Ivan Barrera A.
Nivel 5






Este mail fue revisado por el servidor de correo de nivel5 S.A.
Representante Gold de RAV Antivirus en Chile
Contactenos a info@nivel5.cl o al +56-2-3350016
Re: Help on routers using exim 4 [ In reply to ]
I find the error...
was mine...

I put the sendmail_virthost router after dnslookup.. so, it cannot lookup
the host..
Change the order.. dnslookup after.. and there it is...

:-)

Thanks

Atte
Ivan Barrera A.


----- Original Message -----
From: "Ivan Barrera A." <Postmaster@Nivel5.cl>
To: <exim-users@exim.org>
Sent: Friday, July 26, 2002 1:46 PM
Subject: Help on routers using exim 4


> Hi there...
>
> I've got the following router
>
> sendmail_virthost:
> driver = redirect
> domains = +local_domains
> allow_fail
> allow_defer
> data = ${lookup{$local_part@$domain}lsearch{/usr/exim/aliases/virtuser}}
> file_transport = address_file
> pipe_transport = address_pipe
> redirect_router = localuser
>
> the main idea, is use, my old virtusertable from sendmail, as an alias
> file...
> i parse it, and now is in the format " user@domain:alias "
> everything works ok, if the line is like " user@domain: localuser "
> but when a line like " user@domain: otheruser@otherdomain " exim complains
> with
> 2002-07-26 12:33:42 H=(a) [10.1.0.151] F=<a@a> rejected RCPT user@domain:
> unknown user
>
> in other hands.... i use a similar router to use the /etc/aliases file,
wich
> works ok every ways...
>
> Help ? :)
>
> ( I already suscribe to the list, but i've not get any notification , so
if
> you could answer to my email
> too, i'll be thankful )
>
>
>
> Ivan Barrera .
>
>
>



Este mail fue revisado por el servidor de correo de nivel5 S.A.
Representante Gold de RAV Antivirus en Chile
Contactenos a info@nivel5.cl o al +56-2-3350016