[SLUG] Duplicate Mails and Procmail

From: Paul M Foster (paulf@quillandmouse.com)
Date: Tue Jun 26 2001 - 19:10:31 EDT


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



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