diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-29 17:27:11 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2016-11-29 17:27:11 (GMT) |
commit | b92a28a5fe38436fecd20b32b2ba1e68521f6430 (patch) | |
tree | ed4ef1ad7125b31c8a3bfd8fbdb1656bc6c4e286 /etc | |
parent | a0e978dc078a72b1224a011defd0d905e5062dc8 (diff) | |
download | site-b92a28a5fe38436fecd20b32b2ba1e68521f6430.tar.gz |
Remove Procmail filter for plugins@ address
We no longer forward GitHub notifications to the mailing list.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/procmailrc | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/etc/procmailrc b/etc/procmailrc deleted file mode 100644 index 7c7ecbd..0000000 --- a/etc/procmailrc +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | SHELL = /bin/sh | ||
2 | PATH = /usr/bin:/bin | ||
3 | MAILDIR = $HOME/mail | ||
4 | LOGFILE = $HOME/log/procmail.log | ||
5 | GITHUB_FILTER = $HOME/libexec/filter-github-emails | ||
6 | DEFAULT_RECIPIENT = admin@monitoring-plugins.org | ||
7 | EXTENSION = $1 | ||
8 | |||
9 | :0 c: | ||
10 | backup | ||
11 | |||
12 | :0 | ||
13 | * ! ^X-Loop: plugins@monitoring-plugins\.org | ||
14 | { | ||
15 | :0 fhw | ||
16 | * ^From \/[^ ]+ | ||
17 | | formail -A 'X-Loop: plugins@monitoring-plugins.org' \ | ||
18 | -A "X-Original-From: $MATCH" | ||
19 | |||
20 | # Handle emails sent to <plugins+github@monitoring-plugins.org>. | ||
21 | :0 | ||
22 | * EXTENSION ?? ^^github^^ | ||
23 | { | ||
24 | :0 fw | ||
25 | | $GITHUB_FILTER | ||
26 | |||
27 | # Forward only if $GITHUB_FILTER rewrote the To: header. | ||
28 | :0 | ||
29 | * ^To:.*\/devel@monitoring-plugins\.org | ||
30 | ! $MATCH | ||
31 | } | ||
32 | |||
33 | # Handle emails that shouldn't be forwarded to the list. | ||
34 | :0 | ||
35 | ! $DEFAULT_RECIPIENT | ||
36 | } | ||
37 | |||
38 | # vim:set filetype=procmail: | ||