Re: deleting messages with same message id's?
> :0 Whc: msgid.lock > | formail -D 16384 msgid.cache > :0 a: > duplicates > > You can change 'duplicates' to '/dev/null' if you trust the > recipe works. No, you shouldn't. Unfortunately, the procmailex man page doesn't mention that procmail may fail for reasons other than "... their own scripting capabilities". If you change duplicates to /dev/null in the recipe above and procmail dies right after this recipe, for whatever reasons, you face irrevocable mail loss.
Re: deleting messages with same message id's?
Dan Boger [21/09/01 15:29 -0400]: > hmmm... limiting on ~h [EMAIL PROTECTED] did > limit my index to show only this past message... ? Drat. I was thinking of Tags. You are right of course. -suresh -- key at wwwkeys.nl.pgp.net PGP signature
Re: deleting messages with same message id's?
On Fri, Sep 21, 2001 at 12:12:24PM -0700, Denis Perelyubskiy wrote: > hello, > > is there a way to delete all the messages with the same > message id upon entering a folder? > > should i even be doing this with mutt? > (i am sure i could write an awk script to do this, but > perhaps its easier to do with mutt?) > You can do it wiith a procmail rule # This is supposed to prevent duplicate msgs # :0 Wh: msgid.lock | formail -D 8192 msgid.cache -- Regards Cliff
Re: deleting messages with same message id's?
Hall Stevenson wrote: > 'procmail' can do this for you. This recipe, shamelessly > stolen from Tom Gilbert's website should do it: > > :0 Whc: msgid.lock > | formail -D 16384 msgid.cache > :0 a: > duplicates this is metioned (as suresh said) in the procmailex man page. > You can change 'duplicates' to '/dev/null' if you trust the > recipe works. or more simply do this (also in the procmailex man page). i started saving to a duplicates folder for a bit just to make sure and it does seem to be pretty reliable. :0 Wh | formail -D 8192 ~/.procmail/msgid.cache -- Sintax error in config file! (line 378) aborted! GPG Public Key: http://infinitejazz.net/will/pgp/
Re: deleting messages with same message id's?
* Suresh Ramasubramanian <[EMAIL PROTECTED]> [09-Fri-01 12:28 -0700]: > >Denis Perelyubskiy [21/09/01 12:12 -0700]: >> is there a way to delete all the messages with the same >> message id upon entering a folder? > >You could do this better with procmail (man procmailex for how to suppress >dups). Mutt can't IIRC check for anything other than the from address / date >/ subject (whatever's displayed in the index view). ah, great thanks. i did not realize i could do that. i hereby revoke my original question :) as it makes a lot more sense to do this in procmail then in mutt (or awk for that matter :) ) thanks, denis -- // mailto: Denis Perelyubskiy <[EMAIL PROTECTED]> // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc
Re: deleting messages with same message id's?
> is there a way to delete all the messages with the > same message id upon entering a folder? > > should i even be doing this with mutt? 'procmail' can do this for you. This recipe, shamelessly stolen from Tom Gilbert's website should do it: :0 Whc: msgid.lock | formail -D 16384 msgid.cache :0 a: duplicates You can change 'duplicates' to '/dev/null' if you trust the recipe works. Hall
Re: deleting messages with same message id's?
On Sat, Sep 22, 2001 at 12:54:25AM +0530, Suresh Ramasubramanian wrote: > Denis Perelyubskiy [21/09/01 12:12 -0700]: > > is there a way to delete all the messages with the same > > message id upon entering a folder? > > You could do this better with procmail (man procmailex for how to suppress > dups). Mutt can't IIRC check for anything other than the from address / date > / subject (whatever's displayed in the index view). hmmm... limiting on ~h [EMAIL PROTECTED] did limit my index to show only this past message... ? -- Dan Boger Linux MVP brainbench.com PGP signature
Re: deleting messages with same message id's?
msg.pgp
deleting messages with same message id's?
hello, is there a way to delete all the messages with the same message id upon entering a folder? should i even be doing this with mutt? (i am sure i could write an awk script to do this, but perhaps its easier to do with mutt?) thanks, denis -- // mailto: Denis Perelyubskiy <[EMAIL PROTECTED]> // icq : 12359698 // PGP : http://www.cs.ucla.edu/~denisp/files/pgp.asc