Making your Spam mail box easier to check for Ham...
Jake Di Toro
karrde+bogofilter at viluppo.net
Fri Jun 27 23:20:56 CEST 2003
On Fri, Jun 27, 2003 at 08:49:39PM +0100, Jonathan Hunt wrote:
> Hi folks,
>
> I was thinking about how I could make checking my Spam mail box for Ham
> a little quicker today, and thought it would be nice if I could see
> the Spam scores for the messages without having to read each one.
>
> My first thought was that I'd have get the score added to the
> message subject, but I couldn't think of a way to do it easily.
> Instead, I noticed that Mutt (the mailer I use to check my spam)
> can be configured to display a general purpose mail header
> called X-Label.
Since you're using procmail anyway......
:0 fw
| <bogofilter call here>
:0
* ^X-Bogosity: Yes
{
:0
* ^X-Bogosity:(.*\<)spamicity=\/[0-9\.]*
SPAMICITY=$MATCH
:0 f
* ^Subject:\/.*
| formail -I "Subject: $SPAMISITY $MATCH"
:0:
<spamfolder>
}
This is untested, and could probally use a tweak or two... but the
general idea is there. This gives the added benifit of not being tied
to mutt, although this method could be a bterr solution for you than a
sed script as well, even for the X-Label header.
--
Till Later, Jake <karrde+bogofilter at viluppo.net>
-----------------------------------------------
Direct replys are likley to be flagged as spam.
Drop the +addy if you need to reply direct.
More information about the Bogofilter
mailing list