X-Git-Url: https://git.madduck.net/etc/mailfilter.git/blobdiff_plain/b69e8fce0b1383c974373e9edd06fbb28ad353a1..7eab9de137717d79c154e7964f7f37c90ed3014b:/procmail/rules/ul

diff --git a/procmail/rules/ul b/procmail/rules/ul
index 877243f..8cbdc03 100644
--- a/procmail/rules/ul
+++ b/procmail/rules/ul
@@ -1,19 +1,25 @@
 :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
-  *$ 1^0 ^TO_Timetables@$RE_UL_DOMAIN
-  *$ 1^0 ^TO_(HR|BE|PO)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_ForSaleorWanted@$RE_UL_DOMAIN
-  *$ 1^0 ^TO_ResearchInformationRISS@$RE_UL_DOMAIN
-  $DISCARD
+  *$     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_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_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
@@ -24,9 +30,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