[Mimedefang] Mail delay due to "Cannot mkdir(Work): No

Yizhar Hurwitz yizhar at mail.com
Fri Dec 23 12:25:28 EST 2005


HI.

Try the command:

ls /var/spool/MIMEDefang

How many files do you have there?
That folder is a temporary spool folder that should only contain few "pid/sock" files,
and "working folders" for current in transit mail.
But if you see a lot of old sub-folders, they are probably left overs from previos crashes.

If you have a lot of subfolders there, you might wish to first clean it up:

service sendmail stop
service mimedefang stop
cd /var/spool/MIMEDefang
# rm -rf mdefang-*

(Before running rm -rf, make sure that you are in the correct folder and using the correct syntax!!)

Next stop is to start using a RAM Drive if possible, to speed up mimedefang and it might also help with your problem:
Creating a RAM-based spool directory - MIMEDefang: 
http://www.mimedefang.org/node.php?id=27

Yizhar Hurwitz
http://yizhar.mvps.org



More information about the MIMEDefang mailing list