Scoring by X-Priority

2001-12-12 Thread mojus
Hi, I am trying to get Mutt to work with a spam filter. The filter is run through procmail, and generates a custom header field: X-Priority: Now I am trying to make Mutt score based on that header field, but the manual has the following bit under the Scoring section: _begin (note: For

Re: Scoring by X-Priority

2001-12-12 Thread Josh Huber
[EMAIL PROTECTED] writes: Is there something else I can do to sort messages based on the header field that my filter is generating? Well, way back I wrote a small patch that adds support for a custom scoring header to mutt. I'm sure it was messy, and it definately slowed folder opening (was

Re: Scoring by X-Priority

2001-12-12 Thread mojus
Patched 1.3.24i ok, but doesn't build. Bombs out at this point: gcc -DPKGDATADIR=\/usr/local/share/mutt\ -DSYSCONFDIR=\/usr/local/etc\ -DBINDIR=\/usr/local/bin\ -DMUTTLOCALEDIR=\/usr/local/share/locale\ -DHAVE_CONFIG_H=1 -I. -I. -Iintl -I./intl -I/usr/local/include -Wall -pedantic -g

Re: Scoring by X-Priority

2001-12-12 Thread Josh Huber
[EMAIL PROTECTED] writes: Patched 1.3.24i ok, but doesn't build. Bombs out at this point: gcc -DPKGDATADIR=\/usr/local/share/mutt\ -DSYSCONFDIR=\/usr/local/etc\ -DBINDIR=\/usr/local/bin\ -DMUTTLOCALEDIR=\/usr/local/share/locale\ -DHAVE_CONFIG_H=1 -I. -I. -Iintl -I./intl

Re: Scoring by X-Priority

2001-12-12 Thread Josh Huber
Josh Huber [EMAIL PROTECTED] writes: It builds for me with this, but you'll have to test it yourself :) Maybe I should mention how to use it. just add: score_header X-Priority to your .muttrc, and the messages with this header will use the integer contents of said header as the inital score