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 back to the queue or be delivered instantly.

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.

I know Perl well, but am not very experienced with Unix and qmail.

Thanks for any help.

Milivoj

Reply via email to