{"id":30131,"date":"2021-01-18T03:17:40","date_gmt":"2021-01-17T19:17:40","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=30131"},"modified":"2022-09-08T20:12:59","modified_gmt":"2022-09-08T12:12:59","slug":"how-to-restart-mail-services","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-restart-mail-services","title":{"rendered":"HOW TO: Restart mail services"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"30131\" class=\"elementor elementor-30131\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1f43c34 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f43c34\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-159ffd3\" data-id=\"159ffd3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4674a7c elementor-widget elementor-widget-heading\" data-id=\"4674a7c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">How to restart mail services?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f81ebc4 elementor-widget elementor-widget-heading\" data-id=\"f81ebc4\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Restart with WHM<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d09c7ba elementor-widget elementor-widget-text-editor\" data-id=\"d09c7ba\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<ol><li>Firstly, login to WHM.<br \/><br \/><\/li><li>Then, type &#8220;restart&#8221; in the top left search bar.<br \/><br \/><\/li><li>Click on &#8220;Mail Server (Exim)&#8221; link.<br \/><br \/><\/li><li>Lastly, click Yes to restart.<br \/><br \/><\/li><li>Wait for the restart to complete. Then, follow the same procedure to restart the <strong>IMAP Server (Courier\/Dovecot)<\/strong>\u00a0service.<\/li><\/ol>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f3ab749 elementor-widget elementor-widget-heading\" data-id=\"f3ab749\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Restart through Commands <\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a9fafcc elementor-widget elementor-widget-text-editor\" data-id=\"a9fafcc\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Type in the line below after you are remotely in the server.<br \/><em><strong>\/scripts\/restartsrv service<\/strong>\u00a0\u00a0<\/em><br \/>(replace <em>service<\/em> with the name of the service: exim, named, proftpd, httpd, etc.)<\/p><p>You can also<strong> restart mail services through the system<\/strong>. It depends on the OS you are using as to where the files are located. Many distributions are located in\u00a0<strong>\/etc\/rc.d\/init.d\/<\/strong><br \/>To restart this way you can use:<br \/><strong><em>\/etc\/rc.d\/init.d\/service<\/em><\/strong><br \/>(replace <em>service<\/em> with the name of the service: exim, named, proftpd, httpd, etc)<\/p><p>You can use the following command to <strong>list all the services<\/strong> that can be restarted by the system:<br \/><strong><em>cat \/etc\/rc.d\/init.d\/<\/em><\/strong><\/p><p>If the service fails after restarting, you should check the error log. For example, to<strong> check Apache\u2019s error log<\/strong>, use:<br \/><strong><em>tail \/usr\/local\/apache\/logs\/error_log<\/em><\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b73e526 elementor-widget elementor-widget-text-editor\" data-id=\"b73e526\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Read more on <a href=\"https:\/\/www.casbay.com.my\/guide\/kb\/how-to-login-to-strongbolt-private-email\/\">How to Login to Strongbolt Private Email<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>How to restart mail services? Restart with WHM Firstly, login to WHM. Then, type &#8220;restart&#8221; in the top left search bar. Click on &#8220;Mail Server (Exim)&#8221; link. Lastly, click Yes to restart. Wait for the restart to complete. Then, follow the same procedure to restart the IMAP Server (Courier\/Dovecot)\u00a0service. Restart through Commands Type in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[49],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30131"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=30131"}],"version-history":[{"count":1,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30131\/revisions"}],"predecessor-version":[{"id":36533,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/30131\/revisions\/36533"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=30131"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=30131"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=30131"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=30131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}