[Exim] wildlsearch and aliases

Página Inicial
Delete this message
Reply to this message
Autor: Arkadiusz Miskiewicz
Data:  
Para: exim-users
Assunto: [Exim] wildlsearch and aliases
Hi,

I want to have file with wildcards in aliases like:

cvs-*:    root
system-*:    admin


and so on.

I've tried:
system_aliases:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}wildlsearch{/etc/mail/aliases}}
file_transport = address_file
pipe_transport = address_pipe

But that doesn't work like expected:
search_open: wildlsearch "/etc/mail/aliases"
search_find: file="/etc/mail/aliases"
key="cvs-zupa" partial=-1 affix=NULL starflags=0
LRU list:
A/etc/mail/aliases
8/etc/mail/locals
End
internal_search_find: file="/etc/mail/aliases"
type=wildlsearch key="cvs-zupa"
file lookup required for cvs-zupa
in /etc/mail/aliases
cvs-zupa in "MAILER-DAEMON"? no (end of list)
cvs-zupa in "postmaster"? no (end of list)
[...]
cvs-zupa in "cvs-*"? no (end of list)
cvs-zupa in "arekm"? no (end of list)
cvs-zupa in "root"? no (end of list)
lookup failed
expanded:
file is not a filter file
parse_forward_list:
system_aliases router declined for cvs-zupa@???

and lookup failed. I have no idea why.

exim 4.22 on Linux with glibc 2.2.5.
--
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux