Sundial Services International, Inc. wrote:

>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 they come down the
>line when we download mail.
>
Ha! Fancy you should mention it. I have a friend who is in a very 
similar situation. He has a publically visible mail address that he 
*cannot* get rid of -- it's his business mail, and has been visible on 
his site since he opened shop over five years ago. It's hosted at the 
mailserver of the company that bought his business. He gets 100+ spams 
to this address daily. What you want is to set up a separate server with 
its own POP3 server, and use fetchmail with the following ~/.fetchmailrc

poll <pop3_servername> protocol pop3 username <username> password <pwd> 
mda "/usr/bin/procmail -d %T"

for each affected account, assuming you use POP3 to pick up your mail. 
Then, follow the usual installation/delivery instructions for 
SpamAssassin, and change all your mail clients to point to the new mail 
server for delivery. It's not quite what you're asking for, because it 
sounds like you're using IMAP for delivery, but I think it's the best 
you can do under the circumstances.

-- 
    http://www.pricegrabber.com
          "We are smarter individually." -- Larry Niven

                                   




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

Reply via email to