<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: courier new,courier,monaco,monospace,sans-serif; font-size: 10pt; color: #000000'>Hello all,<br><br>am running MailScanner-4.84.5-2 and have found that under /var/spool/MailScanner/incoming/SpamAssassin-Temp there is a huge build up of tmp.??????? and MailScanner.????? files.&nbsp; The later I have resolved by changing /usr/lib/MailScanner/MailScanner/CustomFunctions/Ruleset-from-Function.pm line 34 from:<br><br>my($tmpfh, $tmpfilename) = tempfile("MailScanner.XXXXXX", TMPDIR =&gt; 1, UNLINK =&gt; 0);<br><br>to:<br><br>my($tmpfh, $tmpfilename) = tempfile("MailScanner.XXXXXX", TMPDIR =&gt; 1, UNLINK =&gt; 1);<br><br>which means that if the daemon dies it will clean up the temporary file.<br><br>Any thoughts on the tmp.??????? ones as I have scanned the code for tempfile() calls plus tmpfile() and cannot find where they are generated.&nbsp; I think they may be coming from SA.pm.<br><div><span name="x"></span>-- <br>Thanks, Phil<span name="x"></span><br></div><br></div></body></html>