📌 1. Vue d'ensemble

WEVAL est une plateforme complète de gestion d'email marketing haute performance. Elle comprend trois applications principales partageant une infrastructure commune de bases de données, avec des systèmes de tracking dédiés, un Brain Engine pour l'optimisation automatique, et une intégration avec des serveurs PMTA pour l'envoi d'emails à grande échelle.

🖥️
Serveur Principal
89.167.40.150
Ubuntu 24.04 LTS
4 CPU Cores / 16 GB RAM
150 GB SSD
Hetzner Cloud (HEL1)
📡
Serveur Tracking
151.80.235.110
OVH Infrastructure
Tracking opens/clicks
SSL/TLS enabled
High availability
☁️
Cloud Storage
AWS S3
Région: eu-north-1
Content hosting
Image assets
Tracking elements

📊 Statistiques Plateforme

329
Tables adx_system
119
Tables adx_clients
5
Schemas actifs
1,352
Comptes Office365
1,182
Domaines Pool
51,246
Brain Seeds
78
ISPs Configurés
32
Offres Actives
26+
Providers IA

🗄️ 3. Bases de Données ENRICHI

🗃️
adx_system
Base principale
Configuration système, Brain Engine, données de production, serveurs MTA, campagnes, offres affiliées et statistiques.
329
Tables
5
Schemas
📧
adx_clients
Listes Email
Listes d'emails segmentées par ISP (Gmail, Yahoo, Hotmail, GMX, etc.) avec gestion des suppressions par client.
119
Tables
8+
Schemas ISP
💡
Architecture Multi-Schema: adx_system utilise 5 schemas distincts (admin, affiliate, actions, production, system_admin) pour séparer les responsabilités.

📐 4. Schémas Détaillés NOUVEAU

adx_system - Architecture des Schemas

DATABASE: ADX_SYSTEM │ │ ┌─────────────────────────────────────────────────────────────────────────────┐ │ │ SCHEMA: admin (329 tables) - Configuration principale │ │ │ • brain_* (configs, seeds, winners, tests, send_methods) │ │ │ • domains_pool (1,182) - Domaines Office365/Cloudflare │ │ │ • office_accounts (1,352) - Comptes Office365 │ │ │ • target_isps (78) - ISPs cibles configurés │ │ │ • campaigns (19) - Campagnes mailing │ │ │ • hamid_* - Configuration WEVAL MIND │ │ │ • ⚠️ offers/sponsors/creatives (VIDES - utiliser affiliate.*) │ │ └─────────────────────────────────────────────────────────────────────────────┘ │ │ ┌─────────────────────────────────────────────────────────────────────────────┐ │ │ SCHEMA: affiliate - OFFRES & RÉSEAUX (VRAIES DONNÉES) │ │ │ • affiliate_networks - Réseaux (CX3 Ads, Double M, Everflow...) │ │ │ • offers (32) - Offres avec production_id, payout │ │ │ • creatives - Créatives HTML/images par offre │ │ │ • from_names, subjects, links, suppressions │ │ └─────────────────────────────────────────────────────────────────────────────┘ │ │ ┌─────────────────────────────────────────────────────────────────────────────┐ │ │ SCHEMA: actions - TRACKING & ANALYTICS │ │ │ • clicks, leads, opens, optouts, unsubscribes │ │ │ • Colonnes: offer_production_id, affiliate_network_id, user_production_id │ │ └─────────────────────────────────────────────────────────────────────────────┘ │ │ ┌─────────────────────────────────────────────────────────────────────────────┐ │ │ SCHEMA: production - PROCESSUS D'ENVOI │ │ │ • ✅ mta_processes - Envoi via PMTA │ │ │ • ✅ smtp_processes - Envoi SMTP (Office365/IPs propres/Gmail) │ │ │ • ✅ auto_responders - Répondeurs automatiques │ │ │ • ❌ fapi/gapi/oapi_processes - LEGACY NE FONCTIONNENT PLUS │ │ └─────────────────────────────────────────────────────────────────────────────┘ │ │

adx_clients - Schemas par ISP

📧 gmail
  • gmail (principal)
  • gmail_1 à gmail_14
📧 hotmail
  • hotmail_uk, hotmail_de
  • hotmail_se, hotmail_be, hotmail_us
📧 gmx
  • emails
📧 webde
  • emails
📧 tonline
  • emails
📧 yahoo
  • yahoo
📧 videotron
  • emails
🚫 suppressions
  • sup_list_* (40+ tables)

📋 5. Master Table NOUVEAU

Schema.TableRowsDescriptionStatus
🔧 SCHEMA: admin
admin.brain_seeds51,246Seeds testeurs Brain Engine✅ Actif
admin.domains_pool1,182Pool domaines Office365/Cloudflare✅ Actif
admin.office_accounts1,352Comptes Office 365✅ Actif
admin.target_isps78ISPs cibles configurés✅ Actif
admin.brain_configs16Configurations Brain✅ Actif
admin.brain_winners6Configs gagnantes validées✅ Actif
admin.campaigns19Campagnes mailing✅ Actif
admin.cloudflare_accounts36Comptes Cloudflare DNS✅ Actif
admin.knowledge_base29KB WEVAL MIND (ancienne)⚠️ Migrer
admin.hamid_knowledge0KB WEVAL MIND (nouvelle - VIDE)❌ Vide
admin.offers0DOUBLON - utiliser affiliate.offersLegacy
🎯 SCHEMA: affiliate
affiliate.affiliate_networks?Réseaux (CX3, Double M...)✅ Actif
affiliate.offers32Offres avec production_id✅ Actif
affiliate.creatives?Créatives par offre✅ Actif
affiliate.suppressions?Suppressions par réseau✅ Actif
📊 SCHEMA: actions
actions.clicks?Clics trackés✅ Actif
actions.leads?Leads générés✅ Actif
actions.opens?Opens trackés✅ Actif
🚀 SCHEMA: production
production.mta_processes?Processus PMTA✅ Actif
production.smtp_processes?SMTP (O365/IP/Gmail)✅ Actif
production.fapi_processes?LEGACY FreeDNS❌ Legacy

🧠 6. Brain Engine NOUVEAU

Le Brain Engine optimise automatiquement les configurations d'envoi pour maximiser les taux d'inbox par ISP.

🌱
brain_seeds
51,246 testeurs
Emails testeurs par ISP pour vérifier inbox/spam. Inclut credentials IMAP.
⚙️
brain_configs
16 configurations
Headers, from, subject, body, send_method, domain, IP, SPF, DKIM, DMARC.
🏆
brain_winners
6 gagnants
Configurations validées avec inbox_rate > 85%.

🔄 Flow Brain Engine

1
Sélection configuration (brain_configs)
2
Envoi aux seeds ISP cible (brain_seeds)
3
Vérification IMAP: inbox ou spam? (brain_test_results)
4
Si inbox_rate > 85% → Promotion en brain_winners
5
Utilisation automatique pour envois réels

📊 8. Flow Tracking NOUVEAU

FLOW TRACKING COMPLET │ EMAIL ENVOYÉ → OPEN → CLICK → LEAD → CONVERSION │ │ │ │ │ │ ▼ ▼ ▼ ▼ │ actions.opensactions.clicksactions.leadsconversions │ │ Serveur Tracking: 151.80.235.110 (OVH) │ URLs: /op/{drop_id}_{type}/{uid}/{vid}/{ofid}/{lid}/{cid} │ /cl/{drop_id}_{type}/{uid}/{vid}/{ofid}/{lid}/{cid} │

📧 9. Flow Email Marketing NOUVEAU

FLOW EMAIL MARKETING COMPLET │ 1. CONFIG: affiliate.offers + admin.brain_* + admin.domains_pool + office_accounts │ ▼ │ 2. DATA: adx_clients (gmail.*, hotmail.*, gmx.*, yahoo.*, videotron.*) │ ▼ │ 3. ENVOI: production.smtp_processes (O365/IP/Gmail) | production.mta_processes │ ▼ │ 4. TRACK: actions.opens → actions.clicks → actions.leads → conversions │

🤖 10. WEVAL MIND NOUVEAU

WEVAL MIND (Hyper-Advanced Multi-Intelligence Director) - Système IA multi-providers avec failover automatique.

🧠
26+ Providers
Failover automatique
Cerebras, Groq, DeepSeek, Gemini, Claude, Mistral, Cohere, SambaNova, Ollama...
📚
Knowledge Base
29 documents
Documentation PMTA, Office365, Tracking, Brain Engine...
⚠️
À Migrer
KB vide
knowledge_base (29) → hamid_knowledge (0)
⚠️
Action requise: Migrer knowledge_base (29 docs) vers hamid_knowledge.

🧹 13. Nettoyage Recommandé NOUVEAU

Tables Doublons (à supprimer)

Table LegacyRowsRemplacer parAction
admin.offers0affiliate.offersSupprimer
admin.sponsors0affiliate.affiliate_networksSupprimer
admin.creatives0affiliate.creativesSupprimer
admin.senddata0adx_clients.*Supprimer
admin.send_data0adx_clients.*Supprimer
admin.domain_pools0admin.domains_poolSupprimer
admin.o365_accounts0admin.office_accountsSupprimer

Tables Legacy Production

ℹ️
Ces tables ne fonctionnent plus: production.fapi_processes, production.gapi_processes, production.oapi_processes