fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Re: Mangled mail with fetchmail 6.2.2

2004-05-11 11:27:21
Michael Abbott wrote:
No worries. I use procmail to filter out duplicate mails.

Interesting: how do you do that?  Doesn't procmail process each e-mail
separately from every other e-mail?  I can't think of any efficient way
to do what you're saying.

The procmailex(5) man page includes an example of doing it.

Here's a snippet from my .procmailrc:

# Get rid of duplicates
# (actually put them in dupes folder just in case)
# ListProcessor uses duplicate MessageIDs when sending meta-info, grrr....
:0Whc: msgid.lock
| formail -D 65536 .mailcache
:0a:
* ! ^X-Listprocessor-
dupes

-- 
==============================| "A slice of life isn't the whole cake
 Rob Funk <rfunk(_at_)funknet(_dot_)net> | One tooth will never make a full 
grin"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"