Overview
What the HACKER Filter does
The HACKER Filter is a production-ready OpenSMTPD filter that provides:
- IP-based blocking with CIDR subnet support
- Hostname/domain blocking using regex patterns
- HELO/EHLO validation to catch spoofed connections
- Sender address filtering at the envelope level
- Recipient protection for sensitive addresses
- Content filtering for spam words and phrases
- Header inspection for malicious patterns
- Per-user configurations allowing individual filter customization
- Whitelist support at both global and user levels
Tip
The filter integrates seamlessly with existing mail security stacks including rspamd, SpamAssassin, ClamAV, and DKIM/DMARC verification.