|
|
98d1ae135d
|
Implement SpamAssassin score extraction and parsing
- Parses common SpamAssassin headers (X-Spam-Status, X-Spam-Score, X-Spam-Report, etc.)
- Extracts spam score, threshold, and triggered tests
- Implements scoring algorithm (0-2 points) based on:
- Score ≤ 0: 2.0 points (excellent)
- Score < threshold: 1.5-2.0 points (good)
- Score < 2× threshold: 1.0 point (borderline)
- Score < 3× threshold: 0.5 points (poor)
- Score ≥ 3× threshold: 0.0 points (spam)
- Generates detailed checks for significant spam tests (score > 1.0)
- Provides actionable advice based on severity levels
|
2025-10-18 12:26:51 +07:00 |
|