procmail
[Top] [All Lists]

New code for backup to top of file

1998-07-28 18:02:43
Well, thanks to David Tamkin we have the correct code for storing e-mail
backups to a single file.  

TO_KEEP= 50
BACKUP= backup
ADD= top
:0cw:$BACKUP$LOCKEXT
* ADD ?? ^^top^^
{
:0frw
| cat - $BACKUP

:0r
| formail -e${TO_KEEP}s > $BACKUP
}

           ^
           added

also had accidentally added a T to LOCKEXT which was causing it to hang.

-- 
Stathy Touloumis, CTO - JASKE.COM 'innovative I/net'
    JASKE.COM - 3555 W. Peterson Ave. Chicago  IL  60659
___________________________________________________
http://www.jaske.com - info(_at_)jaske(_dot_)com - support(_at_)jaske(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>
  • New code for backup to top of file, Stathy Touloumis <=