"> "> "> "> "> "> "> ]> 12 April 2002 archivemail 1 SP archivemail archive and compress your old email Description By default it will read the mailbox Options Archive messages older than Use the directory name Use the suffix _archive. For example, if you run exsouthrock, any archive mailbox file will be created with the filename exsouthrock_archive.gz. Don't write to any files -- just show what would have been done. This is useful for testing to see how many messages would have been archived. Do not archive any messages that have not yet been read. :2, then it assumes the message has been read. Delete rather than archive old mail. Use this option with caution! Do not compress any archives using &gzip;. Warn about duplicate Reports lots of extra debugging information about what is going on. Turns on quiet mode. Do not print any statistics about how many messages were archived. This should be used if you are running Display the version of Display brief summary information about how to run Notes When reading an .lock so that procmail will not deliver to the mailbox while it is being processed. It will also create an advisory lock on the mailbox using &flock;. If Examples To archive all messages in the mailbox debian-user that are older than 180 days to a compressed mailbox called debian-user_archive.gz in the current directory: bash$ archivemail debian-user To delete all messages in the mailbox spam that are older than 30 days: bash$ archivemail --delete --days=30 spam To archive all read messages in the mailbox incoming that are older than 180 days to a compressed mailbox called incoming_archive.gz in the current directory: bash$ archivemail --preserve-unread incoming To archive all messages in the mailbox received that are older than 180 days to an uncompressed mailbox called received_archive in the current directory: bash$ archivemail --no-compress received To archive all mailboxes in the directory $HOME/Mail that are older than 90 days to compressed mailboxes in the $HOME/Mail/Archive directory: bash$ archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* Tips Probably the best way to run --quiet option. Don't forget to try the option for non-destructive testing. Exit Status Normally the exit status is 0. Nonzero indicates an unexpected error. Bugs There is no support yet for reading See Also &python;, &gzip;, &mutt;, &procmail; Url The sourceforge Author Paul Rodger