From ba5426db3f92f08c2b86564c076a9f99f86f4efd Mon Sep 17 00:00:00 2001 From: Paul Rodger Date: Sat, 13 Apr 2002 11:36:32 +0000 Subject: Added a lot more documentation, fixed up usage messages and expanded a lot on the man page. --- archivemail.sgml | 142 +++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 118 insertions(+), 24 deletions(-) (limited to 'archivemail.sgml') diff --git a/archivemail.sgml b/archivemail.sgml index 28412fe..c62424f 100644 --- a/archivemail.sgml +++ b/archivemail.sgml @@ -1,9 +1,21 @@ + +"> + "> + + +"> + + + +"> + "> @@ -53,15 +65,15 @@ compressing old email in mailboxes. By default it will read the mailbox - @@ -101,9 +113,10 @@ read. Use the suffix _archive. For example, if you +run exsouthrock, any archive mailbox file will be created +with the filename exsouthrock_archive.gz. @@ -131,8 +144,8 @@ Delete rather than archive old mail. Use this option with caution! -Warn about duplicate Message-IDs that appear in the input mailbox. - +Warn about duplicate @@ -149,9 +162,9 @@ Reports lots of extra debugging information about what is going on. -Turns on @@ -178,42 +191,123 @@ 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;. + + -Probably the best way to run -q option. +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 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, and nonzero on an unexpected errors. +Normally the exit status is 0. Nonzero indicates an unexpected error. + + + + +Bugs + +There is no support yet for reading + + + See Also - &python;, &gzip; + &python;, &gzip;, &mutt;, &procmail; + +Url +The sourceforge + + + Author Paul Rodger -- cgit v1.2.3