| /Q0501 /Q0502 /Q0503 /Q0504 /Q0505 /Q0506 /Q0507 /Q0508 /Q0509 /Q0510 /Q0511 /Q0512 /Q0513 /Q0514 |
Q0506
Question
Using $recipients in a system filter gives me another problem: how can I do a string lookup if $recipients is a list of addresses?
Answer
Check out the section of the filter specification called Testing a list of addresses. If that doesn't help, you may have to resort to calling an embedded Perl interpreter - but that is expensive.
In Exim 4.67 you will have a number of list processing expansion items (map, filter, reduce, forany (condition), forall (condition), and addresses to convert $recipients to a list usable with the previous) at your disposal.
| /Q0501 /Q0502 /Q0503 /Q0504 /Q0505 /Q0506 /Q0507 /Q0508 /Q0509 /Q0510 /Q0511 /Q0512 /Q0513 /Q0514 |
