Re: [Exim] Filter condition?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas Metzler
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Filter condition?
On 2004-07-20 j2 <spamfilter2@???> wrote:
> DCC adds a header such as


> X-DCC-dcc.uncw.edu-Metrics: statler 1201; Body=1 Fuz1=1 Fuz2=1


> I would like to trap this in a filter if "Fuz2" is "bigger then 5 or equal
> to 'many'

[...]

${extract{Fuz2}{$header_-DCC-dcc.uncw.edu-Metrics:}}
gives you the value of Fuz2.

untested.

And exim also has functions for >= and striing comparison. See
spec.txt.
               cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"