very old messages in /var/spool/mqueue.in
Scott Silva
ssilva at sgvwater.com
Thu Nov 8 20:32:59 GMT 2007
on 11/7/2007 11:36 PM Götz Reinicke spake the following:
> Hi,
>
> what is qf/df :-? and is ther a way to do this kind of cleaning
> automatically?
>
> Thanks and best regards
>
> Götz
find /path/to/files* -mtime +5 -exec rm {} \;
set /path/to/files* to the queue path and the 5 is the default amount of time
that sendmail retries sending messages before giving up. Adjust that amount to
what your system does. To be safe you could set it to +7.
When the above is working properly, you can add it to a daily cron job.
--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
More information about the MailScanner
mailing list