Your note didn't clearly say what exactly is wrong with the headers that you're seeing. Is it that the X-Spam-Status heeader is screwed up?
If that's the case, the probably `bmf' (see http://sourceforge.net/projects/bmf/) is messing things up, when you call it with the -p switch. I don't know how bmf works, but judging from your procmail script, it looks like bmf writes an X-Spam-Status field. Since SA's spamc also writes one, it is possible that `bmf' is incorrectly rewriting the X-Spam-Status field that was left in the message by spamc. If bmf followed the rules, it concatenate the continuation lines that follow the X-Spam-Status header line, and then remove everything. You can work around this by either removing, or renaming, SA's header lines. I prefer renaming them: :0fw | formail -R "X-Spam-Status" "X-SA-Spam-Status" \ -R "X-Spam-Level" "X-SA-Spam-Level" (place this after you check SA's spam fields) I saw one small problem here: :0c * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* | bmf -s :0c * ^X-Spam-Status: Yes | bmf -s Above, the first rule checks for a high spam level, and if found, sends the mail off to bmf to register it as spam. But, the second rule does the same thing for all spams. Do you mean to report high scoring messages twice, like that? Here's a suggested version of your original procmailrc: NL=" " :0fw: spamassassin.lock * < 256000 | spamc :0c * ^X-Spam-Status: Yes | bmf -s :0: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* $MDIR/sure-spam/. :0: * ^X-Spam-Status: Yes $MDIR/spam/. :0 * ^^rom[ ] { LOG="*** Dropped F off From_ header! Fixing up.$NL" :0 fhw | sed -e '1s/^/F/' } ### Spamassassin processing finished. Rename SA's fields :0fw * ^X-Spam | formail -R "X-Spam-Status" "X-SA-Spam-Status" \ -R "X-Spam-Level" "X-SA-Spam-Level" :0fw * < 256000 | bmf -p :0: * ^X-Spam-Status: Yes $MDIR/spam/. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk