procmail
[Top] [All Lists]

Re: Increasing number of backup emails

2006-09-14 01:54:05

On Wed, 13 Sep 2006, Cyndi Norwitz wrote:

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`

        Isn't overhead for procmail?  What I did for backup is following:

WEEK=`date '+%Y%U'
:0 c
/var/spool/backup/$WEEK/


        From crontab I delete the old weeks.

Bye,
  Udi





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






************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************




____________________________________________________________
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>