mqueue and mqueue.in have more files than necessary ... should I worry?

TAC Forums tac.forums at gmail.com
Sat Apr 1 13:46:01 IST 2006


On 3/31/06, Jeff A. Earickson <jaearick at colby.edu> wrote:
> First, figure out the maximum time that you hold email before returning
> it as undeliverable.  Mine is three days, eg "Timeout.queuereturn=3d"
> in my sendmail settings.  Then cd to the queue directory in question,
> and do:
>
> find . -mtime +3 -print | xargs rm
>
> Voila, old files are gone.  No need to stop sendmail or MailScanner.

Hi Jeff

This is great. Worked wonders... thanks a bunch for this...

The default was 5d for my server.

On a separate note, would you care to share why you configured it for
3 days instead of the default 5 days that was configured on my
sendmail configuration?

Regards
--
TAC Support Team


More information about the MailScanner mailing list