You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/01/19 01:25:14 UTC

[Bug 2946] New: Add new test which matches the body of a message to a file of fixed strings

http://bugzilla.spamassassin.org/show_bug.cgi?id=2946

           Summary: Add new test which matches the body of a message to a
                    file of fixed strings
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Rules
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: spamass@hcidesign.com


I maintain a list of URLS which have been included in spam in the past. 
Currently I use procmail to route emails that match any of these fixed strings 
to a spam file. But really, what would be ideal is if I could change the score 
of a message based on if it matches one of the many fixed strings in an 
external file. 

Ie, I right now I use the following in procmailrc:
 
:0HB:
* ? formail -c | fgrep -sFi -f $HOME/qtrashlist
likelyspambyurl

but instead I'd like to be able to add to my user_prefs file:

rawbody BADURLS eval:matchfile('/usr/me/qtrashlist', 'case-insensitive')



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.