I have about 1100 files in my mqueue.in 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.

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.

Probably more of a mailscanner issue than a Centos one.

On 1/20/07, John R Pierce <pierce@hogranch.com> wrote:
Indunil Jayasooriya wrote:
>
> Hi,
>
> I am happily running sendmail with MailScanner on CentOS 4.4. But I
> have an question.
> My question is that there are huge number of mails in
> /var/spool/mqueue.in .
>
> Why is that?  My hard disk would go to waste. Can I delete them? or
> are these real mails.
the only reasonable answer to your question is, something is broken on
your configuration, and the mailscaner/sendmail stack isn't performing
according to plan.

has nothing to do with CentOS, actually.


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos