]> git.madduck.net Git - etc/mailfilter.git/blobdiff - procmail/rules/ul

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge branch 'master' of ssh://git.madduck.net/~/git/pub/etc/mailfilter
[etc/mailfilter.git] / procmail / rules / ul
index 1d5aaf8a007e33a5c7a05950faf3dc1eb1a9605f..a6162e410540ec723868cb23d34b8def81de5de1 100644 (file)
@@ -1,22 +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
+  *$     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"
-    :0
-    $DISCARD
+    SWITCHRC=$PMDIR/discard
   }
   RE_UL_DOMAIN
 
 { 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