Re: [Exim] alias@* mail coming through to me

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nico Erfurth
Päiväys:  
Vastaanottaja: Daniel Dainty
Kopio: exim-users
Aihe: Re: [Exim] alias@* mail coming through to me
Daniel Dainty wrote:

> Yes, the order of the routers seems to be the problem. I've only got four
> routers, the two troublesome ones are shown below (in order). I've got a
> smart-host-relay setup here, how would I stop system_aliases catching stuff
> that isn't for my domain?
>
> ---
>
> system_aliases:
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part}lsearch{/etc/aliases}}
> # user = exim
> file_transport = address_file
> pipe_transport = address_pipe
>
> send_to_gateway:
> driver = manualroute
> domains = +relay_to_domains
> transport = remote_smtp
> # place the FQDN or IP address of where the
> # messages are being relayed to here
> route_list = * 172.16.254.254


Swap the order of these both routers, and add no_more to the
send_to_gateway router.

Nico