Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/.testcoverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ threshold:
exclude:
paths:
- cmd/inboundparse/main.go
- internal/auth/test_utils.go
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ A SMTP server that receives emails from any domain without authentication and fo
### Email Authentication (RFC Compliant)
- 🧐 **SPF Validation (RFC 7208)**: Validates Sender Policy Framework with HELO and envelope sender
- 🖊️ **DKIM Validation (RFC 6376)**: Verifies DomainKeys Identified Mail signatures with multi-signature support
- 🕵️‍♂️ **DMARC Validation (RFC 7489)**: Evaluates DMARC policy with identifier alignment checking
- 🕵️‍♂️ **DMARC Validation (RFC 7489)**: Evaluates DMARC policy with hierarchical domain lookup and subdomain policy inheritance
- 📝 **Comprehensive Results**: Detailed authentication results with domain, mechanism, and alignment data
- 🔍 **Domain Hierarchy Tracking**: Tracks all attempted DMARC lookups with detailed per-domain results

### Observability & Monitoring
- 📋 **Structured Logging**: JSON-formatted logs with configurable levels
Expand Down Expand Up @@ -227,16 +228,34 @@ The service sends a JSON payload to your webhook with comprehensive email data:
"dmarc": {
"result": "pass",
"policy": "reject",
"subdomain_policy": "reject",
"subdomain_policy": "quarantine",
"percentage": 100,
"spf_alignment": "pass (relaxed)",
"dkim_alignment": "pass (relaxed)"
"spf_aligned": true,
"dkim_aligned": true,
"spf_domain": "example.com",
"dkim_domain": "example.com",
"details": [
{
"domain": "sub.example.com",
"record_found": false,
"error": "dmarc: no policy found for domain"
},
{
"domain": "example.com",
"record_found": true,
"policy_used": "sp"
}
],
"spf_alignment": "relaxed",
"dkim_alignment": "relaxed",
"failure_options": "0",
"report_uris": ["mailto:dmarc@example.com"],
"failure_uris": ["mailto:dmarc-fail@example.com"]
}
}
}
```

---

## 🤝 Contributing

Expand Down
Loading