[mew-int 2228] processing mail in folders through spamassassin

chrisb at example.com chrisb at example.com
Sat Nov 11 11:28:54 JST 2006


I couldn't find an answer for this in the archives.

I have an inbox with lots of mail and much of it is spam.

I have set up spamassassin, with spamd/spamc and I am happy with
the tagging.

Now I am trying to reprocess the mail in my inbox through
procmail which calls spamassassin, in order to tag it.

I have tried:

1. cat <msgid> | procmail

2. cat <msgid> | formail -f | procmail

3. cat <msgid> | spamc | incm -s 

and each of these succeeds in writing the spam headers and
putting mail in the folder ~/Mail/reprocessed.

Mew cannot read these emails in the folder, though, even after
executing Z, 1Z, C-uZ, or C-u1z in summary mode.

What am I doing wrong?

Here's what the rewritten header looks like:

X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on
        wiconisco.kippona.com
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00
	        autolearn=unavailable version=3.1.4
X-UIDL: 688a03b6571b5c78fd6ef30770dc00de.1128610076.7
Return-Path: <sandell.law.seattle at example.com>
Received: from catawissa.kippona.com (catawissa.kippona.com [209.67.213.233])

Does mew need to see the X-UIDL header first?  Something else first?

Thanks.

Chris



More information about the Mew-int mailing list