From 182992fff7f38f0a32a7139e197ae73b02881dcd Mon Sep 17 00:00:00 2001
From: Vincent Le Gallic <legallic@crans.org>
Date: Sun, 18 Aug 2013 02:34:56 +0200
Subject: [PATCH] Tri des messages de logwatch de FedeRez

---
 .procmailrc | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.procmailrc b/.procmailrc
index 0689576..3c76109 100644
--- a/.procmailrc
+++ b/.procmailrc
@@ -86,6 +86,9 @@
 # ./|    |
 # ./|    |-[*+B] federez
 # ./|    |-[F] admin
+# ./|    |  |
+# ./|    |  |-[F] logwatch
+# ./|    |
 # ./|    |-[(F)] monit
 # ./|
 # ./|
@@ -350,6 +353,7 @@ ROOTDEFAULTDIR="${TECHNIQUEDIR}.root"
 ### Dossier racine pour Federez
 FEDEREZDIR="${CRANS_FOLDER}.FedeRez"
 FEDEREZMONITDIR="${FEDEREZDIR}.Monit"
+FEDEREZLOGWATCHDIR="${FEDEREZDIR}.Logwatch"
 
 
 
@@ -408,6 +412,10 @@ FEDEREZMONITDIR="${FEDEREZDIR}.Monit"
   * ^Subject:.*monit \/[^ \.]+
   ${MONITDIR}.${MATCH}/
   
+  :0
+  * ^Subject:.*logwatch for
+  ${MONITDIR}.${MATCH}/
+  
   # Dossier de Monit par défaut, si Monit se met à envoyer d'autres mails
   :0
   ${MONITDIR}/
-- 
GitLab