# ./| |
# ./| |-[*+B] federez
# ./| |-[F] admin
+# ./| | |
+# ./| | |-[F] logwatch
+# ./| |
# ./| |-[(F)] monit
# ./|
# ./|
# ./| |
# ./| |-[*+] attention (cron)
# ./| | |
-# ./| | |-[*+] à trier : roots/root ou par serveur
+# ./| | |-[*+] Triés selon les cronjob souvent rencontrés,
+# ./| | | listés dans le fichier cron.folders
# ./| |
# ./| |-[*+] Argh
# ./| | |
### Dossiers pour les MLs qui ne sont pas catchées par une autre règle
## Dossier racine
MLDIR=".ML"
+## Dossier pour ranger les rappels de mots de passes envoyés par Mailman
+RAPPELMDPDIR="${MLDIR}.rappels_mdp"
+
### Dossiers pour les MLs du campus
MLCAMPUSDIR="${MLDIR}.Campus"
### Dossier racine pour Federez
FEDEREZDIR="${CRANS_FOLDER}.FedeRez"
FEDEREZMONITDIR="${FEDEREZDIR}.Monit"
+FEDEREZLOGWATCHDIR="${FEDEREZDIR}.Logwatch"
* ^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}/
# On matche tous les alias de root@crans.org
:0
-* ^(To|Cc): .*(root|abuse|amavis|backup|bind|bin|clamav|daemon|ftpadm|ftpmaster|ftp-mirror|ftp|games|gnats|irc|list|logcheck|lp|mail|majordom|man|msql|munin|news|operator|postgres|proxy|sync|sys|usenet|uucp|webmaster|www-clubs|www-data|www-perso|postmaster|mailer-daemon)@crans\.org
+* ^(To|Cc): .*(root|abuse|amavis|backup|bind|bin|clamav|daemon|ftpadm|ftpmaster|ftp-mirror|ftp|games|gnats|irc|list|logcheck|lp|mail|majordom|man|msql|munin|news|operator|postgres|proxy|sync|sys|usenet|uucp|webmaster|www-clubs|www-data|www-perso|postmaster|mailer-daemon)@(crans\.org|crans\.ens-cachan\.fr)
{
# Spam de logcheck
:0
* ^Subject:.*apt-listchanges
${APTLISTCHANGESDIR}/
- # Serveurs non synchronisés avec bcfg2
- :0
- * ^X-Mailer: bcfg2-reports
- ${BCFG2DIR}/
-
# Tout ce qui traîne sur root et qui n'est pas catché par quelque chose
:0
${ROOTDEFAULTDIR}/
* ^From: telephonie.freebox@freetelecom.fr
${FREEBOXDIR}/
+ # Serveurs non synchronisés avec bcfg2
+ :0
+ * ^X-Mailer: bcfg2-reports
+ ${BCFG2DIR}/
+
# Si il n'y pas de condition de tri, ça va dans le dossier Technique
:0
${ROOTSDIR}/
# La ML mailman@ est un peu particulière
:0
* ^(List-Id:.*mailman\.|(To|Cc):.*mailman-(owner|bounces)@)lists\.crans\.org
-${MAILMANDIR}/
+{
+ :0
+ * ^Subject:.*Rappel_pour_les_abonnements_aux_listes
+ ${RAPPELMDPDIR}/
+
+ :0
+ ${MAILMANDIR}/
+}
#################################################################
# MLs SoNo
:0
* ? (grep "^${ML}$" ${CONFIGDIR}/ML_sono) || (echo "${ML}" | grep sono)
- ${MLBDADIR}.${ML_}/
+ ${MLSONODIR}.${ML_}/
# MLs Med
:0