mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-27 07:31:37 +01:00
Implements unique Message-ID generation for email notifications to enhance email threading, tracking, and spam filter compatibility. Features: - Generates RFC 5322 compliant Message-ID headers - Uses nanosecond timestamps for high-resolution uniqueness - Includes 64 bits of cryptographically secure random data - Format: <timestamp.randomhex@domain> - Domain derived from LocalName config, falling back to Host Tests: - Validates RFC 5322 format compliance - Ensures uniqueness across 1,000 iterations - Verifies correct domain usage and structure