[Bsd-sharp-list] New spam filtering rules

Tom McLaughlin tmclaugh at sdf.lonestar.org
Mon Apr 23 19:18:08 MDT 2007


List administrivia

Because this mailing list is listed as the maintainer for some FreeBSD
ports this needs to be an open mailing list.  This of course is a
problem with all the spam out there.  Previously I handled this by
holding non-subscriber emails for moderation, manually accepting the
legit ones and discarding the spam.  At some point Mailman's settings
were reset and all non-subscriber emails started being discarded.  I I
didn't notice this and just thought Novell implemented some spam
filtering.  A few weeks ago I noticed some email sent to me and the list
that never reached here which is when I found out Mailman's settings had
been reset.  I went back to manually moderating non-subscriber traffic
but found out that didn't work since the list was receiving somewhere
around 1000 spam emails a week.  

I played with some rules in Mailman today and added 4 simple ones which
should allow me to keep this list open and the spam to a minimum.  The
following regexes will cause an email to this list to be discarded:

# Subjects with characters outside the standard ASCII printable 
# character set. (Basically characters not on my keyboard)
Subject:.*[^\s\w\[\]\~\`\!\@\#\$\%\^\&\*\(\)\-\+\=\{\}\|\\\:\;\"\'\<\>\,
\.\?\/]

# All html mail.
Content-Type:\stext/html

# Some annoying Outlook headers standard email doesn't need.
X-MimeOLE:\sProduced By Microsoft MimeOLE
X-MSMail-Priority:\sHigh

Sorry if this causes anyone an inconvenience but it's necessary in order
for me to keep this list open to all users and so I don't have to spend
an hour or two sifting through the queue each night.  Let me know if you
have any problems, questions, concerns, or better regexes.

tom 

-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |



More information about the Bsd-sharp-list mailing list