yglobal
asked on
clear qmail queue of 201000 messages?
how do I use telnet (ssh2) to empty all messages in my mail queue? What is the command for this? so far I have done these commands..
cd /var/qmail/queue
/var/qmail/bin/qmail-qstat
messages in queue: 201578
what is next to empty it?
thanks!
cd /var/qmail/queue
/var/qmail/bin/qmail-qstat
messages in queue: 201578
what is next to empty it?
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if its exchagne 2003 then stop the smtp service... open your windows explorer and go to location of Mailroot folder.. and rename it to MailrootOld. and then restart the smtp service...
check the queue.. now u can go and delete the old one...
if 2007 then stop the transport service locate the data folder and rename it to dataOld. restart the transport service... check the queue... and now delete the old data folder
Once we restart the smtp / transport servic IT Creates a new Folder of that name.. this will be clear !!!
- I hope you got the issue cleard this way... this is very simple and the best....
-x
check the queue.. now u can go and delete the old one...
if 2007 then stop the transport service locate the data folder and rename it to dataOld. restart the transport service... check the queue... and now delete the old data folder
Once we restart the smtp / transport servic IT Creates a new Folder of that name.. this will be clear !!!
- I hope you got the issue cleard this way... this is very simple and the best....
-x
x-sam:
no offense, but given that
a) the poster has already mentioned that he's changing directory to /var/qmail/queue, and running a qmail-specific scripts, and
b) the question is posted (cross-posted) into a QMail Zone
...exactly WHAT would possess you to think that he is running Exchange? Me thinks you've been drinking Bill Gate's KoolAid again, and believing that the whole world runs Microsoft softare (except for a small handful of Linux geeks).
yglobal:
The commands I listed above are shell commands that should be run as ROOT (non-privileged users will not be able to execute them as shown). And if you're telnetting into your system as root, shame on you... use SSH (instead of telnet), and login as an un-privileged user, then SU to the ROOT user... If you WANT (read: insist) on logging in directly as ROOT, at least use SSH and disable your telnet server... telnet is TOTALLY insecure!
Good Luck!
Dan
IT4SOHO
no offense, but given that
a) the poster has already mentioned that he's changing directory to /var/qmail/queue, and running a qmail-specific scripts, and
b) the question is posted (cross-posted) into a QMail Zone
...exactly WHAT would possess you to think that he is running Exchange? Me thinks you've been drinking Bill Gate's KoolAid again, and believing that the whole world runs Microsoft softare (except for a small handful of Linux geeks).
yglobal:
The commands I listed above are shell commands that should be run as ROOT (non-privileged users will not be able to execute them as shown). And if you're telnetting into your system as root, shame on you... use SSH (instead of telnet), and login as an un-privileged user, then SU to the ROOT user... If you WANT (read: insist) on logging in directly as ROOT, at least use SSH and disable your telnet server... telnet is TOTALLY insecure!
Good Luck!
Dan
IT4SOHO
what is the server? exch 2003 or exch 2007 ???
-x