[exim] include a domain check in the alisases router

Góra strony
Delete this message
Reply to this message
Autor: Meike Reichle
Data:  
Dla: exim-users
Temat: [exim] include a domain check in the alisases router
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!

Regards,
Meike