Add Header and alter Subject line.

Paul Goodyear <[email protected]>
Newsgroups gmane.mail.spam.razor.user
Message-ID <[email protected]>
Using the following recipe

:0 Wc
| razor-check

:0 Waf
| formail -A "X-Razor2-Warning: SPAM."

Mail is checked and spamed mail has the header inserted to the email.

How can I also add the following recipe to add informaiton to the
subject line also, if I add the following below the above:

:0 h
SUBJECT=| formail -xSubject: |sed 's/TYPE-O: //'

:0 Waf
| formail -i "Subject:" -a "Subject: RazorSPAM: $SUBJECT"

All email in the inbox has the RazorSPAM: added, whether it be spam or not.

So my goal is to add a header and add RazorSPAM to the emails that are SPAM.

Thanks.


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.