Disable email sending capability for a spamming account
Hi,
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:
Username exists in /etc/outgoing_mail_suspended_users file Any suggestion how to completely disable email service for the domain? Thanks in advance.
----
2016-11-22 05:57:34 1c945G-00065Y-PA <= jackson_thomas@domain.com U=cpusername P=local S=1693 id=84dca1845fee6de89f890e3b443391e5@www.domain.com T="Is your resume available?" for someusr@yahoo.com
2016-11-22 05:57:34 cwd=/home2/cpusername/public_html/components/com_contact/models/forms 4 args: /usr/sbin/sendmail -t -i -fthomas_valenzuela@domain.com
----
Username exists in /etc/outgoing_mail_suspended_users file Any suggestion how to completely disable email service for the domain? Thanks in advance.
-
Hi, -11-22 05:57:34 cwd=/home2/cpusername/public_html/components/com_contact/models/forms
The spam mail sending from above path using mail script. You have to disabled php mail function for the account by creating custom php.ini file0 -
Thanks for the suggestion, yeah this is an alternative way, however it is also interesting why above cPAnel API command doesn't do its job. Any thoughts from cPanel staff please? Cheers. 0 -
Hello, Could you let us know which PHP handler is configured on the system? Is "Prevent "nobody" from sending mail" enabled in "WHM >> Tweak Settings"? Thank you. 0 -
Hello euro-space, Is there a reason for keeping this account active? If you know it definitely is spam, why not delete the account before it gets your server IPs blacklisted? You owe nothing to an account holder who is proven to be, and repeatedly, negatively affecting others. Just my opinion. 0
Please sign in to leave a comment.
Comments
4 comments