X-Git-Url: http://gitweb.pimeys.fr/?p=config-20-100.git;a=blobdiff_plain;f=.procmailrc;h=ba96953d4cd39a98413b21102adee059cb529706;hp=bcef89e7a37625863a877e735a5e8459f5089076;hb=e5aeb844cb4086b80a851f66fab79959d12daff0;hpb=760346882ebd26fcfc4192bebb1c8adf5f6221b8 diff --git a/.procmailrc b/.procmailrc index bcef89e..ba96953 100644 --- a/.procmailrc +++ b/.procmailrc @@ -101,6 +101,8 @@ # | |-[$*+] machines_supprimees (puni !) # | | # | |-[+] ovh (Factures, Newsletters) +# | | +# | |-[+BT] paiements (rechargements des comptes impression via comnpay) # | # | # |-[*+] Monitoring (une machine fait-elle de la merde ?) @@ -355,6 +357,8 @@ BCFG2DIR="${INFORMATIONDIR}.bcfg2" INNDIR="${INFORMATIONDIR}.inn" # Notifications de bridage pour upload DECODIR="${INFORMATIONDIR}.deconnexion" +# Résumés des rehargements impression comnpay +PAIEMENTSDIR="${INFORMATIONDIR}.paiements" ## Dossier de discussion techniques # Racine @@ -751,6 +755,11 @@ LISTID=| formail -cXList-ID: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME ${DELETEDMACHINES}/ } +# La ML paiements@ +:0 +* ^List-Id:.*paiements\.lists\.crans\.org +${PAIEMENTSDIR}/ + ################################################################# ## Gestion des cron perso ## @@ -810,7 +819,7 @@ LISTID=| formail -cXList-ID: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME # On récupère tous les mails qui sont arrivés par l'intermédaire d'une ML * ^List-Id:.* { - ML=`echo "${LISTID}" | sed 's/[^<]*//'` + ML=`echo "${LISTID}" | sed 's/.*<\([^<>]\+\)>$/\1/'` ################################################################# ## Gestion des mailing-listes Cr@ns ## @@ -894,7 +903,7 @@ LISTID=| formail -cXList-ID: | perl -MEncode -pe '$_=encode("utf-8",decode("MIME # MLs BDL :0 - * ? echo "${ML}" | egrep "(bdl|interludes)" + * ? echo "${ML}" | egrep "(bdl|interludes|kwei)" ${MLBDLDIR}.${ML_}/ # MLs BDS