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

Pàgina inicial
Delete this message
Reply to this message
Autor: Henry Pootel
Data:  
A: exim-users
Assumpte: [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 ===