Hello, On Mon, 27 Oct 2008, Balaji Narayanan wrote: > Kapil Hari Paranjape said the following on Monday 27 October 2008 08:43 AM: > > So I would suggest an alternate project as follows. > > > > Extract a thread from incoming mail using procmail > > Shouldnt this be trivial. As long as you know the message id in advance, > or the subject, scan and note the message id for that message and > henceforth, if you see that message id in references, write it to a > different mail box.
You missed something else which I wrote: > > It is a bit more complex than just filtering mail into various > > boxes based on headers since you need to store all the Message-Ids > > of follow-up messages as they come in. The reply may not contain the original Message-Id, it may only contain the Message-Id of the subthread and so on. So you do need to store the Message-Id's of all previous messages in the thread in order to do something special with any new message in the thread. You can extract these Message-Id's with "formail". So it is really an exercise in "procmail" as Girish has said. Regards, Kapil. -- _______________________________________________ To unsubscribe, email [EMAIL PROTECTED] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc