Executed SSH command:
whmapi1 suspend_outgoing_email user=cpusername
To disable sending emails for a cPanel account, which is sending out spam, but seems it doesn't work, as there's a lot of spam emails in the queue from that account.
Sample log line:
Please share your methods, what are the best and easiest way to disable world access to the spamming website hosted on a shared server, and allow only certain IP's of the website owner to investigate and fix the issue.
Website is based on Joomla and adding "Require all denied" in .htaccess...
Along with few others running under OpenVZ, I have three VPS accounts (4GB RAM, 4 Burst RAM, 4 CPU's), which are used for sending large amounts of emails to the subscribed clients periodically, so when the mail-lists are being submitted, host server load averages raise up to 20 - 35...
You may consider running following as well:
If spamming from outside domain then you can block that domain or email id on the server
if $header_from: contains “[email protected]”
Shows number of frozen emails
This is my settings on the one of 32GB RAM, 2xSAS 15k HDD and 8 CPU cores server, hosting over 200 domains:
max_allowed_packet = 32M
max_connections = 1024
innodb_use_sys_malloc = 0
Enabling large page support in memory, significantly helped me with the mysql optimization and dropped CPU usage from ~30% to ~10%-15%.
You can read all memory related stuff at - MySQL :: MySQL 5.0 Reference Manual :: 14.4 The MEMORY (HEAP) Storage Engine and understand how it works here -...