[Exim] rewrite configuration problems

Top Page
Delete this message
Reply to this message
Author: Thomas Kinghorn
Date:  
To: Exim-Users (E-mail)
Subject: [Exim] rewrite configuration problems
Good morning.

I have picked up an issue in the paniclog.

I have set up an address rewriting rule, as per below:

begin rewrite
*@* ${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
hT

However it is trying to rewrite all addresses.

<paniclog snip>
2003-01-23 07:36:16 18ba2B-0000W4-00 Expansion of
${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
failed while rewriting: failed to open /usr/exim/alias-file/sporttime.info
for linear search: No such file or directory
2003-01-23 07:36:18 18ba2E-0000W4-00 Expansion of
${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
failed while rewriting: failed to open /usr/exim/alias-file/citec.net for
linear search: No such file or directory
2003-01-23 07:36:18 18ba2E-0000W4-00 Expansion of
${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
failed while rewriting: failed to open /usr/exim/alias-file/compuserve.com
for linear search: No such file or directory
2003-01-23 07:36:20 18ba2F-0000W4-00 Expansion of
${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
failed while rewriting: failed to open
/usr/exim/alias-file/SendGreatOffers.com for linear search: No such file or
directory
2003-01-23 07:36:20 18ba2F-0000W4-00 Expansion of
${lookup{$0}partial-lsearch{/usr/exim/alias-file/$domain}{$value}fail}
failed while rewriting: failed to open /usr/exim/alias-file/citec.net for
linear search: No such file or directory

Please advise on how I can fix this.

Regards,

Tom Kinghorn