Re: [Exim] Virtuser Catchalls

Top Page
Delete this message
Reply to this message
Author: Peter Radcliffe
Date:  
To: exim-users
Subject: Re: [Exim] Virtuser Catchalls
Dan Herrera <dph@???> probably said:
> domain1_com:
> driverr = aliasfile
> domains = "domain1.com:*.domain1.com"
> file = /etc/mail/domain1.com
> search_type = lsearch
> file_transport = address_file
> pipe_transport = address_pipe
>
> domain1_com_default:
> driver = smartuser
> domains = "domain1.com:*.domain1.com"
> new_address = "defaultuser@???"
>
> This configuration, as you've probably guessed, rewrites all mail
> for domain1.com to defaultuser@???. Any idea how I can
> get it to read the alias file first, and failing that, do the new_address
> business?


Look in the specification under file and database lookups for the *
suffix to lookup types.

If you use lsearch* you can then have a * entry in an aliasfile which
will be the default.

The standard virtual domain stuff in the example configs has all this in
it.

P.

-- 
pir                  pir@???                    pir@???