procmail
[Top] [All Lists]

Re: Multiple lists, one mail...

1999-03-23 14:27:52
On Tue, 23 Mar 1999, Moe Drippins wrote:
What I'm looking for is a way to only get unique mails, if it comes
addressed to list1, save it. If it comes addressed to list2, save it
unless it also is addressed to list1. If it comes addressed to list3,
save it unless it also is addressed to list2 or list1.

Is there any non brute-force way to do this?

In the man pages, there is a method that looks at the message-id, and deletes
duplicates:

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

The only time that you might have a previous message slip by, is in case the 
cache
has "rolled-over".  If you find that happening more often than you'd prefer, you
could just increase the size of the cache (8192, in this example).

-------------------------------------------
E-mail: 
   Home:  steveh(_at_)iname(_dot_)com
-------------------------------------------


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