procmail
[Top] [All Lists]

Example in procmailex man page

2002-08-11 10:08:39
Hi, the procmailex man page gives the following example, which I am
considering using.  However, I have one question about it (indicated
below):

    If you are fairly new to procmail and plan to experiment a little
    bit it  often helps  to  have  a  safety  net of some sort.
    Inserting the following two recipes above all other recipes will
    make sure that of all arriving mail always  the  last 32  messages
    will be preserved.  In order for it to work as intended, you have to
    create a directory named `backup' in  $MAILDIR  prior  to  inserting
    these  two recipes.
    
            :0 c
            backup
    
            :0 ic
            | cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`
                                 ^^^^^

What I want to know is the purpose of the dummy.  Thanks.

Andrew.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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