[Mimedefang]

Ian Mitchell junk at aftermagic.com
Fri Sep 3 12:43:28 EDT 2004


If you do a little search of the archives from a few years ago, there was
a posting of code for doing "dirty" word searches. I put together a small
snippet of code to include in the filter that would allow you to put
together a text file of regular expressions for known bad words. It worked
pretty good, but I'd recommend that you take caution if your putting it on
a system with a heavy load. Not much effort was put into optimizing it.

Through some conversation on this mailing list, it was engineered to
selectively scan the entire message. If I remember correctly it was added
to the contrib folder for a short time, but I doubt it's still there (and
I may be mistaken on this).

Try this link:

http://lists.roaringpenguin.com/pipermail/mimedefang/attachments/20020403/5b5c9b11/attachment-0001.htm

I beleive the link above contains the unimproved code, but a little
research should prove useful for the later code.

Hope this helps.

>> Original Message:

Hi!
I need to redirect all mail sent from addresses(in user name or domain)
which contain some of this words for i.e. "garca", the problem is we are
receive messages anonymous which offensive words, and search this word
if is possible in the body too,




More information about the MIMEDefang mailing list