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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
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.