Re: [exim] include a domain check in the alisases router

Page principale
Supprimer ce message
Répondre à ce message
Auteur: n-other@artel.kz
Date:  
À: Meike Reichle
CC: exim-users
Sujet: Re: [exim] include a domain check in the alisases router
On Fri, 13 May 2005 10:06:30 +0200, Meike Reichle wrote
> Hi all
>
> I am having a little trouble with my aliases router.
> Currently the router looks like this:
>
> system_aliases:
>    driver = redirect
>    allow_fail
>    allow_defer
>    data = ${lookup{$local_part}lsearch{/opt/exim/etc/aliases}}
>    file_transport = address_file
>    pipe_transport = address_pipe

>
> The problem ist, that I want it to only handle mail to my local domains
> (+local_domains), currently if there is a mail that goes to
> <an_alias>@<where_ever> this router picks it out and delivers it
> locally. Which is not really what it's supposed to do. What it *should*
> do is deliver mail that goes to <an_alias>@+local_domains.
> I tried using route_list to solve this but that only works with
> manualroute ...
>
> Any hints would be appreciated!
>

you should add
domains = +local_domains
to this router

---
With Best Regards,
Roman Hlynovskiy