[exim] Return Matched Condition

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Patrick Porteous
Ημερομηνία:  
Προς: Exim-users
Αντικείμενο: [exim] Return Matched Condition
Hello,

If I'm running a filter file that looks for a string in the headers, is
there a variable that stores the condition when it's matched? Below is
an example of the script in question:

if $message_headers contains "Condition 1"
or $message_headers contains "Condition 2"
or $message_headers contains "Condition 3"
then
headers add (*The condition that was met*)
endif

Many Thanks!