From 3f2576642ccb3d1835a9082c071a76b503abd1d6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 25 Sep 2007 17:28:57 +0200 Subject: [PATCH 01/16] shorten log messages --- procmail/spool | 6 +++--- procmail/to-gmail | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/procmail/spool b/procmail/spool index 1463366..128ba44 100644 --- a/procmail/spool +++ b/procmail/spool @@ -3,7 +3,7 @@ * ! MSG_TEST ?? . * ! IS_SPAM ?? . { - LOG="spool: saving message $MSGID to spool$NL" + LOG="spool: saving message $MSGID$NL" TRAP :0 $BASE/.spool/ @@ -11,10 +11,10 @@ :0 E * MSG_TEST ?? . -{ LOG="spool: not saving test message to spool$NL" } +{ LOG="spool: not saving test message$NL" } :0 E *$ $MSG_DEJAVU -{ LOG="spool: not saving resubmitted message to spool$NL" } +{ LOG="spool: not saving resubmitted message$NL" } # vim:ft=procmail diff --git a/procmail/to-gmail b/procmail/to-gmail index 59df5cc..05e0627 100644 --- a/procmail/to-gmail +++ b/procmail/to-gmail @@ -5,7 +5,7 @@ *$ ! $MSG_DEJAVU * ! MSG_TEST ?? . { - LOG="gmail: archiving message $MSGID with gmail$NL" + LOG="gmail: archiving message $MSGID$NL" SENDMAILFLAGS="$SENDMAILFLAGS -f $ID" TRAP @@ -15,9 +15,9 @@ :0 E * MSG_TEST ?? . - { LOG="gmail: not archiving message test message with gmail$NL" } + { LOG="gmail: not archiving message test message$NL" } :0 E *$ $MSG_DEJAVU - { LOG="gmail: not archiving message resubmitted message with gmail$NL" } + { LOG="gmail: not archiving message resubmitted message$NL" } } -- 2.39.5 From 36d201d5d8ef8260f9b04ae88fa08e83fe726ac5 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 25 Sep 2007 20:45:28 +0200 Subject: [PATCH 02/16] add more research-related lists to delay exceptions --- procmail/rules/ul | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/procmail/rules/ul b/procmail/rules/ul index b6e6763..cbbac48 100644 --- a/procmail/rules/ul +++ b/procmail/rules/ul @@ -28,9 +28,11 @@ { DELAY } :0 -* ORIGINAL_TO ?? ^community=opensource\.mit\.edu@mass\.madduck\.net$ +* ORIGINAL_TO ?? ^(community|discuss)=opensource\.mit\.edu@mass\.madduck\.net$ { DELAY } - +:0 +* ORIGINAL_TO ?? ^os-renet=insel\.cs\.tu-berlin\.de@mass\.madduck\.net$ +{ DELAY } # vim:ft=procmail -- 2.39.5 From 85ddf5c7f3b93d3e37870294b11bc616c75aaecd Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 25 Sep 2007 20:46:08 +0200 Subject: [PATCH 03/16] add oss-discuss list to justme exceptions --- config/justme-address-exceptions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/justme-address-exceptions b/config/justme-address-exceptions index fa2b9b3..d025d47 100644 --- a/config/justme-address-exceptions +++ b/config/justme-address-exceptions @@ -5,7 +5,7 @@ ^debian-private=lists\.debian\.org@mass.madduck.net$ ^jppy=zanu\.org\.uk@mass\.madduck\.net$ ^os-renet=insel\.cs\.tu-berlin\.de@mass\.madduck\.net$ -^community=opensource\.mit\.edu@mass\.madduck\.net$ +^(community|discuss)=opensource\.mit\.edu@mass\.madduck\.net$ ^debian\.ch=fortytwo\.ch@mass\.madduck\.net$ ^crm114-discuss=lists\.sourceforge\.net@mass\.madduck\.net$ ^logcheck-devel=lists\.alioth\.debian\.org@mass\.madduck\.net$ -- 2.39.5 From 18483c88c75a959874a78ff310ffeb5eab00646d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 27 Sep 2007 16:19:51 +0200 Subject: [PATCH 04/16] only exempt mass replies and confirmations from delay --- procmail/rules/mass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/procmail/rules/mass b/procmail/rules/mass index 65de470..7027a36 100644 --- a/procmail/rules/mass +++ b/procmail/rules/mass @@ -2,7 +2,8 @@ * ORIG_DOMAIN ?? ^mass\.madduck\.net$ { :0 - * ! JUSTME ?? . + * ! JUSTME ?? ^in-reply-to/referenced$ + * ! JUSTME ?? confirmation$ { DELAY="$DELAY_TONIGHT" } DEST=mass -- 2.39.5 From a848f5dd5e5c12e8e552df4daeda3146192af803 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 2 Oct 2007 21:14:11 +0200 Subject: [PATCH 05/16] add mailplate --- config/debian-packages | 1 + 1 file changed, 1 insertion(+) diff --git a/config/debian-packages b/config/debian-packages index 2d3e368..74a3465 100644 --- a/config/debian-packages +++ b/config/debian-packages @@ -13,6 +13,7 @@ libkdtree++ libphidgets libtut logcheck +mailplate mdadm molly-guard muttprofile -- 2.39.5 From 6433900013b62defd64a623320510bc21753f8c8 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 2 Oct 2007 21:14:20 +0200 Subject: [PATCH 06/16] ignore german mailman reminders --- config/ignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ignore b/config/ignore index 04ee128..60d0be6 100644 --- a/config/ignore +++ b/config/ignore @@ -5,4 +5,4 @@ \ ^Subject: =\?ISO-8859-1\?Q\?Xing:_New_(members_in|group_articles) ^Subject: New Spam - (Explicit|Suspect) Summary Digest: [[:digit:]]+ Messages$ -^Subject: [^[:space:]]+ mailing list memberships reminder$ +^Subject: [^[:space:]]+ (mailing list memberships reminder|Mitgliedschafts-Erinnerung)$ -- 2.39.5 From 11af75d561b65b76ff0c83062909ba690ee1a2e6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 10:42:56 +0200 Subject: [PATCH 07/16] add itdnotices to ignore --- procmail/rules/ul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procmail/rules/ul b/procmail/rules/ul index cbbac48..21c43c0 100644 --- a/procmail/rules/ul +++ b/procmail/rules/ul @@ -6,7 +6,7 @@ *$ 1 ^0 ^TO_Events@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Bereavements@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Timetables@$RE_UL_DOMAIN - *$ 1 ^0 ^TO_(HR|BE|PO)Notices@$RE_UL_DOMAIN + *$ 1 ^0 ^TO_(HR|BE|PO|ITD)Notices@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Opinions@$RE_UL_DOMAIN *$ 1 ^0 ^TO_AllStaff@$RE_UL_DOMAIN *$ 1 ^0 ^TO_ResearchPostgraduates@$RE_UL_DOMAIN -- 2.39.5 From 963822a9416d7a7e91622841f5e054218fbc331f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 11:04:01 +0200 Subject: [PATCH 08/16] do not skip spamchecks for messages from our domain --- procmail/justme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procmail/justme b/procmail/justme index 253c52d..7941e89 100644 --- a/procmail/justme +++ b/procmail/justme @@ -3,7 +3,7 @@ { JUSTME="from machine in my domain" LOG="justme: passing; $JUSTME$NL" - SKIP_SPAMCHECKS=from-mydomain +# SKIP_SPAMCHECKS=from-mydomain } :0 EH -- 2.39.5 From 79d15bce52b43cf6e5e2c7ed59f4b095a273d3b9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 11:06:50 +0200 Subject: [PATCH 09/16] do not delay dsa --- procmail/rules/debian | 1 + 1 file changed, 1 insertion(+) diff --git a/procmail/rules/debian b/procmail/rules/debian index 42f11ee..3946234 100644 --- a/procmail/rules/debian +++ b/procmail/rules/debian @@ -28,6 +28,7 @@ * 1 ^0 ^X-Debian- * -1000 ^0 JUSTME ?? . * 1000 ^0 JUSTME ?? ^explicitly excepted address$ +* -1000 ^0 EQ_TO ?? ^debian-security-announce@lists\.debian\.org$ { DELAY="$DELAY_NEXT_WEEKEND" } # vim:ft=procmail -- 2.39.5 From f0de2f865f85c6701eb01d6c4ab9bfe844be2064 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 11:17:08 +0200 Subject: [PATCH 10/16] print msgid when tickler info is missing --- bin/process-tickler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/process-tickler b/bin/process-tickler index 71f750a..28b6c5e 100755 --- a/bin/process-tickler +++ b/bin/process-tickler @@ -39,7 +39,7 @@ for key, msg in tmd.iteritems(): tickle = msg.get('X-Tickle') if tickle is None: - print >>sys.stderr, 'W: message without tickle information: ' + key + print >>sys.stderr, 'W: message without tickle information: ' + msgid resubmit(key) if msgids.get(msgid, None) is None: -- 2.39.5 From 8272d040baa57355293238227401aa3ef72c0a21 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 12:23:38 +0200 Subject: [PATCH 11/16] add airnewzealand to skip-spamchecks --- config/skip-spamchecks | 1 + 1 file changed, 1 insertion(+) diff --git a/config/skip-spamchecks b/config/skip-spamchecks index d96855a..b304bdf 100644 --- a/config/skip-spamchecks +++ b/config/skip-spamchecks @@ -14,6 +14,7 @@ ^To:.*\ ^To:.*\ ^To:.*\ +^To:.*\ ^To:.*\ ^To:.*\ ^To:.*\ -- 2.39.5 From 3d44894b840daa45d87b12ee8b203f8294eca3df Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 3 Oct 2007 17:21:28 +0200 Subject: [PATCH 12/16] add vim mailing list to ignore-lists --- config/ignore-lists | 1 + 1 file changed, 1 insertion(+) diff --git a/config/ignore-lists b/config/ignore-lists index 03cded3..756267d 100644 --- a/config/ignore-lists +++ b/config/ignore-lists @@ -1,4 +1,5 @@ ^Sender: owner-mutt-users@mutt\.org$ ^Sender: owner-postfix-users@postfix\.org$ +^Sender: vim_use@googlegroups\.com$ $^ prevent CCs from git mailing list. ^([Tt]o|[Cc]{2}):.*git@vger\.kernel.org -- 2.39.5 From b55eb0bf96c53af69e0b2de8737dd24cde301f59 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 9 Oct 2007 17:39:23 +0200 Subject: [PATCH 13/16] filter itd change control notices --- procmail/rules/ul | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/procmail/rules/ul b/procmail/rules/ul index 21c43c0..8b4362e 100644 --- a/procmail/rules/ul +++ b/procmail/rules/ul @@ -6,7 +6,8 @@ *$ 1 ^0 ^TO_Events@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Bereavements@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Timetables@$RE_UL_DOMAIN - *$ 1 ^0 ^TO_(HR|BE|PO|ITD)Notices@$RE_UL_DOMAIN + *$ 1 ^0 ^TO_(HR|BE|PO)Notices@$RE_UL_DOMAIN + *$ 1 ^0 ^TO_ITD(ChangeControlNotification|Notices)@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Opinions@$RE_UL_DOMAIN *$ 1 ^0 ^TO_AllStaff@$RE_UL_DOMAIN *$ 1 ^0 ^TO_ResearchPostgraduates@$RE_UL_DOMAIN -- 2.39.5 From dfd3b7cd8b959cbea6148bd9a8b53deddd18f342 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sat, 13 Oct 2007 18:43:52 +0200 Subject: [PATCH 14/16] add sas to whitelist --- config/skip-spamchecks | 1 + 1 file changed, 1 insertion(+) diff --git a/config/skip-spamchecks b/config/skip-spamchecks index b304bdf..0e4b46d 100644 --- a/config/skip-spamchecks +++ b/config/skip-spamchecks @@ -15,6 +15,7 @@ ^To:.*\ ^To:.*\ ^To:.*\ +^To:.*\ ^To:.*\ ^To:.*\ ^To:.*\ -- 2.39.5 From a67bae98589b4fc29f034bbfe3c8c59c68fa0107 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 30 Oct 2007 17:26:26 +0100 Subject: [PATCH 15/16] ignore more ul crap --- procmail/rules/ul | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/procmail/rules/ul b/procmail/rules/ul index 8b4362e..8cbdc03 100644 --- a/procmail/rules/ul +++ b/procmail/rules/ul @@ -1,7 +1,7 @@ :0 * ORIGINAL_TO ?? ^martin\.krafft=ul\.ie@forward\.madduck\.net$ { - RE_UL_DOMAIN='(staffmail\.)?ul\.ie' + RE_UL_DOMAIN='(st(affmail|udents)\.)?ul\.ie' :0 *$ 1 ^0 ^TO_Events@$RE_UL_DOMAIN *$ 1 ^0 ^TO_Bereavements@$RE_UL_DOMAIN @@ -14,6 +14,7 @@ *$ 1 ^0 ^TO_NewsandOther@$RE_UL_DOMAIN *$ 1 ^0 ^TO_ForSaleorWanted@$RE_UL_DOMAIN *$ 1 ^0 ^TO_ResearchInformationRISS@$RE_UL_DOMAIN + *$ 1 ^0 ^TO_SecurityGroupFacultyandResearchers@$RE_UL_DOMAIN * -1000 ^0 JUSTME ?? . { LOG="ul: discard unwanted list mail$NL" -- 2.39.5 From 7eab9de137717d79c154e7964f7f37c90ed3014b Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 2 Nov 2007 09:24:12 +0100 Subject: [PATCH 16/16] ignore mailman membership reminders with non-ascii subjects --- config/ignore | 1 + 1 file changed, 1 insertion(+) diff --git a/config/ignore b/config/ignore index 60d0be6..06332e1 100644 --- a/config/ignore +++ b/config/ignore @@ -6,3 +6,4 @@ ^Subject: =\?ISO-8859-1\?Q\?Xing:_New_(members_in|group_articles) ^Subject: New Spam - (Explicit|Suspect) Summary Digest: [[:digit:]]+ Messages$ ^Subject: [^[:space:]]+ (mailing list memberships reminder|Mitgliedschafts-Erinnerung)$ +^Subject: =\?[-[:alnum:]]+\?q\?.+_Mitgliedschafts-Erinnerung\?=$ -- 2.39.5