著者: Andreas Metzler 日付: To: exim-users 題目: Re: [exim] malformed numerical string / system filter
Anja Gawlik <Anja.Gawlik@???> wrote:
[...] > ** This is my system.filter: > if $h_X-Spam-Score above 7.5 [...] > ** And this ist the error-message I find in mainlog: > 2008-06-09 15:20:29 1K5hI4-0002gB-CS Error in system filter: malformed numerical string "-2.5" > (The mail is not being delivered.) > It says the same for a positive score, so the problem is most likely
> the ".". Seems to me exim is expecting a "," here? Has it something
> to do with country settings? How can I make exim understand 2.5? [...]
Afaik the numeric test conditions (above, below, etc.) only work on
integers. I think this should work:
if $spam_score_int is above 75
cu andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'