Michael,
I really like the concept. I thought Outlook had limited mail filtering ability though, namely that it could only sort by From, To, Subject, and not additional headers. Perhaps I am thinking of outlook express..... Is there a procmail recipe that will sort spam in a users inbox (like on the unix server) so that users using pine etc can have that same functionaality? Brian On Thu, 28 Mar 2002, Michael Moncur wrote: > Here's a revised version of the procmail stuff I use to add X-message-flag > headers with spam reports so that Outlook can view them. > > The first recipe is the same as the original, slightly modified to eliminate an > extra space in the X-message-flag header. The second recipe takes the > X-message-flag header, looks for scores less than 10 (i.e. 6 or 7.8) and adds a > leading zero. This way everything has a 2-digit score, so now I can truly sort > by SpamAssassin score in Outlook folders. > > It's amazing how easy it is to sort through the spam when it is sorted from > least to most spammy - false positives, if any, are always at the top. > > # Add x-message-flag header to flagged spam > :0fw > * ^X-Spam-Report:.*\/[0-9].*; > | formail -I "X-message-flag: $MATCH" -I "X-Spam-Status: Yes" > > # Add leading zero to x-message-flag for scores < 10 > :0fw > * ^X-message-flag: +\/[0-9][\. ].* > | formail -I "X-message-flag: 0$MATCH" > > Last but not least, here's one I use that's probably too specialized for most > people. This looks for messages that scored 4.0 or higher but aren't flagged as > spam, and adds an X-message-flag header with the score. This helps me look for > (a) messages that might be spam and (b) messages that were nearly false > positives. > > Note: this one requires the X-Spam-Level header as written so it won't work > with older versions of SA. > > # Add x-message-flag to 4.0 scores and up even if not flagged > :0fw > * ^X-Spam-Status: No,\/[^\n$]*required=[0-9.]* > * ^X-Spam-Level: \*\*\*\* > | formail -I "X-message-flag: $MATCH" > > > -- > michael moncur mgm at starlingtech.com http://www.starlingtech.com/ > "In this business you either sink or swim or you don't." -- David Smith > > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > ----------------------------------------------- Brian Feeny, CCIE #8036 e: [EMAIL PROTECTED] Network Engineer p: 318.222.2638x109 ShreveNet Inc. f: 318.221.6612 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk