RE: [SLUG] Duplicate Mails and Procmail (CORRECTION!)

From: Patrick Grantham (patrick.grantham@vacationclub.com)
Date: Tue Jun 26 2001 - 21:37:08 EDT


What's aggravating is that the dupes only come two at a time now and only
using outlook on a w2k system on RR. In a bout 4 hours I had 150 messages.

-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net]On Behalf Of Paul M Foster
Sent: Tuesday, June 26, 2001 7:30 PM
To: SLUG List
Subject: Re: [SLUG] Duplicate Mails and Procmail (CORRECTION!)

On Tue, Jun 26, 2001 at 07:10:31PM -0400, Paul M Foster wrote:

> SLUGs:
>
> For those of you getting duplicate mails, there is a procmail solution.
> According to:
>
> man procmailex
>
> You can put this recipe at the top of your ~/.procmailrc file:
>
> :0 Wh: msgid.lock
> | formail -D 8192 msgid.cache
>
> This creates an 8K message ID cache, which is checked each time procmail
> is called (each email). It kills dupes. If you're paranoid, you can add
> the following recipe just below it:
>
> :0 a:
> duplicates
>
> This will put the dupes in a folder for you to look at later, if you
> wish.
>
> Of course, this won't solve the problems of you getting dupes; you just
> won't _see_ them.
>
> Paul
>

ARGH! I hate it when I do this! If you want the dupe emails in a folder,
use the following instead of what I said above:

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

:0 a:
duplicates

(The difference is the "c" flag in the first recipe.)

Sorry. :-(

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:05:05 EDT