{"id":379,"date":"2017-08-10T01:31:35","date_gmt":"2017-08-10T01:31:35","guid":{"rendered":"http:\/\/localhost\/miblog\/?page_id=379"},"modified":"2017-08-10T02:36:09","modified_gmt":"2017-08-10T02:36:09","slug":"servidor-de-mail","status":"publish","type":"page","link":"https:\/\/tunjasoporte.890m.com\/index.php\/servidor-de-mail\/","title":{"rendered":"Servidor de Mail"},"content":{"rendered":"<h1>C\u00f3mo configurar un servidor de correo en ubuntu 14.0?<\/h1>\n<h2>Instalar Servidor Postfix<\/h2>\n<pre>sudo apt-get install postfix<\/pre>\n<p>Durante la instalaci\u00f3n seleccionamos aceptar \u00a0y luego sitio en Internet<\/p>\n<p>Luego ingresamos el nombre de nuestro dominio. ej. tunjasoporte.no-ip.info<\/p>\n<p>Despu\u00e9s se edita el archivo de configuraci\u00f3n \/etc\/postfix\/main.cf<\/p>\n<pre>sudo nano\u00a0\/etc\/postfix\/main.cf<\/pre>\n<p>Al final del archivo ingresamos las siguientes lineas:<\/p>\n<pre>inet_protocols = ipv4\r\nhome_mailbox = Maildir\/<\/pre>\n<p>y tambien se edita la siguiente linea del archivo:<\/p>\n<pre>mydestination = tunjasoporte.no-ip.info<\/pre>\n<p>Grabamos con ctrl + o y salimos con ctrl + w<\/p>\n<p>Finalmente se reinicia el servidor de correo<\/p>\n<pre>sudo \/etc\/init.d\/postfix restart<\/pre>\n<h2>Instalar COURIER POP y \u00a0COURIER IMAP<\/h2>\n<p>Instalamos courier pop<\/p>\n<pre>sudo apt-get install courier-pop<\/pre>\n<p>durante la instalacion de le indica la opcion de <strong>NO<\/strong><\/p>\n<p>Luego instalamos el courier imap<\/p>\n<pre>sudo apt-get install courier-imap<\/pre>\n<h2>Instalar\u00a0SQUIRRELMAIL<\/h2>\n<p>SQUIRRELMAIL es un entorno gr\u00e1fico dise\u00f1ado en php para administrar las cuentas de correo. Para que funcione es necesario que tengamos instalado el apache. (ver el tutorial de configurar hosting)<\/p>\n<pre>sudo apt-get install squirrelmail<\/pre>\n<p>para su configuraci\u00f3n ingresamos el siguiente comando:<\/p>\n<pre>\u00a0squirrelmail-configure<\/pre>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-382 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_001-1.png\" alt=\"Selecci\u00f3n_001\" width=\"444\" height=\"331\" \/><\/p>\n<p>seleccionamos la opcion D<\/p>\n<p>luego ingresamos courier y enter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-383 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_002.png\" alt=\"Selecci\u00f3n_002\" width=\"439\" height=\"340\" \/><\/p>\n<p>luego 2 y enter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-384 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_003.png\" alt=\"Selecci\u00f3n_003\" width=\"430\" height=\"324\" \/><\/p>\n<p>luego 1 y enter, e ingresamos el nombre de nuestro dominio y enter<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-385 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_004.png\" alt=\"Selecci\u00f3n_004\" width=\"451\" height=\"337\" \/><\/p>\n<p>salimos con q y guardamos los cambios.<\/p>\n<p>Lo siguiente es configurar para poder visualizar a trav\u00e9s de apache. nos ubicamos en la carpeta ra\u00edz de apache.<\/p>\n<pre>cd \/var\/www\r\nsudo ln -s \/usr\/share\/squirrelmail webmail<\/pre>\n<p>con ello ya podremos visualizar desde el navegador.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-386 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_005.png\" alt=\"Selecci\u00f3n_005\" width=\"763\" height=\"212\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>en caso que no funcione, siempre podremos reiniciar nuestro servidor de apache<\/p>\n<p>sudo \/etc\/init.d\/apache2 restart<\/p>\n<h2>Creaci\u00f3n de usuarios del correo<\/h2>\n<p>vamos a crear la cuenta admin@tunjasoporte.no-ip.info<\/p>\n<pre>sudo adduser admin<\/pre>\n<p>lo m\u00e1s importante es no olvidar el password, lo dem\u00e1s es ingresar la informaci\u00f3n que nos solicitan.<\/p>\n<p>luego podremos ingresar como el usuario recien creado<\/p>\n<pre>su admin<\/pre>\n<p>la idea es poder crear en la carpeta home\/admin el siguiente directorio<\/p>\n<pre>maildirmake Maildir<\/pre>\n<p>Finalmente nos podremos enviar un correa a nosotros mismos<\/p>\n<pre>mail admin@tunjasoporte.no-ip.info<\/pre>\n<p>ingresamos la informaci\u00f3n de correo solicitada y siempre podremos terminar el envi\u00f3 con un punto aparte (.) + enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-387 aligncenter\" src=\"http:\/\/localhost\/miblog\/wp-content\/uploads\/2017\/08\/Selecci\u00f3n_006.png\" alt=\"Selecci\u00f3n_006\" width=\"468\" height=\"85\" \/><\/p>\n<p>podremos consultar los correos mediante consola en el directorio \/var\/mail<\/p>\n<pre>nano admin<\/pre>\n<p>si ingresamos desde l interfaz gr\u00e1fica ya deber\u00eda funcionar.<\/p>\n<p>&nbsp;<\/p>\n<p>Fuente:\u00a0<a href=\"https:\/\/sistemasperativosderedandres.files.wordpress.com\/2012\/07\/servidor-de-correo-en-ubuntu.pdf\" target=\"_blank\">https:\/\/sistemasperativosderedandres.files.wordpress.com\/2012\/07\/servidor-de-correo-en-ubuntu.pdf<\/a><\/p>\n<p>Fuente errores:\u00a0<a href=\"http:\/\/www.ajpdsoft.com\/modules.php?name=Foros&amp;file=viewtopic&amp;t=1205\" target=\"_blank\">http:\/\/www.ajpdsoft.com\/modules.php?name=Foros&amp;file=viewtopic&amp;t=1205<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>En mi caso no fue posible visualizar las correos en la bandeja de entrada, por tal raz\u00f3n fue necesario instala el servicios dovecot<\/p>\n<pre>apt-get update<\/pre>\n<pre>apt-get install dovecot-common<\/pre>\n<pre>apt-get install dovecot-imapd dovecot-pop3d<\/pre>\n<pre>apt-get install dovecot-core dovecot-imapd dovecot-lmtpd<\/pre>\n<pre>service postfix restart<\/pre>\n<pre>service dovecot restart<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u00f3mo configurar un servidor de correo en ubuntu 14.0? Instalar Servidor Postfix sudo apt-get install postfix Durante la instalaci\u00f3n seleccionamos aceptar \u00a0y luego sitio en Internet Luego ingresamos el nombre de nuestro dominio. ej. tunjasoporte.no-ip.info Despu\u00e9s se edita el archivo de configuraci\u00f3n \/etc\/postfix\/main.cf sudo nano\u00a0\/etc\/postfix\/main.cf Al final del archivo ingresamos las siguientes lineas: inet_protocols = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-379","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/pages\/379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/comments?post=379"}],"version-history":[{"count":4,"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/pages\/379\/revisions"}],"predecessor-version":[{"id":392,"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/pages\/379\/revisions\/392"}],"wp:attachment":[{"href":"https:\/\/tunjasoporte.890m.com\/index.php\/wp-json\/wp\/v2\/media?parent=379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}