Urgent: kill spammer

1999-05-20 Thread Milivoj Ivkovic
A spammer is using my mail server. (I know, it shouldn't be an open relay but I'll get back to this later). qmail has many messages in the queue. I would like to redirect all the messages in the queue to a Perl filter. The filter would check if it's one of the spams. Now: Valid mail would go

Re: Urgent: kill spammer

1999-05-20 Thread Milivoj Ivkovic
And an additional question: how to temporarily stop all non-local deliveries? qmail still tries to send out these spam messages it has in the queue. I would like it to stop, but continue to accept mail (which may be an answer to this) and do the local deliveries.

Re: Urgent: kill spammer

1999-05-20 Thread Fabrice Scemama
Don't send back spam to spammers: their To: emails are usually wrong, and you'd get back bounces. The only good choice should be to stop relaying openly. As for the present queue, you can program a perl script to open any file in /var/qmail/queue/ recursively, and deletes any file containing

Re: Urgent: kill spammer

1999-05-20 Thread listy-dyskusyjne Krzysztof Dabrowski
Spam would either be removed from the queue, or (and I like this better) sent back to the spammer (his e-mail is in the To: header). He seems to be connected through dial-up, so there's a chance of annoying him with sending everything back to him. You can set up a .qmail-default in ~/alias/ but

Antw: Urgent: kill spammer

1999-05-20 Thread Ralf Guenthner
Hi I had the same problem once before I configured qmail to be a selective relay. What I did was, I obtained qmail-handle (available from www.qmail.org) a perl tool with which you can manipulate the qmail queue and deleted all mails which weren't sent by one of my local users. Can be a

Re: Urgent: kill spammer

1999-05-20 Thread Milivoj Ivkovic
Don't send back spam to spammers: their To: emails are usually wrong, and you'd get back bounces. In this case, the Return-Path and From look wrong (random user with letters and numbers), but To: looks right: always [EMAIL PROTECTED]. The only good choice should be to stop relaying openly. As

Re: Urgent: kill spammer

1999-05-20 Thread Milivoj Ivkovic
And an additional question: how to temporarily stop all non-local deliveries? echo 0 /var/qmail/control/concurrencyremote restart qmail Ok. Done. Thanks!