NEED SOME HELP
CLICK HERE OR CALL US ON
hosting provider in india 1-800-212-2022
web hosting services in USA 1-888-288-3570
Have questions? Let us answer them all!

Go4hosting
FORUM

Go4hosting offers top-notch services, such as dedicated server hosting, VPS hosting, Co- location,Web hosting,
Email hosting, and Cloud Computing solutions. All the services offered by Go4hosting are efficient, reliable,
andcost-effective. , remaining essentially unchanged.

It is currently Mon Nov 25, 2024 11:33 pm

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jul 27, 2016 3:25 pm 
Offline

Joined: Tue Apr 12, 2016 5:37 pm
Posts: 99
How do I remove all the messages from the mail queue on my Dedicated Server?


Top
 Profile  
 
PostPosted: Wed Jul 27, 2016 3:42 pm 
Offline

Joined: Mon Jul 11, 2016 10:56 am
Posts: 78
In order to remove all messages from the mail queue on dedicated server you will need password to access root user on your dedicated server and a domain name pointing to the IP address of your server.

Step 1: Login to the SSH as Root Server

Step 2: You will have to stop the mail system as a security measure during a cleanup process. It is suggested that your mail system is offline during the process. In order to stop the mail system, you should follow the below mentioned procedure.
Enter ‘service exim stop’. This will stop the mail system.

Step3: Now you will execute the following command to clear the files. rm –rf /var /spool / exim / input/*
The command will initiate clearing up process and will take some time in case of a longer queue. Do not wait for the system to display ‘finish’ prompt. Reappearance of the command prompt to enable you to type next command means that the process of clearing is over.

Step 4 : For clearing the database put the following command, ‘mysqladmin drop eximstats;’ click yes for the process to begin.

Step 5: Now you will re-create the data base by entering ‘mysqladmin create eximstats;’ followed by ‘mysql eximstats < /usr/local/cpanel/etc/eximstats_db.sql’ for restructuring database.

Step 6: Finally you will have to restart the mail system by entering ‘service exim restart’ command.

This how you can remove all messages in queue pertaining to your dedicated server.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: