On Fri, 25 Jan 2002, Mr P wrote:
> In the exim.conf I have changed search=lsearch to search=lsearch* for
> the alias file directive.
>
> and on the last line of the aliases file I added *: username
>
> Now all mail comes to that username even if i send it to a known
> username or to one of the addresses in the aliases file...
>
> Is there something else I have to do in order to get this working?
The lsearch* approach to aliases works well when you are handling
virtual domains and the address to which it resolves is *not* in the
same domain.
What you probably want is a smartuser director, placed after all the
other directors, that pickes up unresolveable addresses.
[I am going to upgrade the FAQ on this one, when I get a moment.]
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.