>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 using perl for every
incoming message is kind of an overkill for a loaded server. better
solution is not to be an open relay (we are working on this too).
Or to clear your queue from time to time.
i use a bit modified qmHandle (check on www.qmail.org) and then i grep
through it;s list and remove all spam from queue. It's not perfect but it
helps when all you need is to have your server up and running.
Also blocking spammers IP (or entire C subnet :) ) via tcprules in
tcpserver is a good idea if you can't close your relay.
Hope that helps.
Krzysztof Dabrowski
Polska OnLine