From: martin f. krafft Date: Tue, 21 Aug 2007 16:09:51 +0000 (+0200) Subject: add rules for ul mail and weed out some list crap X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/c129057ca2dab217adf182bbbd59d409d02e829f add rules for ul mail and weed out some list crap --- 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