MailScanner bug causing 0 byte tmp files
Posted: 24 Mar 2014 17:12
On a recent deployment of EFA (using the build script) I discovered that there is a growing amount of 0 byte temp files in /tmp that are not getting deleted. These files started showing up prior to the system being exposed to email traffic (other than perhaps what is locally generated on the host). Doing a quick search I found multiple message from May-2012 on the MailScanner list that discusses this issue. The person in the message below did some investigation and found the cause. He also provided a fix.
http://lists.mailscanner.info/pipermail ... 99592.html
I am not sure if this is the same issue but it does seem feasible. I do not have the time to test this patch right now but I will try to get to it this upcoming weekend. The message also talks about seeing 0 byte files being left behind in /var/spool/MailScanner/incoming/SpamAssassin-Temp which I am also seeing. Unfortunately the person who sent this message was not able to figure out why those files were being created only when they were getting created. He might have posted at a later date with more info but I do not have the time to do further searches right now.
http://lists.mailscanner.info/pipermail ... 99592.html
I am not sure if this is the same issue but it does seem feasible. I do not have the time to test this patch right now but I will try to get to it this upcoming weekend. The message also talks about seeing 0 byte files being left behind in /var/spool/MailScanner/incoming/SpamAssassin-Temp which I am also seeing. Unfortunately the person who sent this message was not able to figure out why those files were being created only when they were getting created. He might have posted at a later date with more info but I do not have the time to do further searches right now.