📨 Adding Blacklist / Whitelist to SME Server
+-----------------------------------------------------+
| Configuring Email Blacklist & Whitelist |
+-----------------------------------------------------+
Overview
SME Server uses qpsmtpd with RHSBL/DNSBL support to filter email. This guide shows how to safely add whitelist and blacklist entries. Do not change the SBLList.
⚙️ Whitelist Setup
1. Show current configuration
config show qpsmtpd
2. Add domain to whitelist
config setprop qpsmtpd RHSBLList whitelist.rhs.example.com
3. Expand templates and restart services
signal-event email-update
svc -t /service/qpsmtpd
4. Verify whitelist
config show qpsmtpd | grep RHSBLList
You should see the newly added domain.
⚙️ Blacklist Setup
1. Add domain to blacklist
config setprop qpsmtpd RHSBLList blackhole.rhs.example.com
2. Expand templates and restart services
signal-event email-update
svc -t /service/qpsmtpd
3. Verify blacklist
config show qpsmtpd | grep RHSBLList
The blacklisted domain should appear in the list.
📝 Notes & Tips
- Whitelist allows specified domains to bypass blacklists.
- Blacklist blocks mail from certain domains.
- Use
signal-event email-updateto apply changes. - Always verify configs after making changes.
- For finer control, consider using the SpamAssassin DB for custom rules.
- Retro-style ASCII headers are optional but keep the page familiar for long-time JACSoft users.