aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-12 03:25:42 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-12 03:25:42 +0800
commitbb93ebbbee7a46b780ed6c0d408827594b4102a4 (patch)
tree9cfd0049c90c0657a9ab8d25cfcc85bf25d4fb83 /camel
parent10cc77f42a52ff1016d04f108884e34c05c8c8d1 (diff)
downloadgsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar.gz
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar.bz2
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar.lz
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar.xz
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.tar.zst
gsoc2013-evolution-bb93ebbbee7a46b780ed6c0d408827594b4102a4.zip
Change the order of the mailing list magic patterns so that the more
* camel-mime-utils.c: Change the order of the mailing list magic patterns so that the more mailing-list specific ones are on the top. svn path=/trunk/; revision=16101
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-mime-utils.c34
2 files changed, 23 insertions, 17 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 085f62bfdf..ecb3a3bd55 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2002-03-11 Ettore Perazzoli <ettore@ximian.com>
+
+ * camel-mime-utils.c: Change the order of the mailing list magic
+ patterns so that the more mailing-list specific ones are on the
+ top.
+
2002-03-11 Jeffrey Stedfast <fejj@ximian.com>
These fixes should fix bug #21737.
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index b908f86059..bcd9806cd7 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3665,23 +3665,6 @@ static struct {
char *pattern;
regex_t regex;
} mail_list_magic[] = {
- /* Sender: owner-gnome-hackers@gnome.org */
- /* Sender: owner-gnome-hacekrs */
- { "Sender", " *owner-([^@]+)@?([^ @\n\t\r>]*)" },
- /* Sender: gnome-hackers-owner@gnome.org */
- /* Sender: gnome-hackers-owner */
- { "Sender", " *([^@]+)-owner@?([^ @\n\t\r>]*)" },
- /* Sender: owner-gnome-hackers@gnome.org */
- /* Sender: <owner-gnome-hackers@gnome.org> */
- /* Sender: owner-gnome-hackers */
- /* Sender: <owner-gnome-hackers> */
- { "Return-Path", " <?owner-([^@>]+)@?([^ \n\t\r>]*)" },
- /* X-BeenThere: gnome-hackers@gnome.org */
- /* X-BeenThere: gnome-hackers */
- { "X-BeenThere", " *([^@]+)@?([^ \n\t\r>]*)" },
- /* Delivered-To: mailing list gnome-hackers@gnome.org */
- /* Delivered-To: mailing list gnome-hackers */
- { "Delivered-To", " *mailing list ([^@]+)@?([^ \n\t\r>]*)" },
/* X-Mailing-List: <gnome-hackers@gnome.org> arcive/latest/100 */
/* X-Mailing-List: gnome-hackers@gnome.org */
/* X-Mailing-List: gnome-hackers */
@@ -3704,6 +3687,23 @@ static struct {
/* X-List: gnome-hackers */
/* X-List: gnome-hackers@gnome.org */
{ "X-List", " *([^@]+)@?([^ \n\t\r>]*)" },
+ /* Sender: owner-gnome-hackers@gnome.org */
+ /* Sender: owner-gnome-hacekrs */
+ { "Sender", " *owner-([^@]+)@?([^ @\n\t\r>]*)" },
+ /* Sender: gnome-hackers-owner@gnome.org */
+ /* Sender: gnome-hackers-owner */
+ { "Sender", " *([^@]+)-owner@?([^ @\n\t\r>]*)" },
+ /* Delivered-To: mailing list gnome-hackers@gnome.org */
+ /* Delivered-To: mailing list gnome-hackers */
+ { "Delivered-To", " *mailing list ([^@]+)@?([^ \n\t\r>]*)" },
+ /* Sender: owner-gnome-hackers@gnome.org */
+ /* Sender: <owner-gnome-hackers@gnome.org> */
+ /* Sender: owner-gnome-hackers */
+ /* Sender: <owner-gnome-hackers> */
+ { "Return-Path", " <?owner-([^@>]+)@?([^ \n\t\r>]*)" },
+ /* X-BeenThere: gnome-hackers@gnome.org */
+ /* X-BeenThere: gnome-hackers */
+ { "X-BeenThere", " *([^@]+)@?([^ \n\t\r>]*)" },
};
char *