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
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to