procmail
[Top] [All Lists]

Re: problem w/ keeping only one out of many copies via procmail

2001-10-12 21:05:12
On Fri, Oct 12, 2001 at 11:07:26PM -0400, parv wrote:
problem is that i can't seem to get only one copy of mail 
instead of all the ones that i can potentially get. here is
the receipe from procmail faq/man page/etc...

:0 Whc: .msgid-lock
| formail -D 32768 .msgid-cache

#:0 a:
#.extra-copy


...intially, i was giddy whenever i would see messages only in the
.extra-copy but only one copy w/ same message-id in any/all other
folder (mbox type).  but that doesn't seem to take care of all the 
duplicates all the time.

Uhm, that would be because you're no longer putting the extra copy generaged
by the c flag on the first recipe in the .extra-coppy folder defined by teh
second. Comment out the second recipe and the extra copy goes right on through
to the rest of your .procmailrc. You want to take that c flag off as well.

-- 
Andrew Edelstein        -       andrew(_at_)pure-chaos(_dot_)com
http://andrew.pure-chaos.com

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