[prev in list] [next in list] [prev in thread] [next in thread]
List: exim-users
Subject: Re: [exim] Wildcard aliases do not work
From: "Konstantin Boyandin" <temmokan () gmail ! com>
Date: 2008-03-28 4:47:31
Message-ID: 70600bcb0803272147h364013c1y364d50b46c2d71e4 () mail ! gmail ! com
[Download RAW message or body]
Thank you, Andreas and Tony, that worked.
However, if I do not wish to allow 'local part' allowed for all the
users, but for a single address, e.g. like in this regexp
mailer-[0-9]+ => mailer
How should I write the search statement?
Thank you.
All the best,
Konstantin
2008/3/26, Andreas Metzler <eximusers@downhill.at.eu.org>:
> Tony Finch <dot@dotat.at> wrote:
> > On Wed, 26 Mar 2008, Konstantin Boyandin wrote:
>
> [...]
>
> >> The catch-all alias
>
> >> *: localbox
>
> >> doesn't work, either.
>
> > You need to tweak the system_aliases router to use lsearch* instead of
> > plain lsearch.
>
> > http://www.exim.org/exim-html-current/doc/html/spec_html/ch07.html#SECID55
>
>
> Hello,
>
> the system_aliases usually is the very first router for local domains,
> while the catchall router should be the last one, after userforward
> and localuser. If you modify system_aliases to use lsearch* and have
> a catchall aliaes in the file itself, the localuser router will not be
> reached anymore.
>
> It is probably better to have a separate catchall router somehow like
> this:
>
> catchall
> driver = redirect
> data = ${lookup{*}lsearch{/etc/aliases}}
>
> cu andreas
> --
> `What a good friend you are to him, Dr. Maturin. His other friends are
> so grateful to you.'
> `I sew his ears on from time to time, sure'
>
>
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic