Exim Related Questions

karlos.vanger

Member
Jun 4, 2013
18
0
1
cPanel Access Level
Root Administrator
Hi Guys,

Could anybody tell me the use of /var/spool/exim? This directory taking up all the free space available in my /var/. I believe it's incoming mail queue. If so it should be cleared if I manually perform local mail delivery. Is that correct? Any help in this highly appreciated :)
 

24x7server

Well-Known Member
Apr 17, 2013
1,907
95
78
India
cPanel Access Level
Root Administrator

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
I'd recommend you to install ConfigServer Mail Queues:
ConfigServer Mail Queues

"The product provides you with a full featured interface to the cPanel exim email queues from within WHM."
 

faisikhan

Well-Known Member
Dec 12, 2011
86
0
56
Islamabad, Pakistan
cPanel Access Level
Root Administrator
In order to get your mail queue emptied, you should check and try one of these commands too:

Remove emails queue for blank senders:

exiqgrep -i -f '<>' | xargs exim -Mrm

exiqgrep -z -i | xargs exim -Mrm (For Incoming Emails)

exiqgrep -z -f | xargs exim -Mrm (For Outgoing Emails)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

It's a good idea to review the emails in your mail queue before using a command to delete them. You can see the messages in your mail queue via:

"WHM Home » Email » Mail Queue Manager"

Check to see if emails are building up for a specific reason (e.g. from a spammer) to ensure they do not continue to build up in the queue in the future.

Thank you.