On 11 May 2001, Patrick Colbeck wrote:
pc> Hi
pc>
pc> I used to have a prcmail script that kept a backup copy of all
pc> incoming mail in a backup directory. It created a sepearte directory
pc> per day named after the date and then put each mail in a separte file
pc> eg
pc>
pc> After a recent reinstal I found I had forgotten to backup the script
pc> (idiot !) and now can't find it or anything similar on the net. Does
pc> any one have something like this I could use ?
pc>
I use the following to make backups when testing recipies
:0
* BACKUP ?? on
{
:0c
backup
:0ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,150d`
SPAMDEST=/dev/null
}
which requries that you have the following variables set toward the top
of your .procmailrc file
BACKUP=<on or off>
SPAMDEST=<spamfolder>
--
S.Toms - smotrs(_at_)mindspring(_dot_)com - www.mindspring.com/~smotrs
SuSE Linux v7.0+ - Kernel 2.2.18
Remember, even if you win the rat race -- you're still a rat.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail