/var/spool/exim/* filling with files

MarkB

Well-Known Member
Feb 1, 2003
46
0
156
Hi guys

At least once a day, my /var partition fills with files and won't accept anymore new files etc, which causes various scripts on my sites to fail.

If I go into /var/spool/exim/input and /var/spool/exim/msglog I see a truckload of files such as 19xJIONO879-000Ni etc. Deleting these brings everything back into order.

But could there be a problem causing this? Should these files be flushed out? What can I do to fix it?

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,051
0
166
Those are messages sitting in your mail queue. If you have a lot of them (5000+) ls -la /var/spool/exim/input | wc -l then you have a config issue with your machine. You should then either find & correct the issue, symlink that directory to a partition with more space or edit your exim config to expunge messages say after 3 days rather than 7.

To attempt to deliver all of the mail in the queue:

exim -v -qff &

Look for error messages, that will help you ton.

cPanel.net Support Ticket Number:
 

MarkB

Well-Known Member
Feb 1, 2003
46
0
156
Hiya - thanks for that. It keeps recurring, so I guess I need to symlink it to a larger partition just to keep everything running.

Question is, how do I do that?:)

cPanel.net Support Ticket Number:
 

sexy_guy

Well-Known Member
Mar 19, 2003
848
0
166
Originally posted by MarkB
Hi guys

At least once a day, my /var partition fills with files and won't accept anymore new files etc, which causes various scripts on my sites to fail.

If I go into /var/spool/exim/input and /var/spool/exim/msglog I see a truckload of files such as 19xJIONO879-000Ni etc. Deleting these brings everything back into order.

But could there be a problem causing this? Should these files be flushed out? What can I do to fix it?

cPanel.net Support Ticket Number:
Get used to it! The way exim.conf is written is that any idiot trying to spam the server can do so. I have rewritten my ACL rules to ignore any message coming into the server where the user or domain doesnt exist. That way my queue doesnt get filled with crap. Try getting Darkorb to fix this problem. Why one earth would i want to let my users use fail, /dev/null and blackhole? Thets the dumbest thing iv ever heard of. All that does is allow messages to pile up in the queue. Try stopping people from sending email to undisclosed recipient. Then you wont get a million messages in the queue. DUH! Will i tell you how to do it? Maybe! PM me!

Using my solution, rewritten ACL rules if the email address does not exist on the server the response is "No Such User Here", and thats that way it should be. Why would you allow some drip to send email to the server if the user or domain doesnt exist on the box?

cPanel.net Support Ticket Number:
 
Last edited: