From c129057ca2dab217adf182bbbd59d409d02e829f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 21 Aug 2007 18:09:51 +0200 Subject: [PATCH 1/1] add rules for ul mail and weed out some list crap --- procmail/rules/all | 1 + procmail/rules/ul | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 procmail/rules/ul diff --git a/procmail/rules/all b/procmail/rules/all index 16f7686..456e55b 100644 --- a/procmail/rules/all +++ b/procmail/rules/all @@ -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 index 0000000..ab0f729 --- /dev/null +++ b/procmail/rules/ul @@ -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 -- 2.39.5