Architecture - monozoide/MailLogSentinel GitHub Wiki

Architecture

  1. Parser
    Reads logs and extracts relevant entries.

  2. State Manager
    Tracks last processed line for incremental updates.

  3. DNS Resolver
    Performs reverse DNS lookups with LRU caching.

  4. IpInfo
    Perform look up IP address information, such as country, ASN and ASO

  5. Reporter
    Builds and sends the daily email report.

Each component is decoupled for easy testing and extension.