Remy FAURES <firstname.lastname@example.org> writes:
> does anybody has a shell script to clean the mailqueue periodically ?
> Is it dangerous to manually clean the mailqueue, by deleting all files
> in the queue directory. Can I safely (for the system stability) clean
> the queue (manually or with a script) once a week for exemple, to remove
> all defered messages ?
Why do you need to clean your mail queue? sendmail does that itself after
it retries the deferred messages for X number of days (as defined in your
Russ Allbery (email@example.com) <URL:http://www.eyrie.org/~eagle/>