* Barry Higginbottom <[EMAIL PROTECTED]> writes: > This blasted Swen virus is getting me down. > Every day I am getting about 150 Swen emails, [...]
There is a Windows port of �mailfilter�. Here is a part of its FAQ (there is a typical config file at the end of this mail): ,---- | Mailfilter Frequently Asked Questions and Answers | | General Questions: | | * What is Mailfilter? | * Who needs Mailfilter? | * How does Mailfilter interact with my current e-mail environment? | [...] | | Installation: | | * What are the system's requirements to install and run Mailfilter? | * What should I know to make Mailfilter run on Windows 9x/2000/NT? | [...] | | General Questions: | | What is Mailfilter? | | Mailfilter is a flexible utility for UNIX (-like) operating systems to | get rid of unwanted spam mails, before having to go through the trouble | of downloading them into the local computer. It offers support for one | or many POP3 accounts and is especially useful for dialup connections | via modem, ISDN, etc. | Mailfilter connects to any POP3 mail box and compares part of its | content to a set of user defined filter rules. That way the spam gets | deleted directly on the mail server. | With Mailfilter you can define your own filters (rules) to determine | which e-mails should be delivered and which are considered waste. Rules | are Regular Expressions, so you can make use of familiar options from | other mail delivery programs such as e.g. procmail. | Mailfilter is released under the terms of the GNU General Public | License. For more information, see the README and COPYING documents | provided with the Mailfilter program. | | Who needs Mailfilter? | | If you do not pick up your e-mail from a POP3 server, then there is no | need to install Mailfilter. But if you do get your e-mail from one or | many POP3 accounts and if you are sick and tired of downloading | megabytes of worthless spam (usually those are anonymous advertisements, | chain mails, etc.), then you should give Mailfilter a try. | It will help save you band width and time by deleting spam directly on | your server, before you have to download and read those messages. By | defining your own personal filter rules, you can tell Mailfilter which | e-mails should be deleted. | | How does Mailfilter interact with my current e-mail environment? | | It doesn't matter which programs you use to fetch your mail with, | because Mailfilter is an independent application. It will not interfere | with your favourite e-mail client. You may just want to start Mailfilter | every time you are about to download new e-mail from a POP3 server, or | maybe just once a day. That's entirely up to you. | However, if you are using highly configurable mail programs such as | fetchmail, then there are some clever ways to get Mailfilter cooperate | with them directly. Section "How do I fine tune other programs to work | with Mailfilter?" describes this in more detail. | | Where do I find out more about Mailfilter? | | All relevant documentation for Mailfilter (including this FAQ) is | provided with the Mailfilter distribution. Online versions of some of | these documents are available on the official Mailfilter homepage: | | http://mailfilter.sourceforge.net/ | | On this homepage you may also find additional information on Regular | Expressions and related links to other programs that work well with | Mailfilter. If you have already installed the program, be sure to read | the man pages mailfilter(1), mailfilterrc(5) and mailfilterex(5). | | [...] | | Installation: | | What are the system's requirements to install and run Mailfilter? | | Here is an excerpt from the INSTALL file that is part of the source | archive of Mailfilter: | | "To run Mailfilter it's best to have a UNIX (-like) operating system, | but it also compiles fine with Windows 9x/NT/2000 if additional | libraries and tools are installed (e.g. Cygwin or DJGPP). So far | Mailfilter has been successfully compiled and tested with | * Solaris 8 / SunOS 5.8 | * Irix 6.5 | * FreeBSD 4.1.1-RELEASE | * Mac OS X | * NetBSD 1.5 | * Linux: Mandrake 7.0 - 8.1, Debian 2.1, RedHat 6.2 - 7.1, Slackware | 3.9 (See doc/README.Slackware for further details), SuSE 6.2, | LinuxPPC | * Windows NT, 2000 (See doc/README.Windows for further details) | | but it may well work on other platforms, too. (Please report success if | you have managed to compile it on any other system - thanks.) | | To compile/install Mailfilter you also need to have a fairly recent | version of the GNU C++ compiler (e.g. 2.95.x) and your system must | support BSD-type sockets (in general all UNIX systems do meet this | criterion). Since version 0.0.2 of Mailfilter you also need to have a | standard C compiler to translate some additional libraries. The tools | flex and yacc (or the GNU substitute bison) are also required." | | What should I know to make Mailfilter run on Windows 9x/2000/NT? | | Mailfilter was originally designed to only support UNIX (-like) | operating systems. But if you have additional libraries such as the | Cygwin environment, DJGPP or MinGW installed, then you should also be | able to translate the program on your Windows 9x/2000/NT platform. Have | a look at the doc/README.Windows file that comes with the Mailfilter | distribution or consult the homepage for additional information and | pre-compiled binaries. | | [...] `---- Its config files look like that: ,---- | LOGFILE=/home/thoenges/.mailfilter.log | VERBOSE=3 | | SERVER=pop.example.com | USER=mailuser | PASS=secret | PROTOCOL=pop3 | PORT=110 | | REG_CASE=no | REG_TYPE=extended | #MAXSIZE_DENY=1000000 | #MAXLENGTH=998 | | #DENY=^(Subject|From|To):.*Microsoft | DENY=^Subject: .*(Error|Abort) (Announcement|Letter) | DENY=^FROM: .*(Technical|Security|Customer|Delivery) (Section|Division|Assistance|Center|Department|Bulletin|Service|Support) | DENY=^(TO|From): .*(news|bulletin|confidence|technet|updates|support|newsletters)[\._](ms|msdn|msn)\.(net|com) | DENY=^To: .*(your|smtp|mail|email|home|mx)(server|domain) | DENY=^Subject: .*(Critical|Security|network|internet|net) (Upgrade|Update|Pack|patch) | DENY=^From: .*Storage (System|Service) | DENY=^To: .*(Email|Network|Mail|Inet|Internet|net) (Recipient|User|Receiver|Client) | DENY=^To: .*MS (Consumer|User) | DENY=^From: .*MS .*(Corporation|Security|Services|Storage|Internet|System|Support) | [...] `---- I'm sure you'll find some more rulesets for mailfilter via Google & Co. -- Carsten ________________________________________________ Current version is 2.00.6 | "Using TBUDL" information: http://www.silverstones.com/thebat/TBUDLInfo.html

