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

let ignore handle unwanted ul mails
authormartin f. krafft <madduck@madduck.net>
Wed, 20 Feb 2008 12:12:17 +0000 (13:12 +0100)
committermartin f. krafft <madduck@madduck.net>
Wed, 20 Feb 2008 12:27:26 +0000 (13:27 +0100)
config/ignore
procmail/rules/ul

index 06332e132c40167242984ebdea3a8468a1e9c67b..0bf894885738b0f5afa266ee106082b737daf835 100644 (file)
@@ -7,3 +7,16 @@
 ^Subject: New Spam - (Explicit|Suspect) Summary Digest: [[:digit:]]+ Messages$
 ^Subject: [^[:space:]]+ (mailing list memberships reminder|Mitgliedschafts-Erinnerung)$
 ^Subject: =\?[-[:alnum:]]+\?q\?.+_Mitgliedschafts-Erinnerung\?=$
 ^Subject: New Spam - (Explicit|Suspect) Summary Digest: [[:digit:]]+ Messages$
 ^Subject: [^[:space:]]+ (mailing list memberships reminder|Mitgliedschafts-Erinnerung)$
 ^Subject: =\?[-[:alnum:]]+\?q\?.+_Mitgliedschafts-Erinnerung\?=$
+^(To|Cc):.*\<Events@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<Bereavements@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<Timetables@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<(HR|BE|PO|HnS)Notices@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<ITD(ChangeControlNotification|Notices)@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<Opinions@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<AllStaff@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<ResearchPostgraduates@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<NewsandOther@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<SportsNews@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<ForSaleorWanted@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<ResearchInformationRISS@(st(affmail|udents)\.)?ul\.ie\>
+^(To|Cc):.*\<SecurityGroupFacultyandResearchers@(st(affmail|udents)\.)?ul\.ie\>
index a6162e410540ec723868cb23d34b8def81de5de1..353913815c93dfb71ff0748dcbe562bcb358747d 100644 (file)
@@ -1,30 +1,6 @@
 :0
 * ORIGINAL_TO ?? ^martin\.krafft=ul\.ie@forward\.madduck\.net$
 :0
 * ORIGINAL_TO ?? ^martin\.krafft=ul\.ie@forward\.madduck\.net$
-{
-  RE_UL_DOMAIN='(st(affmail|udents)\.)?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|HnS)Notices@$RE_UL_DOMAIN
-  *$     1 ^0 ^TO_ITD(ChangeControlNotification|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_SportsNews@$RE_UL_DOMAIN
-  *$     1 ^0 ^TO_ForSaleorWanted@$RE_UL_DOMAIN
-  *$     1 ^0 ^TO_ResearchInformationRISS@$RE_UL_DOMAIN
-  *$     1 ^0 ^TO_SecurityGroupFacultyandResearchers@$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$
 
 :0
 * ORIGINAL_TO ?? ^academic-debian@lists\.madduck\.net@mass\.madduck\.net$