How To Empty /var
1 cd /var 2 du -sh *
If the log directory is the problem:
1 rm -f /var/log/*.1 2 rm -f /var/log/*.2 3 rm -f /var/log/*.3 4 rm -f /var/log/*.4
(The /var/log directory contains archived files that always end with a number: exim_mainlog.1. Any file ending with a number can be safely deleted.)
If the problem is with the exim_mainlog being too large, try rotating the logs:
1 /usr/sbin/logrotate -vf /etc/logrotate.conf
If you get an error about a duplicate log entry:
1 cd /etc/logrotate.d 2 rm -rf httpd.rpmorig.log
And try the rotate again.
If the problem is in spool:
1 cd /var/spool/exim/msglog 2 rm -rf *