Sundial Services International, Inc. wrote:
> Oops, that wasn't too clear...  let me clean up the text a bit here....
> ----
> 
> 
> Here's my problem.  We use an external ISP to handle our mail, and of course
> we are getting pummeled with spam so fast that the mailbox can fill up
> within hours.  We use a different ISP to handle the web-site and can set up
> programs on that.
> 
> What I want to do, unless it has already been done, is to construct a Perl
> script that can then be run periodically as a cron-job.  What this script
> would do is to interrogate each of the mailboxes we use, determine what's
> spam among them, and delete those messages so that only good mail comes down
> the line when we download mail.
> 
> In other words, this script is going to connect through POP3 to the other
> mail server, get the text of all the pending mail (up to 5MB of data),
> compare and run it through the wringer, DELE the bad stuff, and exit.  It'll
> do that about twice an hour.

Lets not over complicate stuff - setup a spare linux box. Install 
fetchmail, qmail, qmail-scanner and courier-imap using Maildirs. Use 
fetchmail to download your mail from your ISP. Use qmail-scanner to do 
the SpamAssassin phase (and perhaps get a virus checker in there too). 
Deliver to qmail. Then just collect your mail via IMAP from that box 
using Courier IMAP.

All of this would be about half a day's work if you very carefully 
follow the instructions for each piece of software I've listed there. 
You do that *once*. Then you'll have an email system that can eventually 
scale to thousands of users if you ever need that.

And I *do* mean "lets not over complicate stuff". This is really easy to 
work with once you get it all installed. It's almost exactly how I work 
at home - and I only admin for my wife and I ;-)

Matt.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to