how to setup exim ?

pppplus

Verified User
Joined
Dec 19, 2008
Messages
519
Hi,

I write how to setup exim, but I am not sure it is on exim.

My problem :
/var/spool grow up very quickly because a lot of emails are sent

/var is a partition of 10Go
=> /var has about 4-5Go in normal time
=> /var is full yesterday, after a lot emails are send and server crashes.

/var/spool was very big, and decrease when emails are sent.

=> my idea (maybe I'm wrong)
- decrease email retry (I don't know exactly how many times, server try to resend emails.
I change 2 values this morning in exim.conf
* ignore_bounce_errors_after = 1d
* timeout_frozen_after = 2d
(so I suppose, I will have less error email in spool)

=> 2 other ideas...
* move /var/spool in home (but I read some post on this forum, and I am not sure it is the best way)
* resize /var, but I don't know how to do, and if it's possible (without reinstall all server...).
(server Centos 5.4 64 bits)

Thanks for your help

For information, biggest directories in /var
Code:
55M     /var/clamav/main.cld
56M     /var/clamav
59M     /var/cache/yum/rpmforge
60M     /var/log/httpd/domains/dreamad.org.log
60M     /var/www/html
66M     /var/cache/yum/updates/packages
74M     /var/www
88M     /var/cache/yum/updates
93M     /var/cache/yum/base/packages
112M    /var/spool/exim/input
117M    /var/spool/exim
118M    /var/spool
126M    /var/log/httpd/domains
127M    /var/log/httpd
147M    /var/lib/mysql/dreamad_dbb/dreamad_dbb
149M    /var/cache/yum/base
183M    /var/log
188M    /var/lib/mysql/dreamad_dbb
212M    /var/lib/mysql
260M    /var/lib
299M    /var/cache/yum
300M    /var/cache
441M    /var/softaculous
 
Last edited:
The exim spool in a properly configured DirectAdmin server only holds emails which can't be sent on the initial try.

The first thing to do is check your logs to see where the emails are coming from, and why they can't be sent.

Jeff
 
Back
Top