RBL Integration
Block known spam sources using real-time blackhole lists.
What is RBL?
Real-time Blackhole Lists (RBLs) are databases of IP addresses known to send spam. SecZim queries these lists for each incoming email and blocks those from listed IPs.
Recommended RBL Providers
| RBL Server | Description |
|---|---|
| zen.spamhaus.org | Combined SBL, XBL, PBL - most comprehensive |
| b.barracudacentral.org | Barracuda reputation database |
| bl.spamcop.net | SpamCop user-reported spam sources |
| dnsbl.sorbs.net | SORBS combined list |
Recommendation
Start with Spamhaus ZEN and Barracuda. These provide excellent coverage with minimal false positives.
Enable RBL Checking
- Go to Settings → RBL
- Toggle "Enable RBL Checking"
- Add RBL servers to use
- Save settings
Configuration Options
- Action: REJECT or DEFER when IP is listed
- Threshold: How many lists must match (1 = any, 2+ = more strict)
- Timeout: Max time to wait for RBL response (default: 2 seconds)
- Skip Authenticated: Don't check RBL for authenticated senders
Adding Custom RBL
To add a custom RBL server:
- Go to Settings → RBL → Add RBL
- Enter the RBL hostname (e.g., zen.spamhaus.org)
- Choose weight (how much this RBL counts toward threshold)
- Enable and save
View RBL Hits
See which emails were blocked by RBL in Logs → Session Tracking. Filter by "RBL" to see only RBL blocks.
Whitelist from RBL
If a legitimate sender is incorrectly listed on an RBL:
- Add their IP or domain to your ACL whitelist
- Whitelisted entries bypass RBL checks
Spamhaus Note
Spamhaus requires registration for high-volume use. If you send many queries, sign up at spamhaus.org for a data feed.
Testing RBL
Test if an IP is listed:
# Test IP against Spamhaus
dig +short 2.0.0.127.zen.spamhaus.org
# If listed, returns 127.0.0.x
# If not listed, returns empty
Troubleshooting
Too Many False Positives
- Increase the threshold (require multiple lists)
- Remove aggressive RBL providers
- Whitelist frequently blocked legitimate senders
RBL Queries Slow
- Reduce the number of RBL providers
- Decrease the timeout setting
- Consider using a local DNS cache