From 74545177e87a6681a2170291151a6045dc976b3a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 20 Feb 2008 13:12:17 +0100 Subject: [PATCH] let ignore handle unwanted ul mails --- config/ignore | 13 +++++++++++++ procmail/rules/ul | 26 +------------------------- 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/config/ignore b/config/ignore index 06332e1..0bf8948 100644 --- a/config/ignore +++ b/config/ignore @@ -7,3 +7,16 @@ ^Subject: New Spam - (Explicit|Suspect) Summary Digest: [[:digit:]]+ Messages$ ^Subject: [^[:space:]]+ (mailing list memberships reminder|Mitgliedschafts-Erinnerung)$ ^Subject: =\?[-[:alnum:]]+\?q\?.+_Mitgliedschafts-Erinnerung\?=$ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\<(HR|BE|PO|HnS)Notices@(st(affmail|udents)\.)?ul\.ie\> +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ +^(To|Cc):.*\ diff --git a/procmail/rules/ul b/procmail/rules/ul index a6162e4..3539138 100644 --- a/procmail/rules/ul +++ b/procmail/rules/ul @@ -1,30 +1,6 @@ :0 * ORIGINAL_TO ?? ^martin\.krafft=ul\.ie@forward\.madduck\.net$ -{ - RE_UL_DOMAIN='(st(affmail|udents)\.)?ul\.ie' - :0 - *$ 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|HnS)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 - *$ 1 ^0 ^TO_NewsandOther@$RE_UL_DOMAIN - *$ 1 ^0 ^TO_SportsNews@$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" - SWITCHRC=$PMDIR/discard - } - RE_UL_DOMAIN - - DEST=ul -} +DEST=ul :0 * ORIGINAL_TO ?? ^academic-debian@lists\.madduck\.net@mass\.madduck\.net$ -- 2.39.5