[exim] Problem with catchall

Top Page
Delete this message
Reply to this message
Author: Walter Aresca
Date:  
To: exim-users
Subject: [exim] Problem with catchall
Hello

I use the following configuration:

catchall:
driver = redirect
headers_add = X-redirected: yes
require_files = /etc/exim4/domains/$domain/aliases
data =
${extract{1}{:}{${lookup{*@$domain}lsearch{/etc/exim4/domains/${lookup{$domain}dsearch{/etc/exim4/domains/}}/aliases}}}}
file_transport = local_delivery
redirect_router = dnslookup

The result is that when mail is sent to the domain, ALL mails are forwarded
to the catchall address. I was expecting that ONLY addresses not listed in
users/alias where catched.

Is there a way to change this configuration to achieve my goal?

Thanks and Regards!

Walter