]> git.madduck.net Git - etc/mailfilter.git/blob - procmail/rules/debian

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:

ignore new ul environment opt-out list
[etc/mailfilter.git] / procmail / rules / debian
1 :0
2 *$ ^X-Debian-PR-Message:$RE_EXTRACT_HEADER_VALUE
3 { MESSAGE="$MATCH" }
4
5 :0
6 * FROM ?? ^owner@bugs\.debian\.org \(Debian Bug Tracking System\)$
7 * MESSAGE ?? ^ack-info
8 {
9   LOG="debian:      discarding BTS reply acknowledgement$NL"
10   SWITCHRC=$PMDIR/discard
11 }
12
13 RE_DEBBUG="[0-9][0-9][0-9][0-9][0-9][0-9]"
14
15 :0
16 *$ MSGID ?? ^\<handler\.$RE_DEBBUG\.D$RE_DEBBUG\.[0-9]+\.ackdone@bugs\.debian\.org
17 {
18   LOG="debian:      discarding BTS ackdone message$NL"
19   SWITCHRC=$PMDIR/discard
20 }
21
22 :0
23 *$ ^X-Debian-PR-Package:$RE_EXTRACT_HEADER_VALUE
24 { PACKAGE="$MATCH" }
25
26 :0
27 *$ ^X-Debian-PR-Source:$RE_EXTRACT_HEADER_VALUE
28 { SRCPACKAGE="$MATCH" }
29
30 INCLUDERC=$PMRULES/debian-debbugs-autosubscribe
31
32 :0
33 * EQ_TO ?? ^logcheck-(devel|commits)@lists\.alioth\.debian\.org$
34 { DEST=debian.logcheck }
35
36 :0 E
37 * EQ_TO ?? ^libkdtree-(devel|commits)@lists\.alioth\.debian\.org$
38 { DEST=debian.libkdtree++ }
39
40 :0 E
41 * EQ_TO ?? ^pkg-mdadm-(devel|commits)@lists\.alioth\.debian\.org$
42 { DEST=debian.mdadm }
43
44 :0 E
45 * EQ_TO ?? ^netconf-(devel|commits)@lists\.alioth\.debian\.org$
46 { DEST=debian.netconf }
47
48 :0 E
49 * SRCPACKAGE ?? .
50 * ? $FGREP -q "${SRCPACKAGE}" $CONF/debian-packages
51
52   LOG="debian:      message related to package $MATCH$NL"
53   DEST=debian.$SRCPACKAGE
54 }
55
56 :0 E
57 * 1^0 EQ_TO ?? ^(madduck|press)@debconf\.org$
58 * 1^0 EQ_TO ?? ^debconf-team@lists\.debconf\.org$
59 { DEST=debian.debconf }
60
61 :0 E
62 * EQ_TO ?? ^.+@debian\.(org|ch|net)$
63 { DEST=debian }
64
65 # delay messages until next weekend
66 :0
67 *     1 ^0 ORIGINAL_TO ?? deb(ian\.(org|ch|net)|conf\.org)@
68 *     1 ^0 ^X-Debian-
69 * -1000 ^0 JUSTME ?? .
70 *  1000 ^0 JUSTME ?? ^explicitly excepted address$
71 * -1000 ^0 EQ_TO ?? ^debian-security-announce@lists\.debian\.org$
72 * -1000 ^0 EQ_TO ?? ^debian-devel-announce@lists\.debian\.org$
73 * -1000 ^0 EQ_TO ?? ^debian-announce@lists\.debian\.org$
74 { DELAY="$DELAY_NEXT_WEEKEND" }
75
76 MESSAGE
77 SRCPACKAGE
78 PACKAGE
79 RE_DEBBUG
80
81 # vim:ft=procmail