Your WordPress hosting sending spam emails to thousands of people is a serious sign of compromise. Hackers install PHP mail scripts (often in the /uploads/ directory as hidden .php files) that use your server to send phishing or spam at massive scale.
Most common causes we diagnose:
Systematic, fast, and safe process:
Check /uploads/ and /wp-content/ for .php files (images directory should not contain PHP). Use: find /wp-content/uploads -name "*.php" to locate suspicious files.
Check /var/log/mail.log or Exim logs to identify which script is sending mail, volume, and recipient addresses.
Delete all malicious scripts, restrict PHP execution in /uploads/ (add php_flag engine off to .htaccess in uploads), change all credentials, and configure SMTP rate limits.
Our WordPress expert responds in minutes.
Yes — we clean the malware, document the removal for your hosting provider, and help you submit a reactivation request with evidence of cleanup.
Restrict PHP execution in uploads directory, use SMTP authentication for legitimate emails, implement SPF/DKIM/DMARC DNS records, and monitor email sending rates.
Attackers install a 'mailer' script (often disguised as a legitimate file) that uses your server's SMTP/mail() function to send spam at scale. Your hosting account is the sender — neither you nor your normal users see this happening.
Common signs: hosting provider sends abuse notifications, your mail-from IP appears on RBL blacklists, your real customer emails go to spam, complaints from people receiving spam from your domain, server CPU spikes during 'mailer' bursts.
Major: your IP gets blacklisted (Spamhaus, Barracuda, SORBS), legitimate email delivery breaks, hosting suspends your account for ToS violation, search engines may flag the site, customer trust evaporates.
Often yes. The mailer script reads your wp_users, wp_postmeta, and any subscriber lists, then sends spam TO your customers FROM your domain — making them targets and damaging your relationship simultaneously.
Because the attacker sends them through your server. Logs show the sender as your domain, the script that called mail() (often in wp-content/uploads where attackers can write), and the destination addresses.
Yes, but it also breaks your contact forms, password resets, and WooCommerce order emails. We use a more targeted approach: identify and remove the malicious mailer scripts while keeping legitimate mail working.
Each blacklist has its own removal process. We submit delisting requests to Spamhaus, Barracuda, SORBS, etc. Spamhaus typically removes within 24 hours after confirming source is clean. Some blacklists take 7-30 days.
Yes — and we recommend it during recovery. Switching to SendGrid, Amazon SES, Mailgun, or Postmark uses their clean IPs to deliver email while your server's IP cools down on blacklists.
Yes, transparently. A short notification 'Our security was compromised — you may have received unwanted email from our domain' restores trust faster than silence. We can help draft this notification.
Gmail caches reputation for 24-72 hours. Even after IP delisting, Gmail may temporarily reject your domain. We configure SPF, DKIM, and DMARC properly to rebuild reputation as fast as possible.
Yes — there's likely a backdoor that re-uploads it within hours. We don't just delete the mailer; we find and remove the backdoor (a hidden file_uploader.php or compromised plugin) that put it there.
No. Cloudflare protects inbound web traffic; it doesn't see or filter outbound SMTP. We need to address spam at the server level (firewall outbound port 25 except for legitimate mail server) plus removal of the mailer script.
We set up: PHP function call monitoring (alerts when unusual scripts call mail()), file change detection in writable folders (wp-content/uploads), outbound mail rate limiting at the server level, and SMTP relay through monitored services.
WordPress site hacked? We clean it, close the backdoor, and secure it — same day.
Response in minutes. No data loss. No diagnosis charge.
wpfix.blimx.com