Re: [exim] malformed numerical string / system filter

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-users
Sujet: 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'