Table of Contents

Name

mboxscrub - remove old mails from mbox file

Synopsis

mboxscrub [ -D days-to-keep ] mboxfile

Description

Remove old emails from an mbox file.

Options

-D days-to-keep
Keep the last days-to-keep days in mbox file. Default: 40

Return Value

The return value is 1 if forking failed otherwise 0.

Examples

mboxscrub -D 31

/var/spool/mail/user

Caveats

The mbox size must be less than 2147483648 bytes.

Author

Frank Bergmann, http://www.tuxad.com


Table of Contents