X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=.procmailrc;h=2e3bb48be71e32275090690612e84e9beaa017f2;hb=e15260cd10634a5b0774483d36cea2ce485a3b06;hp=4986dff495bac0dddfda4abd778e3b15282beec9;hpb=57e291aeb2297565e31c15d91ec3e04dd80fb71c;p=config-20-100.git diff --git a/.procmailrc b/.procmailrc index 4986dff..2e3bb48 100644 --- a/.procmailrc +++ b/.procmailrc @@ -112,6 +112,8 @@ # | | |-[+] new_activity # | | |-[+] new_station # | | +# | |-[+B] mac_prises (spoofing is being watched) +# | | # | |-[*+] Monit (Un truc marche pas/remarche, un disque est plein,…) # | | | # | | |- @@ -299,6 +301,7 @@ ARPWATCHDIR="${MONITORINGDIR}.Arpwatch" MUNINDIR="${MONITORINGDIR}.Munin" MUNINIMPRESSIONDIR="${MUNINDIR}.Imprimante" STATUPLOADDIR="${MONITORINGDIR}.Stats-upload" +MACPRISESDIR="${MONITORINGDIR}.Mac_prises" ## Dossiers pour le mails concernant des "problèmes" # Racine @@ -388,7 +391,7 @@ FEDEREZOVHDIR="${FEDEREZADMINDIR}.OVH" # si le champ fait plusieurs lignes :0 * ^X-Mailer: -XMAILER=| formail -cXX-Mailer: | perl -MEncode -pe '$_=encode("iso-8859-1",decode("MIME-Header",$_))' +XMAILER=| formail -cXX-Mailer: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME-Header",$_))' @@ -646,7 +649,7 @@ INCLUDERC="${CONFIGDIR}/custom.high.rules" * ^X-GitInfo { :0 - * ^X-Mailer: /usr/scripts/utils/git-whatsnew + * XMAILER ?? /usr/scripts/utils/git-whatsnew ${GITDIR}.whatsnew/ :0 @@ -691,9 +694,14 @@ INCLUDERC="${CONFIGDIR}/custom.high.rules" { # Statistiques d'upload :0 - * ^X-Mailer: /usr/scripts/surveillance/statistiques2.py + * XMAILER ?? /usr/scripts/surveillance/statistiques2.py ${STATUPLOADDIR}/ + # Résumé quotidien des correspondances mac_prises + :0 + * XMAILER ?? /usr/scripts/surveillance/mac_prises/mac_prise_analyzer.py + ${MACPRISESDIR}/ + :0 * ^Subject:.*fois.*en un mois ${MULTIDECODIR}/ @@ -716,7 +724,6 @@ INCLUDERC="${CONFIGDIR}/custom.high.rules" # Sur la ML respbats@ -# On utilise la variable XMAILER peuplée dans la phase de Preprocessing :0 * ^List-Id:.*respbats\.lists\.crans\.org {