{"id":8432,"date":"2019-05-21T08:55:43","date_gmt":"2019-05-21T06:55:43","guid":{"rendered":"https:\/\/blog.unelink.es\/?p=8432"},"modified":"2019-11-22T11:31:06","modified_gmt":"2019-11-22T10:31:06","slug":"reiniciar-el-servicio-de-correo-desde-ssh","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/reiniciar-el-servicio-de-correo-desde-ssh\/","title":{"rendered":"Reiniciar el servicio de correo desde SSH"},"content":{"rendered":"\n<p>Si tienes un <a rel=\"noreferrer noopener\" aria-label=\"servidor virtual (abre en una nueva pesta\u00f1a)\" href=\"https:\/\/www.unelink.es\/servidores-virtuales-33.html\" target=\"_blank\">servidor virtual<\/a> o <a rel=\"noreferrer noopener\" aria-label=\"dedicado (abre en una nueva pesta\u00f1a)\" href=\"https:\/\/www.unelink.es\/servidores-dedicados-32.html\" target=\"_blank\">dedicado<\/a> y quieres <strong>reiniciar el servicio de mail<\/strong> sin acceder al panel de control que tengas instalado, puedes hacerlo f\u00e1cilmente <strong>desde una conexi\u00f3n por SSH<\/strong>.<\/p>\n\n\n\n<p>Lo primero que tienes que hacer es <strong>acceder por terminal<\/strong> con el usuario root.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-4.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"198\" src=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-4.jpg\" alt=\"Acceso SSH\" class=\"wp-image-8433\" srcset=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-4.jpg 677w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-4-300x88.jpg 300w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-4-600x175.jpg 600w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><figcaption>Acceso SSH<\/figcaption><\/figure><\/div>\n\n\n\n<p>Introduce el <strong>siguiente comando<\/strong> y pulsa intro.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/init.d\/exim restart<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-mail.png\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"198\" src=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-mail.png\" alt=\"Reiniciar correo\" class=\"wp-image-8434\" srcset=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-mail.png 677w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-mail-300x88.png 300w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-mail-600x175.png 600w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><figcaption>Reiniciar correo<\/figcaption><\/figure><\/div>\n\n\n\n<p>Ten en cuenta que <strong>dependiendo de la versi\u00f3n de Linux y del panel de control que tengas instalado el servicio de correo puede ser distinto<\/strong>. En nuestro ejemplo hemos utilizado \"exim\", que es el servicio de mail que suele venir instalado en un servidor con cPanel.<\/p>\n\n\n\n<p>De esta forma tan sencilla puedes reiniciar el servicio de mail de tu servidor.<\/p>\n","protected":false},"excerpt":{"rendered":"Si tienes un servidor virtual o dedicado y quieres reiniciar el servicio de mail sin acceder al panel de control que tengas instalado, puedes hacerlo f\u00e1cilmente desde una conexi\u00f3n por SSH. Lo primero que tienes que hacer es acceder por terminal con el usuario root. Introduce el siguiente comando y pulsa intro. \/etc\/init.d\/exim restart Ten en cuenta que dependiendo de&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/reiniciar-el-servicio-de-correo-desde-ssh\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":8434,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[268,517,121,10,452,7,8,349,507,515,6],"tags":[216,340,353,339,213,214,169],"class_list":["post-8432","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-correo-electronico","category-correo-electronico-servidores-virtuales-vps","category-panel-cpanel","category-linux","category-servicios","category-servidores-dedicados","category-servidores-virtuales-vps","category-ssh","category-ssh-servidores-dedicados","category-ssh-servidores-virtuales-vps","category-wiki","tag-linux","tag-reiniciar-correo","tag-reiniciar-exim","tag-reiniciar-mail","tag-servidores-dedicados","tag-servidores-virtuales-vps","tag-ssh","cat-268-id","cat-517-id","cat-121-id","cat-10-id","cat-452-id","cat-7-id","cat-8-id","cat-349-id","cat-507-id","cat-515-id","cat-6-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=8432"}],"version-history":[{"count":1,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8432\/revisions"}],"predecessor-version":[{"id":8435,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8432\/revisions\/8435"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media\/8434"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=8432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=8432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=8432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}