]> 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:

add spam pattern matching
[etc/mailfilter.git] / procmail / rules / ul
index b6e676372b289f4f2666e6eaff97fd41ce738ad4..353913815c93dfb71ff0748dcbe562bcb358747d 100644 (file)
@@ -1,36 +1,17 @@
 :0
 * ORIGINAL_TO ?? ^martin\.krafft=ul\.ie@forward\.madduck\.net$
-{
-  RE_UL_DOMAIN='(staffmail\.)?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
-  *  -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$
 { 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