From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7ee0d960296483 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-23 18:14:15 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc04.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: <3F6FC7D4.3949160D@sympatico.ca> Subject: Re: Current "Swen" worm attack X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 66.31.4.164 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc04 1064366055 66.31.4.164 (Wed, 24 Sep 2003 01:14:15 GMT) NNTP-Posting-Date: Wed, 24 Sep 2003 01:14:15 GMT Organization: Comcast Online Date: Wed, 24 Sep 2003 01:14:15 GMT Xref: archiver1.google.com comp.lang.ada:42828 Date: 2003-09-24T01:14:15+00:00 List-Id: "Ludovic Brenta" wrote in message news:m3k77zcy0w.fsf@insalien.org... > > I have an additional requirement. Not only I want to prevent my > mailbox from filling up, but I also do not want to download all of > these emails, because with the sheer volume I'm getting (about 200 > spams a day), I'd blow up my download quota. This means I do not want > to do the filtering on the client (which I was doing in gnus), but I > want to do it on the server before my client downloads the emails. > > So, today, I wrote an Ada program that does all that. It's about 550 > SLOC in Ada, and uses libspopc to do the POP3 client stuff (and yes, I > wrote a thick binding to it). I also used a couple of generic > containers from Charles. > > My solution uses POP3 to download just the headers of all mails, and > delete those that match a set of regular expressions. These regexes > come directly from my ~/.emacs file, so that the server-side filtering > uses the same rules as the client-side one. > > I ran it today and it deleted about 200 spams that had accumulated > over 14 hours. Now I will never even have to download their contents > :) > stuff deleted > > Anyone feel this is worth a project on Savannah or SourceForge? > > -- > Ludovic Brenta. Depends.. At the very least the bindings are worth a project. If you think/expect you would continue to update the rest of it then the whole thing should probably be a project.