[Tutor] Why doesn't this regex match???
dman
dsh8290@rit.edu
Sun, 10 Feb 2002 12:42:49 -0500
On Fri, Feb 08, 2002 at 09:30:15PM -0800, Sheila King wrote:
| The task I am trying to accomplish right now is this:
|
| I have a list of strings (common words and phrases one might expect to
| find in a Spam email, if that wasn't obvious from the above examples)
| and I want to do a regular expression search against the subject of an
| email and see if I get a match or not (after which I handle the email).
How about using SpamAssassin? It works really well for me. (ignore
the fact that it is written in perl and just treat it as you would any
external program) You can stick it in your mail system using
procmail, or have your MTA automatically scan messages depending on
your setup. For instructions on my setup,
http://dman.ddts.net/~dman/config_docs/exim_spamassassin.html
-D
--
The crucible for silver and the furnace for gold,
but the Lord tests the heart.
Proverbs 17:3