]> git.madduck.net Git - etc/mailfilter.git/commitdiff

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 rules for ul mail and weed out some list crap
authormartin f. krafft <madduck@seamus.madduck.net>
Tue, 21 Aug 2007 16:09:51 +0000 (18:09 +0200)
committermartin f. krafft <madduck@seamus.madduck.net>
Tue, 21 Aug 2007 16:09:51 +0000 (18:09 +0200)
procmail/rules/all
procmail/rules/ul [new file with mode: 0644]

index 16f7686b59448d0f0b4ec59abf803c18746a7b30..456e55b47539faff6ed9566534974e8894998527 100644 (file)
@@ -1,5 +1,6 @@
 INCLUDERC=$PMRULES/feeds
 INCLUDERC=$PMRULES/admin
+INCLUDERC=$PMRULES/ul
 INCLUDERC=$PMRULES/debian
 INCLUDERC=$PMRULES/sudetia
 INCLUDERC=$PMRULES/mass
diff --git a/procmail/rules/ul b/procmail/rules/ul
new file mode 100644 (file)
index 0000000..ab0f729
--- /dev/null
@@ -0,0 +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_HRNotices@$RE_UL_DOMAIN
+  $DISCARD
+  RE_UL_DOMAIN
+
+  :0
+  $BASE/.ul/
+}
+
+# vim:ft=procmail