aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2001-10-23 03:12:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-23 03:12:06 +0800
commit42d022008afe13d2f0b2dbc1b071c72f8e2f7775 (patch)
tree03c9842b7c58ad8e08a6fb005532d8725eea8f86 /camel/camel-mime-utils.c
parent367221fa5e99f7cd2b687b18b367ddf167f2377f (diff)
downloadgsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar.gz
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar.bz2
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar.lz
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar.xz
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.tar.zst
gsoc2013-evolution-42d022008afe13d2f0b2dbc1b071c72f8e2f7775.zip
(camel_search_header_match): Oops, missing i=0.
svn path=/trunk/; revision=13891
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c29
1 files changed, 22 insertions, 7 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index a76db94767..4f4090afbd 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3715,13 +3715,28 @@ static struct {
char *name;
char *pattern;
} mail_list_magic[] = {
- { "Sender", " *owner-([^@]+)" },
- { "Sender", " *([^@]+)-owner" },
- { "Return-Path", " *owner-([^@]+)" },
- { "X-BeenThere", " *([^@]+)" },
- { "Delivered-To", " *mailing list ([^@]+)" },
- { "X-Mailing-List", " *([^@]+)" },
- { "X-Loop", " *([^@]+)" },
+ /* 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", " <?*([^@]+)@?([^ \n\t\r>]*)" },
+ /* X-Loop: gnome-hackers@gnome.org */
+ { "X-Loop", " *([^@]+)@?([^ \n\t\r>]*)" },
{ "List-Id", " *([^<]+)" },
{ "List-Post", " *<mailto:([^@]+)" },
{ "Mailing-List", " *list ([^@]+)" },