6.3. Diagrama de flujo

Un resumen del flujo de interacci贸n del proceso de env铆o y recepci贸n de correos electr贸nicos ser铆a algo parecido a lo siguiente:

El MUA entrega el correo al MSA/MTA del remitente; este 煤ltimo busca mediante DNS el MTA del destinatario y le transfiere el mensaje. Finalmente, el MTA receptor pasa el correo al MDA para su almacenamiento, permitiendo que el destinatario lo recupere posteriormente a trav茅s de un MRA.

        flowchart TD

     subgraph **REMITENTE**
         A["MUA (Cliente de correo)<br/> **Ej: Thunderbird / Outlook**"]
         B["MSA / MTA (Servidor del remitente)<br/> **Ej: Postfix / Sendmail**"]
     end

     subgraph **INFRAESTRUCTURA**
         C["DNS (Consulta MX)<br/> **Ej: BIND / Cloudflare DNS**"]
     end

     subgraph **DESTINATARIO**
         D["MTA (Servidor del destinatario)<br/> **Ej: Exim / Postfix**"]
         E["MDA (Almacenamiento)<br/> **Ej: Dovecot / Procmail**"]
         F["MRA (POP3 / IMAP)<br/> **Ej: Dovecot / Courier**"]
         G["Usuario destinatario"]
     end

     A -->|**SMTP**| B
     B -->|**SMTP + consulta MX**| C
     C -->|**Respuesta DNS MX**| D
     D -->|**SMTP**| E
     E -->|**LMTP entrega local**| F
     F -->|**POP3 / IMAP**| G

     %% Colores
     style A fill:#cce5ff,stroke:#003366,stroke-width:2px
     style B fill:#cce5ff,stroke:#003366,stroke-width:2px
     style C fill:#F54927,stroke:#856404,stroke-width:5px
     style D fill:#d4edda,stroke:#155724,stroke-width:2px
     style E fill:#d4edda,stroke:#155724,stroke-width:2px
     style F fill:#d4edda,stroke:#155724,stroke-width:2px
     style G fill:#d4edda,stroke:#155724,stroke-width:2px

     %% Tama帽o de letra aumentado
     classDef bigfont font-size:18px;
     class A,B,C,D,E,F,G bigfont;