Andy wrote:
> I've installed Razor with spamassassin and everything works awesome.
> Kudos to the developers.  I am wondering if there is a way
> that I can modify the subject line for Razor detected spam to include
> the original subject.  Currently, my .procmailrc includes:
>
>     :0 Wc
>     | razor-check
>     :0 Waf
>     | formail -i "Subject: Razor Warning: SPAM/UBE/UCE"
>
> I would like to have the original subject appended to this line
> similar to the way Spamassassin does.  Any suggestions?
>

You could try something like the following:

    :0 Wc
    | razor-check

    :0 Waf
    * 1^0
    * 1^0 ^Subject::\/.*
    | formail -i "Subject: Razor Warning: SPAM/UBE/UCE $MATCH"

(The first scoring of 1^0 is used in the event of a non-existent subject
line in which case $MATCH is empty.)

Sven



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to