Before Requesting Removal
Blacklists require you to fix the underlying problem first:
# 1. Scan for malware
sudo clamscan -r --bell -i /
# 2. Check for open relay
telnet YOUR_IP 25
EHLO test.com
MAIL FROM: test@test.com
RCPT TO: someuser@example.com
QUIT
# 3. Check for spam scripts
grep -r "eval(" /var/www
grep -r "base64_decode" /var/www
Spamhaus Removal
- Go to https://www.spamhaus.org/lookup/
- Enter your IP
- Click "Lookup"
- If listed on SBL, CSS, or XBL, click "Remove"
- Provide justification (e.g., "Secured server, no more spam")
- Wait 24-48 hours
Barracuda Removal
- Visit https://barracudacentral.org/lookups
- Enter IP and submit
- Click "Request Removal"
- Confirm you've fixed issues
SpamCop Removal
- SpamCop listings expire automatically after 24-48 hours
- Or visit https://www.spamcop.net/bl.shtml
- Enter IP to check status
Other Major RBLs
SURBL: Listed due to domain, not IP. Remove domain from emails.
UCEPROTECT: Check at https://www.uceprotect.net. Removal may require payment for Level 2/3.
DNSWL: Whitelist request at https://www.dnswl.org.
After Removal
# Monitor delisting
watch -n 3600 "dig +short YOUR_IP.zen.spamhaus.org"
Prevent recurrence:
# Set up monitoring
sudo apt install rkhunter clamav fail2ban -y
# Configure daily scans
echo "0 2 * * * root clamscan -r --quiet /" >> /etc/crontab
💡 If repeatedly blacklisted, consider using a transactional email service (SendGrid, Mailgun) instead of sending directly from VPS.