Skip to content

Architecture

Smailander's technical architecture overview.

System Architecture

Smailander is a complete, integrated platform for email honeypot monitoring and threat detection. The platform handles all email processing internally without requiring external services.

┌─────────────────────────────────────────────────────────────┐
│                     Smailander Platform                     │
├─────────────────────────────────────────────────────────────┤
│                                                             │
│  ┌─────────────┐  ┌─────────────┐  ┌─────────────┐         │
│  │   Frontend  │  │    API     │  │  Database  │         │
│  │  (Next.js)  │  │  (Node.js)  │  │ PostgreSQL  │         │
│  └──────┬──────┘  └──────┬──────┘  └──────┬──────┘         │
│         │                │                │                 │
│         │                │                │                 │
│  ┌──────▼────────────────▼────────────────▼──────────┐     │
│  │              Smailander Core Services               │     │
│  │  ┌──────────┐ ┌──────────┐ ┌──────────┐            │     │
│  │  │Malware   │ │  Spam    │ │Threat    │            │     │
│  │  │Scanner   │ │Detector  │ │Analysis  │            │     │
│  │  └──────────┘ └──────────┘ └──────────┘            │     │
│  │  ┌──────────┐ ┌──────────┐                         │     │
│  │  │Webhook   │ │Report    │                         │     │
│  │  │Service   │ │Generator │                         │     │
│  │  └──────────┘ └──────────┘                         │     │
│  └──────────────────────────────────────────────────────┘     │
│                                                             │
└─────────────────────────────────────────────────────────────┘

Components

Frontend

  • Framework: Next.js 14 with React
  • Styling: Tailwind CSS
  • State Management: React Context
  • Authentication: Magic link via API

API

  • Framework: Node.js with Express
  • Authentication: JWT with API keys
  • Rate Limiting: Built-in rate limiting
  • Documentation: OpenAPI 3.0

Database

  • Primary: PostgreSQL 15
  • Backups: Daily automated backups
  • Replication: Multi-region replication

Core Services

  • Malware Scanner: Built-in malware detection and analysis
  • Spam Detector: Advanced spam detection algorithms
  • Threat Analysis: Email threat pattern recognition
  • Webhook Service: Event notifications to external services
  • Report Generator: Automated report creation

Security

  • Encryption: AES-256 at rest, TLS 1.3 in transit
  • Authentication: API keys and magic links
  • Authorization: Role-based access control
  • Audit Logging: Complete audit trail

Deployment

  • Infrastructure: AWS or VPS
  • Orchestration: Docker Compose or Kubernetes
  • Monitoring: Built-in metrics and monitoring
  • Logging: Integrated logging system

Scalability

  • Horizontal Scaling: Load balanced API servers
  • Vertical Scaling: Configurable resource allocation
  • Optimization: Efficient database queries and caching
  • Queue Processing: Built-in async processing

Support