Remy FAURES <rfaures@amb-wash.fr> 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
sendmail.cf file).
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
References:
|
|