On Sun, Mar 19, 2000 at 11:08:25AM +0100, Christophe Lesur wrote:
>
> Hi !
>
> This last week, my qmail server was in trouble :
>
> One of my user have misconfigured a computer, so that the computer's
> security scanner mail it a report every second... :(((
>
> All was fine because qmail is solid rock software but, the rcpt domain's
> relayed by my qmail was unable to handle the 79077 mails in 3 days and
> crash with no warning (it's a TFS SMTP 4 on NT server... Beurk).
>
> So qmail start to store all domain's mail (valid and scanner's report).
>
> When the TFS restart, the qmail's queue stored about 7000 mails.
>
> So this is my questions :
>
> HOW TO SELECTIVELY DELETE A LOT OF MESSAGE IN THE QUEUE?
Ok, one that might work:
Route the domain to 127.0.0.1 in smtproutes
create a virtualdomain for it to deliver to nowhere (just a '#' in the
.qmail file)
No guarantees! :)
Note that this will destroy _all_ mail for that domain, including the valid
mail for that domain.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++