Hello,

I have two problems with scores in mutt. Whenever the score of a message
is negative, %N in the "index_format" shows zero and the settings in
"score_threshold_delete" and "score_threshold_read" will never match.

Example 1:

score '~s foo' 10
score '~f [EMAIL PROTECTED]' -100

If the message matches both scores, the result will be 0, but I
thought it should be -90.

Example 2:

score '~s foo' 200
score '~f [EMAIL PROTECTED]' -100

The result is 100.


Is a negative score possible in mutt?
Is something wrong with the configuration?

This is in my .muttrc:

set score=yes
set score_threshold_delete=-100
set score_threshold_read=-50
set score_threshold_flag=+60
score '~f [EMAIL PROTECTED]' -100


My second problem:

I want to setup a score that matches the senders name.
I've tried the following:
score '~f "Stefan Frank"' 100

This dowsn't work. I think this has something to do with regular expressions
and that the From-line also contains the mail-address, but I have no idea how
to get it right.

When I set up a score with '~f [EMAIL PROTECTED]', everything works as expected.

Any suggestions?

Thanks,
Steff
-- 
Sorry for my bad english :-(

Reply via email to