procmail
[Top] [All Lists]

Re: Cloning and archiving an incoming list

2001-03-17 10:37:17
Mike A. Harris asks:

[snip]

:0: c
* ^List-Id:.*commits
COMMITS

:0:
BACKUP-COMMITS


Is this right, or should it be changed to something else?

Two changes:
        :0c:
        * ^List-Id:.*commits
        COMMITS
        
        :0A:
        BACKUP-COMMITS

1. Your ":0: c" said "use a lockfile named 'c'".  Flags must
precede the second colon.

2. Adding the "A" flag (think "Also") to the second recipe
means that those which don't match the first won't match the
second one either.  The way you had it, all mail would
end up in file BACKUP-COMMITS.

Hope that helps,
Stan
_______________________________________________
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>