InMotion Hosting Support Center

One of the steps you can take to stop spam scripts is to enable SMTP Restrictions in WHM. This particular feature will prevent users from bypassing the mail server to send mail. When enabled it only allows delivery through MTA, mailman, and root connect to remote SMTP servers.

NOTE: This setting does require that you have root access to WHM in a VPS/Dedicated server.

Using SMTP Restrictions

  1. Login to WHM as the "root" user.
  2. SMTP Restrictions menu

    In the left-side menu pane, look for and then click on SMTP Restrictions

  3. Enable SMTP Restrictions

    Click on Enable in order to turn on SMTP Restrictions

  4. For more information on SMTP Restrictions settings in WHM, please see the official documentation.

You can also click on Tweak Settings and use the Mail section to make further changes to the configuration.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!