From fb3b8ea6d4c4dbadcbc1db2c33fdd18a72fe0920 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Fri, 12 Feb 2016 04:03:06 +0100 Subject: [PATCH] =?utf8?q?[procmail]=20S=C3=A9paration=20des=20multi-r?= =?utf8?q?=C3=A9cidivistes=20pour=20upload=20dans=20un=20autre=20dossier?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .procmailrc | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.procmailrc b/.procmailrc index 2e3bb48..d6d636b 100644 --- a/.procmailrc +++ b/.procmailrc @@ -355,6 +355,8 @@ DARCSDIR="${INFORMATIONDIR}.darcs" BCFG2DIR="${INFORMATIONDIR}.bcfg2" # Statistiques des serveurs de news INNDIR="${INFORMATIONDIR}.inn" +# Notifications de bridage pour upload +DECODIR="${INFORMATIONDIR}.deconnexion" ## Dossier de discussion techniques # Racine @@ -393,6 +395,10 @@ FEDEREZOVHDIR="${FEDEREZADMINDIR}.OVH" * ^X-Mailer: XMAILER=| formail -cXX-Mailer: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME-Header",$_))' +:0 +* ^Subject: +SUBJECT=| formail -cXSubject: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME-Header",$_))' + ################################################################################ @@ -702,9 +708,18 @@ INCLUDERC="${CONFIGDIR}/custom.high.rules" * XMAILER ?? /usr/scripts/surveillance/mac_prises/mac_prise_analyzer.py ${MACPRISESDIR}/ + # Notifications de bridage pour upload :0 - * ^Subject:.*fois.*en un mois - ${MULTIDECODIR}/ + * XMAILER ?? /usr/scripts/surveillance/deconnexion2.py + { + # Récidivistes + :0 + * SUBJECT ?? fois ce mois + ${MULTIDECODIR}/ + + :0 + ${DECODIR}/ + } } # Sur la ML impression@ -- 2.39.2