[sup-talk] [PATCH] Add list-id as a new property of messages
Israel Herraiz
israel.herraiz at gmail.com
Fri Apr 25 16:46:04 EDT 2008
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
More information about the sup-talk
mailing list