{"id":3846,"date":"2016-04-29T19:15:16","date_gmt":"2016-04-29T19:15:16","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2016\/04\/29\/how-to-enable-smtp-restrictions\/"},"modified":"2021-07-21T10:16:08","modified_gmt":"2021-07-21T14:16:08","slug":"how-to-enable-smtp-restrictions","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/","title":{"rendered":"How to Enable SMTP Restrictions"},"content":{"rendered":"<p>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.<\/p>\n\n\n\n<p class=\"alert alert-warning\">NOTE: This setting does require that you have root access to WHM in a VPS\/Dedicated server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using SMTP Restrictions<\/h2>\n\n\n<ol class=\"article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\">Login to WHM<\/a> as the \u201croot\u201d user.<\/li>\n<li>In the left-side menu pane, look for and then click on <strong>SMTP Restrictions<\/strong>\n<p><a href=\"\/support\/images\/stories\/smtp-restrictions\/smtp-restrictions-1.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" src=\"\/support\/images\/stories\/smtp-restrictions\/smtp-restrictions-1.jpg\" alt=\"SMTP Restrictions menu\" width=\"200\"><\/a><\/p>\n<\/li>\n<li>Click on <b>Enable<\/b> in order to turn on <b>SMTP Restrictions<\/b>\n<p><a href=\"\/support\/images\/stories\/smtp-restrictions\/smtp-restrictions-2.jpg\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" src=\"\/support\/images\/stories\/smtp-restrictions\/smtp-restrictions-2.jpg\" alt=\"Enable SMTP Restrictions\" width=\"200\"><\/a><\/p>\n<\/li>\n<\/ol>\n\n\n<p><small>For more information on SMTP Restrictions settings in WHM, please see the <a rel=\"noreferrer noopener\" href=\"https:\/\/documentation.cpanel.net\/display\/ALD\/SMTP+Restrictions\" target=\"_blank\">official documentation<\/a>.<\/small><\/p>\n\n\n\n<p>You can also click on <strong>Tweak Settings<\/strong> and use the <strong>Mail<\/strong> section to make further changes to the configuration.<\/p>\n\n\n\n<p>Learn more about cPanel hardening from our <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/vps-hosting\/\">Managed VPS Hosting Product Guide<\/a>.<\/p>\n\n\n<div class=\"jumbotron\"><p style=\"margin-top:0;\"><img decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/custom\/security.svg\" align=\"right\" alt=\"Secure VPS Hosting\" height=\"80\">Enjoy high-performance, lightning-fast servers with increased security and maximum up-time with our <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">Secure VPS Hosting<\/a>!<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Linux VPS    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>cPanel or Control Web Panel    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Scalable    <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Website Migration Assistance<\/p>\r\n<p style=\"margin:10px 0;\"><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\/linux-vps\">Linux VPS Hosting<\/a><\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\"> Read More ><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,4289],"tags":[],"class_list":["post-3846","post","type-post","status-publish","format-standard","hentry","category-email","category-whm"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Enable SMTP Restrictions | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable SMTP Restrictions | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-29T19:15:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-21T14:16:08+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\"},\"headline\":\"How to Enable SMTP Restrictions\",\"datePublished\":\"2016-04-29T19:15:16+00:00\",\"dateModified\":\"2021-07-21T14:16:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\"},\"wordCount\":151,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Email\",\"WebHost Manager (WHM)\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\",\"name\":\"How to Enable SMTP Restrictions | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2016-04-29T19:15:16+00:00\",\"dateModified\":\"2021-07-21T14:16:08+00:00\",\"description\":\"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable SMTP Restrictions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable SMTP Restrictions | InMotion Hosting","description":"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/","og_locale":"en_US","og_type":"article","og_title":"How to Enable SMTP Restrictions | InMotion Hosting","og_description":"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.","og_url":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2016-04-29T19:15:16+00:00","article_modified_time":"2021-07-21T14:16:08+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b"},"headline":"How to Enable SMTP Restrictions","datePublished":"2016-04-29T19:15:16+00:00","dateModified":"2021-07-21T14:16:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/"},"wordCount":151,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Email","WebHost Manager (WHM)"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/","url":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/","name":"How to Enable SMTP Restrictions | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2016-04-29T19:15:16+00:00","dateModified":"2021-07-21T14:16:08+00:00","description":"You can use SMTP restrictions to stop or detect spam scripts. If enabled they allow delivery through MTA, mailman, and root connect with remote SMTP servers.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/email\/how-to-enable-smtp-restrictions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Enable SMTP Restrictions"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/8d626175dd3b70ee90a172bdb09a460b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/arn\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=3846"}],"version-history":[{"count":10,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3846\/revisions"}],"predecessor-version":[{"id":78774,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/3846\/revisions\/78774"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=3846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=3846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=3846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}