]> git.donarmstrong.com Git - remote_mail.git/blobdiff - .procmailrc
change the rule for complete charging of the subaru
[remote_mail.git] / .procmailrc
index d36e31f3b3545366396ab237dd557a0a8dabac36..4ed4f93b61fcd32282d741947675b75b21781158 100644 (file)
@@ -1,3 +1,4 @@
+# -*- mode: tinyprocmail -*-
 PATH=/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
 
 SHELL=/bin/bash
@@ -66,24 +67,6 @@ FRIENDS=$HOME/.procmail/friends
 * ^Subject:.*Cron.*debbugs@master
 /dev/null
 
-:0
-* !^Content-Type: multipart/
-* !^Content-Type: application/pgp
-{
-    :0 fBw
-    * ^-----BEGIN PGP MESSAGE-----
-    * ^-----END PGP MESSAGE-----
-    | formail \
-        -i "Content-Type: application/pgp; format=text; x-action=encrypt"
-
-    :0 fBw
-    * ^-----BEGIN PGP SIGNED MESSAGE-----
-    * ^-----BEGIN PGP SIGNATURE-----
-    * ^-----END PGP SIGNATURE-----
-    | formail \
-        -i "Content-Type: application/pgp; format=text; x-action=sign"
-}
-
 :0:
 * ! ? (formail -x From: -x Sender: | fgrep -iqf $FRIENDS)
 {
@@ -193,7 +176,13 @@ chili_alarm/
 * ^From:\ nagios@nagios-global.lab.propel.com
 chili_alarm/
 
-#
+# subaru
+:0:
+* 1^0 ^Subject: Your Crosstrek has started charging
+* 1^0 ^Subject: Charging for your Crosstrek is complete
+subaru/
+
+# Mail from dragongo
 :0:
 * ^From:\ noreply@dragongoserver.net
 lists/dragongo/
@@ -248,19 +237,19 @@ lists/`echo $MATCH | sed -e 's/[\/]/_/g'`/
 # Debian's bug system uses X-Loop
 :0:
 * ^X-PTS-Package: \/.+
-bugs/bug_reports
+bugs/bug_reports/
 
 :0:
 * ^X-Debian-PR-Source: \/.+
-bugs/bug_reports
+bugs/bug_reports/
 
 :0:
 * ^X-Debian-PR-Package: \/.+
-bugs/bug_reports
+bugs/bug_reports/
 
 :0:
 * ^X-Loop: owner@bugs.debian.org
-bugs/bug_reports
+bugs/bug_reports/
 
 :0:
 * X-Loop: \/[^@]+