mail_manoj <[EMAIL PROTECTED]> wrote:
>I want to delete mails that's in queue for the last four days. Does it
>effect on qmail-send because few days ago I deleted mails in queue that's
>caused qmail stop, and I had to restart the qmail. So, I want to know the
>safest way to delete it.
1) stop qmail
2) delete messages from queue
3) start qmail
Step 2 can be accomplished by deleting all files under
/var/qmail/queue belonging to each message. There will be at least two
files for each message. There are utilities on www.qmail.org that make
this easier.
But I have to ask: why not leave them alone and let qmail bounce them
(or deliver them) naturally? Except in extreme cases, you shouldn't
have to micromanage the queue like this.
-Dave