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

define MESSAGE before rules using it
[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 :0
14 *$ ^X-Debian-PR-Package:$RE_EXTRACT_HEADER_VALUE
15 { PACKAGE="$MATCH" }
16
17 :0
18 *$ ^X-Debian-PR-Source:$RE_EXTRACT_HEADER_VALUE
19 { SRCPACKAGE="$MATCH" }
20
21 INCLUDERC=$PMRULES/debian-debbugs-autosubscribe
22
23 :0
24 * EQ_TO ?? ^logcheck-(devel|commits)@lists\.alioth\.debian\.org$
25 { DEST=debian.logcheck }
26
27 :0 E
28 * EQ_TO ?? ^libkdtree-(devel|commits)@lists\.alioth\.debian\.org$
29 { DEST=debian.libkdtree++ }
30
31 :0 E
32 * EQ_TO ?? ^pkg-mdadm-(devel|commits)@lists\.alioth\.debian\.org$
33 { DEST=debian.mdadm }
34
35 :0 E
36 * EQ_TO ?? ^netconf-(devel|commits)@lists\.alioth\.debian\.org$
37 { DEST=debian.netconf }
38
39 :0 E
40 * SRCPACKAGE ?? .
41 * ? $FGREP -q "${SRCPACKAGE}" $CONF/debian-packages
42
43   LOG="debian:      message related to package $MATCH$NL"
44   DEST=debian.$SRCPACKAGE
45 }
46
47 :0 E
48 * 1^0 EQ_TO ?? ^(madduck|press)@debconf\.org$
49 * 1^0 EQ_TO ?? ^debconf-team@lists\.debconf\.org$
50 { DEST=debian.debconf }
51
52 :0 E
53 * EQ_TO ?? ^.+@debian\.(org|ch|net)$
54 { DEST=debian }
55
56 # delay messages until next weekend
57 :0
58 *     1 ^0 ORIGINAL_TO ?? deb(ian\.(org|ch|net)|conf\.org)@
59 *     1 ^0 ^X-Debian-
60 * -1000 ^0 JUSTME ?? .
61 *  1000 ^0 JUSTME ?? ^explicitly excepted address$
62 * -1000 ^0 EQ_TO ?? ^debian-security-announce@lists\.debian\.org$
63 * -1000 ^0 EQ_TO ?? ^debian-devel-announce@lists\.debian\.org$
64 * -1000 ^0 EQ_TO ?? ^debian-announce@lists\.debian\.org$
65 { DELAY="$DELAY_NEXT_WEEKEND" }
66
67 MESSAGE
68 SRCPACKAGE
69 PACKAGE
70
71 # vim:ft=procmail