Keep me in the CC
> It still doesn't work however. I'm a complete newbie on this so maybe
> it's nothing.
>
> Router:
>
> system_aliases:
Change this to domain_aliases and add another as system aliases.
> driver = redirect
> allow_fail
> allow_defer
> data = ${lookup{$local_part@$domain}lsearch*@{/etc/aliases}}
You could change that to be /etc/domain_aliases
> file_transport = address_file
> pipe_transport = address_pipe
For system_aliases use:
data = ${lookup{$local_part}lsearch*@{/etc/aliases}}
> ----
>
> /etc/aliases:
>
> postmaster: chris
> nobody: /dev/null
As it is now, these 2 will never match. It'll look for email@address if not
found it'll look for *@address. But never email
> user1@??? : chris
> user2@??? : chris
> *@domain.com : postmaster
Put in domain_aliases.
> Is anything wrong here, that stop exim from sending all undeliverable
> mail to postmaster?
>
> Regards,
> Chris
>
> -----Original Message-----
> From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On
> Behalf Of Wakko Warner
> Sent: zaterdag 23 augustus 2003 1:45
> To: exim-users@???
> Subject: Re: [Exim] Default values in single-key lookups
>
>
> > > In chapter "9.5 Default values in single-key lookups" I find the
> > > next line
> > >
> > > data = ${lsearch*@{$local_part@$domain}{/etc/mixed-aliases}}
> > >
> > > As I read the text this is exactly what I need, however if it test
> > > the router with exim -bt, I get the following errormessage
> > >
> > You added an extra '{' by the looks of it:
> > > failed to expand
> > > "${lsearch{*@{$local_part@$domain}}{/etc/aliases}}":
>
> Actually, the syntax looks completely wrong. Should be:
> ${lookup{$local_part@$domain}lsearch*@{/etc/mixed-aliases}}
>
> --
> Lab tests show that use of micro$oft causes cancer in lab animals
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
--
Lab tests show that use of micro$oft causes cancer in lab animals