From 24b8175a74232d4b8ae850e5012a9317e4f6532a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 28 Oct 2003 19:15:12 +0000 Subject: We should check List-Post before List-Id (List-Post has to contain the 2003-10-28 Jeffrey Stedfast * camel-mime-utils.c: We should check List-Post before List-Id (List-Post has to contain the mailing-list posting address, whereas List-Id does not.) WAlso moved X-Loop to after List-Id to make FreeBSD lusers happy. Fixes bug #32297. svn path=/trunk/; revision=23111 --- camel/camel-mime-utils.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'camel/camel-mime-utils.c') diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 967762dc65..877c444732 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -3861,25 +3861,25 @@ static struct { char *pattern; regex_t regex; } mail_list_magic[] = { - /* X-Mailing-List: arcive/latest/100 */ - /* X-Mailing-List: gnome-hackers@gnome.org */ - /* X-Mailing-List: gnome-hackers */ - /* X-Mailing-List: */ - { "X-Mailing-List", "[ \t]*]+)@?([^ \n\t\r>]*)" }, - /* X-Loop: gnome-hackers@gnome.org */ - { "X-Loop", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" }, + /* List-Post: */ + /* List-Post: */ + { "List-Post", "[ \t]*]+)@?([^ \n\t\r>]*)" }, /* List-Id: GNOME stuff */ /* List-Id: */ /* List-Id: */ /* This old one wasn't very useful: { "List-Id", " *([^<]+)" },*/ { "List-Id", "[^<]*<([^\\.>]+)\\.?([^ \n\t\r>]*)" }, - /* List-Post: */ - /* List-Post: */ - { "List-Post", "[ \t]*]+)@?([^ \n\t\r>]*)" }, /* Mailing-List: list gnome-hackers@gnome.org; contact gnome-hackers-owner@gnome.org */ { "Mailing-List", "[ \t]*list ([^@]+)@?([^ \n\t\r>;]*)" }, /* Originator: gnome-hackers@gnome.org */ { "Originator", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" }, + /* X-Mailing-List: arcive/latest/100 */ + /* X-Mailing-List: gnome-hackers@gnome.org */ + /* X-Mailing-List: gnome-hackers */ + /* X-Mailing-List: */ + { "X-Mailing-List", "[ \t]*]+)@?([^ \n\t\r>]*)" }, + /* X-Loop: gnome-hackers@gnome.org */ + { "X-Loop", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" }, /* X-List: gnome-hackers */ /* X-List: gnome-hackers@gnome.org */ { "X-List", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" }, -- cgit v1.2.3