At 09:56 +0300 22 Jun 2000, Mikko Hänninen <[EMAIL PROTECTED]> wrote:
> Vincent Danen <[EMAIL PROTECTED]> wrote on Wed, 21 Jun 2000:
> > :0 c
> > backup

> Finally, make sure that "backup" is a directory, fix that $PMDIR thing
> (if it needs fixing), and it should work.  The messages will be stored
> in the backup dir, with names like msg.000, msg.001, etc.  The numbers
> will be in order, although I don't remember if latest is .000 or .099.
> (Or it will work something like that...)

File names being in creation order is only true for MH folders (where
the file name would be made up of only digits, without the "msg."
prefix), which procmail will use if the folder name ends with "/.":

  :0c
  backup/.

Given just the directory name (as in the quoted recipe), procmail will
use it's own mail directory format where the stuff after the dot will be
an encoded form of the file's inode number.

Personally, I use maildir format (recent versions of procmail will use
this when the folder name ends with a "/") for my backup folder.  This
way I can use mutt to more easily recover messages from there (this
could also work with MH folders, but mutt's support for those isn't as
good).  Rather than having procmail remove the old messages, I have cron
run find once a day to remove messages that are more than a week old.

-- 
Aaron Schrab     [EMAIL PROTECTED]      http://www.execpc.com/~aarons/
 Feeling amorous, she looked under the sheets and cried, "Oh, no,
 it's Microsoft!"

Reply via email to