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@xxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos