I have about 1100 files in my <a href="http://mqueue.in">mqueue.in</a> directory. Looking at them I see that majority are orphaned spam message bodies. I checked the mailscanner lists and found references to these files being left there from unclean program shutdowns or reboots etc.
<br><br>You could write a script to shutdown mailscanner, run tmpwatch to clean out files older than a certain amount of days and then restart mailscanner.<br><br>Probably more of a mailscanner issue than a Centos one.<br>
<br><div><span class="gmail_quote">On 1/20/07, <b class="gmail_sendername">John R Pierce</b> <<a href="mailto:pierce@hogranch.com">pierce@hogranch.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Indunil Jayasooriya wrote:<br>><br>> Hi,<br>><br>> I am happily running sendmail with MailScanner on CentOS 4.4. But I<br>> have an question.<br>> My question is that there are huge number of mails in<br>
> /var/spool/mqueue.in .<br>><br>> Why is that? My hard disk would go to waste. Can I delete them? or<br>> are these real mails.<br>the only reasonable answer to your question is, something is broken on<br>your configuration, and the mailscaner/sendmail stack isn't performing
<br>according to plan.<br><br>has nothing to do with CentOS, actually.<br><br><br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">
http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br>