Is it possible to use a wildcard for the recipient in a virtual domain forwarder file with exim?
I have setup the config as found here:
http://www.debian-administration.org/article/140/Handling_mail_for_multiple_virtual_domains_with_exim4
e.g.
admin*: somebody@else.com
It doesn't honour the wildcard.
I've temporarily worked around the problem by using a (*) catch all to :blackhole:
Best Answer
You are misunderstanding the minutia of lsearch*@. It means that the linear search may be done twice: the first time it searches the text file looking for the supplied text string. If it doesn't find anything, it then searches the text file looking for a single "*" catchall.
That's not what you want. You want the wildcard to be expanded, so you want to use nwildsearch@ instead.