[exim] How to check the lookup as many times as possible?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Henry Pootel
Datum:  
To: exim-users
Betreff: [exim] How to check the lookup as many times as possible?
Hello!

I design not a regular mail service. So, my question
can be strange for somebody.

I've made a condition to redirect messages by subject.

condition = ${if
match{$h_subject:}{${lookup{$local_part@$domain}wildlsearch{/etc/exim/test.txt}}}}

File test.txt with subject templates:

user@domain: Hello
user@domain: GoodLuck
user@domain: blablabla
user2@domain: qwerty
....

Of course the exim take first matched template only with key
"user@domain" - "Hello". Next pairs are ignored at all.

But I would like to check all of matched keys of lookup as many times as
possible and redirect all messages with described subjects.
Is it possible?

Thanks.

--

=== Henry Pootel ===