[Alpine-info] Identifying msgs with same ID

Mirko Hessel-von Molo mirkoh at upb.de
Fri Jan 28 01:03:10 PST 2011


On Thu, 27 Jan 2011, Dan Mahoney, System Admin wrote:


> On Thu, 27 Jan 2011, Mirko Hessel-von Molo wrote:

>

> >

> > Dear Alpinists,

> >

> > is there an intelligent way of using alpine to identify messages with the

> > same MSGID in different folders?

> >

> > E. g. if I have a folder "FooBar" and a folder "Foo", and I suspect that

> > "Foo" contains a subset of the mails in "FooBar", how could I figure that

> > out without comparing every single one? One possibility I thought of was

> > to copy the mails of both folders into a third one to see which ones are

> > double - is there a way to do that? Possibly even to select the double

> > ones for expunging?

>

> Not within alpine, but this is a fairly trivial exercise in perl by comparing

> the messageid strings.


I've done first steps in perl, but no larger projects yet, and
particularly no imap server interaction. I note there are plenty of IMAP
modules in CPAN. How would you start to do such a thing?

Mirko


More information about the Alpine-info mailing list