Documentation sur le logiciel SYMPA

Ceci est une ancienne révision du document !


Les archives

Transformer une boite mail en archives sympa d'une liste

Récupérer les messages ou la boite mail dans un fichier au format mbox

Utiliser le script mbox2sympa.pl pour générer des fichiers log par mois du fichier mbox

# cd ~sympa/list_data/<color #22b14c>ROBOT</color>/<color #22b14c>LISTE</color>/archives 
Copier le fichier.mbox dans ce répertoire
# mbox2sympa.pl fichier.mbox 
# ls 
     log.202101  log.202102  ......
# /home/sympa/bin/arc2webarc.pl <color #22b14c>LISTE ROBOT</color>
        Web archives already exist for list <color #22b14c>LISTE</color>
        Go on (<CR>|n) ?y
        Bursting archives
        ..
        New directory 2021-01
        Found 71 messages
        Rebuilding HTML
        notice Sympa::Spool::store() Sympa::Message <> is stored into Sympa::Spool::Archive as <1645008294.1645008294.449418.sympa@<color #22b14c>ROBOT</color>,16468,2693>

        Have a look in /home/sympa/arc/<color #22b14c>LISTE</color>@<color #22b14c>ROBOT</color>/-/ directory for messages dateless
        Now, you should add a web_archive parameter in the config file to make it accessible from the web