[exim] nwildlsearch does not match

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Niels Kobschätzki
Fecha:  
A: exim-users
Asunto: [exim] nwildlsearch does not match
Hi,

I have set up a ratelimit for my users and also a whitelist-file.

The acl for the ratelimit looks like this:

  defer authenticated = *
    ratelimit = 30 / 5m / strict / $authenticated_id
    condition = ${lookup{$sender_address}nwildlsearch{/usr/local/etc/exim/conf/ratelimit_whitelist}{no}{yes}}
    log_message = Sender rate $sender_rate / $sender_rate_period ($authenticated_id)


The /usr/local/etc/exim/conf/ratelimit_whitelist is just a file with a
bunch of e-mail-addresses. For example "niels@???"

I have now a user who sends mail from a mail-address with sub-addressing
that looks like this:

bounce+123456-crm.lead-98765@???

I tried:
bounce*@??? and bounce.*@???

Both do not match according to a test with "exim -bh"

What am I doing wrong? I thought that nwildlsearch can use wildcards and
* and .* are wildcards to me.

Best,

Niels