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

improve fromemail parsing
[etc/mailfilter.git] / procmail / rules / ul
index 21c43c0512819588aadbdba88a73187e1b7b6869..fbcacddf9541cc3ce0be84061787952b8aaf77ef 100644 (file)
@@ -1,38 +1,23 @@
 :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|ITD)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
+  DELAY
 }
 
 :0
-* ORIGINAL_TO ?? ^academic-debian@lists\.madduck\.net@mass\.madduck\.net$
-{ DELAY }
-
-:0
-* ORIGINAL_TO ?? ^(community|discuss)=opensource\.mit\.edu@mass\.madduck\.net$
-{ DELAY }
+* ORIGINAL_TO ?? ^phd(\+.+)?@martin-krafft\.net$
+{
+  DEST=phd
+  DELAY
+}
 
 :0
-* ORIGINAL_TO ?? ^os-renet=insel\.cs\.tu-berlin\.de@mass\.madduck\.net$
+* 1^0 EQ_TO ?? ^academic-debian@lists\.madduck\.net$
+* 1^0 EQ_TO ?? ^(community|discuss)@opensource\.mit\.edu$
+* 1^0 EQ_TO ?? ^os-renet@insel\.cs\.tu-berlin\.de$
+* 1^0 EQ_TO ?? ^iif-discussion@forecasters\.org$
+* 1^0 EQ_TO ?? ^distributions@lists\.freedesktop\.org$
 { DELAY }
 
 # vim:ft=procmail