From: Vincent Le Gallic Date: Sun, 18 Aug 2013 00:29:53 +0000 (+0200) Subject: Tri des mails logwatch X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=fe8934cd883da8d9cc7453cf0ec0f6c8c42cc2b5;p=config-20-100.git Tri des mails logwatch --- diff --git a/.procmailrc b/.procmailrc index c048e24..b8f3c75 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 @@ INCLUDERC="${CONFIGDIR}/custom.high.rules" * ^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}/