HOW TO REMOVE THE ENTIRE MAIL QUEUE IN MANUAL WAY

HOW TO REMOVE THE ENTIRE MAIL QUEUE IN MANUAL WAY

DATE: 29/01/2019

Execution steps to remove the entire mail queue in a manual way.

The manual way to remove the entire queue is as follows

Step 1: Change directory to spool

Execute the following command line in your terminal

# cd /var/spool

Step 2: Move the folder of Exim

Execute the following command line in your terminal

# mv exim exim.old

Step 3: Make directories for input, msglog and db

Execute the following command line in your terminal

# mkdir -p exim/input
# mkdir -p exim/msglog
# mkdir -p exim/db

Step 4: Provide Ownership as ‘mail’

Execute the following command line in your terminal

# chown -R mail:mail exim

Step 5: Restart EXIM

see the below commands to start the Exim server in Linux.

For SysVinit Systems

# service exim start
or
# /etc/init.d/exim start

For systemd Systems

# systemctl start exim
or
# systemctl start exim.service

Finally, you have successfully removed the mail queue in your system.

Thanks for using pheonix solutions.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top