[exim] Grabbing an nwildlsearch key

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Doug Jolley
Fecha:  
A: exim-users
Asunto: [exim] Grabbing an nwildlsearch key
Hi --

I have created a text file that I am using as a whitelist in an ACL
statement. Entries in the text file are intended to be looked up using
nwildlsearch. The key portion of each entry is a regular expression. The
ACL statement uses nwildlsearch to test for a matching key. Although there
is data in the data portion of the file entry, it is not relevant to this
particular task. What I'd like to be able to do is to grab the value of a
matching regular expresion from the key portion of a matched file entry so
that I can include a message header line that tells me exacty what regular
expression was matched. Is there some way I can do that?

Thanks for any input.

       ... doug