How to stop outgoing spam
How to stop outgoing spam
IN PROGRESS
Here are the official cPanel articles on how to help combat this:
> https://docs.cpanel.net/knowledge-base/email/how-to-prevent-email-abuse/ > https://docs.cpanel.net/knowledge-base/email/how-to-prevent-spam-with-mail-limiting-features/ > https://docs.cpanel.net/knowledge-base/email/how-to-set-email-send-limits/
From: https://docs.cpanel.net/knowledge-base/email/
Some extra tips:
(1) For accounts using a shared IP, use an IP other than the server main IP.
(2) Do not use the server main IP as a shared IP (same as 1 above said differently)
(3) Configure SMTP to send using customer IP
(4) Use multiple shared IP (fewer customers per shared IP)
(5) Tell customers to use SMTP in scripts instead of PHP mail function, etc.
(6) Limit the number of emails customers can send per hour
(7) Require customers who want a high per hour limit to have a dedicated IP
(8) Monitor for abuse. Our in-house monitoring script alerts us of "exceeded the max emails per hour" messages in the logs. I believe it is the exim_mainlog.
Here is a document with log locations:
> https://docs.cpanel.net/knowledge-base/cpanel-product/the-cpanel-log-files/
If you have been blacklisted, I would use the Mail Queue Manager in WHM to identify the spammer.