From mboxrd@z Thu Jan 1 00:00:00 1970 From: israel.herraiz@gmail.com (Israel Herraiz) Date: Fri, 25 Apr 2008 22:46:04 +0200 Subject: [sup-talk] [PATCH] Add list-id as a new property of messages In-Reply-To: <1209026545-sup-9368@tomsk> References: <1208985725-sup-6028@elly> <1209026545-sup-9368@tomsk> Message-ID: <1209156188-sup-868@elly> Excerpts from Marcus Williams's message of Thu Apr 24 10:54:53 +0200 2008: > Adding list-id is a good idea I think but you cant do a personmanager > lookup with it because it isnt really an email address according to > the RFC [1]. List-Subscribe and List-Unsubscribe all set their > counterparts in message.rb to the raw header so this is what I would > expect list_id to get set to. Yes, I know. The "problem" is that List-Id use to have two fields: one that is a name, and another one that is a address-like. I wanted to use that last field and no the name for the automatic label. That's why I have used PersonManager to process the List-Id header. I know it is not a "dirty hack", but after all the regular expression to obtain that part of List-Id is the same that to obtain the address of List-Post. So I thought it was not that bad to use PersonManager to apply the same regular expression. Cheers, Israel