nettoyage readme
This commit is contained in:
183
README.md
183
README.md
@ -3,194 +3,13 @@
|
|||||||
|
|
||||||
Outil de transformation des comptes POP en IMAP sur poste de travail
|
Outil de transformation des comptes POP en IMAP sur poste de travail
|
||||||
|
|
||||||
Présentation technique - Version 1.2
|
Version 1.3
|
||||||
|
|
||||||
[https://codeberg.org/jopazerty/moveyourpop](https://codeberg.org/jopazerty/moveyourpop)
|
[https://codeberg.org/jopazerty/moveyourpop](https://codeberg.org/jopazerty/moveyourpop)
|
||||||
|
|
||||||
[Release](https://codeberg.org/jopazerty/moveyourpop/releases)
|
[Release](https://codeberg.org/jopazerty/moveyourpop/releases)
|
||||||
|
|
||||||
🎯Contexte et Problématique
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
### Situation actuelle
|
|
||||||
|
|
||||||
* Comptes email en **POP3** sur domaines académiques
|
|
||||||
* ac-nice.fr / ac-aix-marseille.fr
|
|
||||||
* Téléchargement local des emails
|
|
||||||
* Pas de synchronisation multi-appareils
|
|
||||||
|
|
||||||
### Objectif
|
|
||||||
|
|
||||||
Migrer automatiquement vers **IMAP** tout en préservant l'historique complet des emails
|
|
||||||
|
|
||||||
🏗️Architecture Technique
|
|
||||||
-------------------------
|
|
||||||
|
|
||||||
### Technologies
|
|
||||||
|
|
||||||
* **AutoIt 3.3.16.1** - Interface & logique
|
|
||||||
* **Robocopy** - Sauvegarde fiable
|
|
||||||
* **PowerShell** - Gestion fichiers
|
|
||||||
|
|
||||||
### Prérequis
|
|
||||||
|
|
||||||
* Thunderbird fermé
|
|
||||||
* Droits d'écriture profil
|
|
||||||
* Espace disque suffisant
|
|
||||||
* Windows (robocopy)
|
|
||||||
|
|
||||||
🔍Analyse du Profil Thunderbird
|
|
||||||
-------------------------------
|
|
||||||
|
|
||||||
### Structure analysée
|
|
||||||
|
|
||||||
%APPDATA%\\Thunderbird\\Profiles\\xxxxxxxx.default\\
|
|
||||||
├── prefs.js # Configuration actuelle
|
|
||||||
├── user.js # Surcharge générée
|
|
||||||
└── Mail\\ # Dossiers POP existants
|
|
||||||
|
|
||||||
### Parsing du prefs.js
|
|
||||||
|
|
||||||
* Conversion en tableau clé/valeur
|
|
||||||
* Recherche serveurs POP3 par regex
|
|
||||||
* Extraction métadonnées (Username, Account ID, Server ID...)
|
|
||||||
|
|
||||||
🔧Processus de Migration
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
### 1\. Détection automatique
|
|
||||||
|
|
||||||
$searchForServer = \_searchKeyInPrefsJsArrayRegex($prefsToArray, "^pop3$")
|
|
||||||
$searchForAcNice = \_searchValueInPrefsJsArrayRegex($prefsToArray,
|
|
||||||
"mail\\.server\\."&$serverID&"\\.hostname$")
|
|
||||||
|
|
||||||
### 2\. Workflow sécurisé
|
|
||||||
|
|
||||||
* **Vérification** espace disque
|
|
||||||
* **Sauvegarde** complète (horodatée)
|
|
||||||
* **Migration** vers \_Archives de \[compte\].sbd
|
|
||||||
* **Configuration** IMAP via user.js
|
|
||||||
|
|
||||||
⚙️Configuration IMAP
|
|
||||||
--------------------
|
|
||||||
|
|
||||||
Domaine
|
|
||||||
|
|
||||||
Serveur IMAP
|
|
||||||
|
|
||||||
Serveur SMTP
|
|
||||||
|
|
||||||
Port
|
|
||||||
|
|
||||||
ac-nice.fr
|
|
||||||
|
|
||||||
imap.ac-nice.fr
|
|
||||||
|
|
||||||
smtps.ac-nice.fr
|
|
||||||
|
|
||||||
993/465
|
|
||||||
|
|
||||||
ac-aix-marseille.fr
|
|
||||||
|
|
||||||
imap.ac-aix-marseille.fr
|
|
||||||
|
|
||||||
smtp.ac-aix-marseille.fr
|
|
||||||
|
|
||||||
993/465
|
|
||||||
|
|
||||||
**Sécurité :** SSL/TLS obligatoire
|
|
||||||
|
|
||||||
📁Configuration user.js
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
### Paramètres IMAP générés
|
|
||||||
|
|
||||||
user\_pref("mail.server.X.hostname", "imap.ac-nice.fr");
|
|
||||||
user\_pref("mail.server.X.type", "imap");
|
|
||||||
user\_pref("mail.server.X.port", 993);
|
|
||||||
user\_pref("mail.server.X.socketType", 3);
|
|
||||||
|
|
||||||
### Dossiers spéciaux
|
|
||||||
|
|
||||||
user\_pref("mail.identity.X.archive\_folder", "imap://user@imap.ac-nice.fr/Archives");
|
|
||||||
user\_pref("mail.identity.X.fcc\_folder", "imap://user@imap.ac-nice.fr/Sent");
|
|
||||||
|
|
||||||
🛡️Sécurité et Fiabilité
|
|
||||||
------------------------
|
|
||||||
|
|
||||||
### Mesures de protection
|
|
||||||
|
|
||||||
* **Vérifications** préalables
|
|
||||||
* **Sauvegarde** automatique
|
|
||||||
|
|
||||||
### Gestion d'erreurs
|
|
||||||
|
|
||||||
* Contrôle espace disque
|
|
||||||
* Codes retour système
|
|
||||||
* Messages explicites
|
|
||||||
|
|
||||||
🎮Interface Utilisateur
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
### Fonctionnalités GUI
|
|
||||||
|
|
||||||
* **Auto-détection** du profil le plus récent
|
|
||||||
* **Sélection manuelle** des dossiers
|
|
||||||
* **Aperçu temps réel** des comptes
|
|
||||||
* **Informations contextuelles** (taille, espace)
|
|
||||||
|
|
||||||
### Workflow simplifié
|
|
||||||
|
|
||||||
1\. Fermer Thunderbird → 2. Lancer MoveYourPOP → 3. Vérifier → 4. Confirmer → 5. Redémarrage auto
|
|
||||||
|
|
||||||
📊Avantages de la Solution
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
### Utilisateur final
|
|
||||||
|
|
||||||
* Migration **transparente**
|
|
||||||
* Aucune perte de données
|
|
||||||
* Synchronisation multi-appareils
|
|
||||||
* Interface simplifiée
|
|
||||||
|
|
||||||
### Administrateur
|
|
||||||
|
|
||||||
* Déploiement de **masse**
|
|
||||||
* Standardisation configs
|
|
||||||
* Réduction support
|
|
||||||
|
|
||||||
😞Inconvénients
|
|
||||||
---------------
|
|
||||||
|
|
||||||
* Uniquement disponible pour Windows
|
|
||||||
* Lève des alertes avec certains antivirus
|
|
||||||
|
|
||||||
🚀Déploiement et Maintenance
|
|
||||||
----------------------------
|
|
||||||
|
|
||||||
### Méthodes de déploiement
|
|
||||||
|
|
||||||
* **Exécution locale** par l'utilisateur
|
|
||||||
|
|
||||||
### Post-migration automatique
|
|
||||||
|
|
||||||
* Redémarrage Thunderbird
|
|
||||||
* Archivage user.js → .bak (20s)
|
|
||||||
* Synchronisation IMAP
|
|
||||||
* Conservation archives locales
|
|
||||||
|
|
||||||
❓Questions & Discussion
|
|
||||||
-----------------------
|
|
||||||
|
|
||||||
### Points d'attention
|
|
||||||
|
|
||||||
* Compatibilité futures versions TB
|
|
||||||
* Politique rétention sauvegardes
|
|
||||||
* Formation post-migration
|
|
||||||
|
|
||||||
### Évolutions possibles
|
|
||||||
|
|
||||||
* Support autres domaines
|
|
||||||
|
|
||||||
|
|
||||||
# Screenshots #
|
# Screenshots #
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user