From: martin f. krafft Date: Wed, 20 Feb 2008 12:12:17 +0000 (+0100) Subject: let ignore handle unwanted ul mails X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/74545177e87a6681a2170291151a6045dc976b3a?ds=sidebyside let ignore handle unwanted ul mails --- 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$