[EMAIL PROTECTED] wrote:

> >
> > 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! :)

My problem is that i MUST keep valid mail. So it's not possible (and
it's why i restart the TFS gateway each hour... :'( ).

BUT ! 

What if : 
I) i create a virtualdomain equal to my routed domain.
II) i create a user equal to my RCPT TO user for bad mail
III)  i route all other mail to the right gateway.

I know how to do I) and II)... BUT 
Does anyone know how to III) ?

My other question is again : are they any tool to handle QMAIL queue
(like kill a lot of mail from a user...) ? 

BTW, i can code this tool, but HOW TO DESTROY CLEANLY MAIL FROM THE
QUEUE?

Reply via email to