On Mon, 23 May 2005, Peter Bowyer wrote:
> On 23/05/05, Donovan Jones <[EMAIL PROTECTED]> wrote:
> >
> > Is it possible to include an alias file where the included file includes
> > the local part not just the alias addresses?
>
> I don't think so, but you could have a second router which references
> the second file, and 'passes' if the file isn't there. Not quite as
> flexible, but it might do what you want.

Alternatively, you can change the system aliases router so that it looks
up the local part in two files:

  data = ${lookup  {$local_part} lsearch {SYSTEM_ALIASES_FILE} \
             {$value} \
             {${lookup {$local_part} lsearch {OTHER_ALIASES_FILE} \
                  {$value} \
                  {} }} }

Tony.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   http://dotat.at/   ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to