procmail
[Top] [All Lists]

Increasing number of backup emails

2006-09-13 11:05:54
I have the following lines in my .procmailrc file:

# Create a backup cache of 100 most recent messages in case of mistakes
:0 c
backup

  :0 ic
  | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,100d`

This creates a folder of up to 100 files, each with a recent email
message.  It works very well.

I've been having a lot of trouble with my ISP and sometimes they dump my
inbox and I need to rely on my backup cache.  The problem is, I get so much
spam and mailing list mail that 100 emails only takes me back about 4
hours (I don't lose most mailing list mail because it's sorted into folders
as it arrives, but I do lose anything that goes to default).

I have lots of unused disk space and I would like to increase my cache to
1000 files.  But I can't see an obvious way to do that from the lines
above.

Anyone know?

Thanks a bunch,
Cyndi

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>