Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previa |
es:howtos:network_services:install_openwebmail [2019/02/14 17:14 (UTC)] – slackwarespanol | es:howtos:network_services:install_openwebmail [2019/02/14 18:12 (UTC)] (actual) – slackwarespanol |
---|
<note warning>En proceso. Victor</note> | ====== Instalar OpenWebMail en Slackware64 14.0 ====== |
====== Installing OpenWebMail in Slackware64 14.0 ====== | |
| |
This article explains how to install OpenWebmail and configure it so that you can access your mailbox using a web interface from any place with internet access and a webbrowser available.\\ | Este artículo explica cómo instalar OpenWebmail y configurarlo para que pueda acceder a su buzón utilizando una interfaz web desde cualquier lugar con acceso a Internet y un navegador web disponible. \\ |
These instructions were tested on Slackware64 14.0 64-bit OS and the latest openwebmail-current.tar.gz (actually version 2.53)\\ | Estas instrucciones se probaron en el sistema operativo Slackware64 14.0 de 64 bits y en la última versión de openwebmail-current.tar.gz (en realidad, la versión 2.53) \\ |
It means, you are configured and running Apache web server and Sendmail mailserver. | Esto significa que usted está configurado y ejecutando el servidor web Apache y el servidor de correo Sendmail. |
| |
| ====== Instalar bibliotecas y paquetes necesarios ====== |
| |
====== Install libraries and required packages ====== | Utilizando CPAN a través de CPAN.pm:<code> |
| |
Using CPAN via CPAN.pm: <code> | |
perl -MCPAN -e shell [as root] | perl -MCPAN -e shell [as root] |
o conf prerequisites_policy ask | o conf prerequisites_policy ask |
</code> | </code> |
then: | entonces: |
<code> | <code> |
install CGI | install CGI |
</code> | </code> |
| |
====== Install OpenWebMail ====== | ====== Instalar OpenWebMail ====== |
| |
- First, download latest openwebmail: [[http://openwebmail.org/openwebmail/download/current/|openwebmail-current.tar.gz]] | - Primero, descargue la última versión de openwebmail: [[http://openwebmail.org/openwebmail/download/current/|openwebmail-current.tar.gz]] |
- Create a directory wherever you want it, say "''/ADISKS/openwebm_inst''" and move the downloaded file "''openwebmail-current.tar.gz''" into that directory. | - Cree un directorio donde lo desee, que diga "'' / ADISKS / openwebm_inst ''" y mueva el archivo descargado "'' openwebmail-current.tar.gz ''" a ese directorio. |
- Extract all files using the command <code bash> | - Extraer todos los archivos usando el comando.<code bash> |
tar -zxvBpf openwebmail-current.tar.gz | tar -zxvBpf openwebmail-current.tar.gz |
</code> **Use "tar" with "-zxvBpf" option, due to strange file permissions inside that archive. I tried to untar it via midnight comander built-in archive tools, ans the //wrapsuid// script would not work because of this... ** | </code> **Use la opción "tar" con "-zxvBpf", debido a los permisos de archivos extraños dentro de ese archivo. Traté de descomprimirlo a través de las herramientas de archivo integradas midnight comander, y el script // wrapsuid // no funcionaría debido a esto ... ** |
- Move the extracted directory "''cgi-bin/openwebmail''" to "''/var/www/cgi-bin/openwebmail''" | - Mueva el directorio extraído "'' cgi-bin/openwebmail ''" a "'' /var/www/cgi-bin/openwebmail ''" |
- Move the extracted directory "''data/openwebmail''" to your webserver's //DocumentRoot// (in a default Apache configuration, that will be "''/var/www/openwebmail''") | - Mueva el directorio extraído "'' data/openwebmail ''" a // DocumentRoot // de su servidor web (en una configuración de Apache predeterminada, que será "'' /var/www/openwebmail ''") |
- Change directory to "''/var/www/openwebmail''", delete the file ''index.html'' and run the command <code bash> | - Cambie el directorio a "'' /var/www/openwebmail ''", elimine el archivo '' index.html '' y ejecute el comando <code bash> |
ln -s redirect.html index.html | ln -s redirect.html index.html |
</code> | </code> |
- Change directory to "''/var/www/cgi-bin/openwebmail''" and run the command <code> | - Cambie el directorio a "'' /var/www/cgi-bin/openwebmail ''" y ejecute el comando <code> |
perl misc/tools/wrapsuid/wrapsuid.pl /var/www/cgi-bin/openwebmail | perl misc/tools/wrapsuid/wrapsuid.pl /var/www/cgi-bin/openwebmail |
</code> You should see the following output: <code> | </code> Deberías ver el siguiente resultado: <code> |
Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-folder.pl | Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-folder.pl |
Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-main.pl | Fixing /tmp/openwebmail/cgi-bin/openwebmail/openwebmail-main.pl |
logfile /var/log/openwebmail.log | logfile /var/log/openwebmail.log |
</code> | </code> |
- Change directory to "''/var/www/cgi-bin/openwebmail/etc/defaults''", edit ''auth_unix conf'' to become<code> | - Cambie el directorio a "'' /var/www/cgi-bin/openwebmail/etc/defaults ''", edite '' auth_unix conf '' para que se convierta en<code> |
passwdfile_plaintext /etc/passwd | passwdfile_plaintext /etc/passwd |
passwdfile_encrypted /etc/shadow | passwdfile_encrypted /etc/shadow |
passwdmkdb none | passwdmkdb none |
</code> | </code> |
- In directory "''/var/www/cgi-bin/openwebmail/etc/defaults''", edit ''db.conf'' as follows: <code> | - En el directorio "'' /var/www/cgi-bin/openwebmail/etc/defaults ''", edite '' db.conf '' de la siguiente manera: <code> |
dbm_ext .db | dbm_ext .db |
dbmopen_ext .db | dbmopen_ext .db |
dbmopen_haslock no</code> | dbmopen_haslock no</code> |
- Then, change directory to "''/var/www/cgi-bin/openwebmail''" and run <code bash> | - Luego, cambie el directorio a "'' /var/www/cgi-bin/openwebmail ''" y ejecute <code bash> |
./openwebmail-tool.pl --init | ./openwebmail-tool.pl --init |
</code> | </code> |
- After that, go to "''/var/www/cgi-bin/openwebmail''", check that there are files starting with a dot (like "''.openwebmail.pl''") and old-style filenames (like "''openwebmail.pl)''". Set the //suid// bit for these scripts: <code bash> | - Después de eso, vaya a "'' /var/www/cgi-bin/openwebmail ''", verifique que haya archivos que empiecen con un punto (como "'' .openwebmail.pl ''") y nombres de archivos de estilo antiguo ( como "'' openwebmail.pl) ''". Establezca el // suid // bit para estos scripts:<code bash> |
chmod u+s openwebmail*.pl | chmod u+s openwebmail*.pl |
chmod u+s .openwebmail*.pl | chmod u+s .openwebmail*.pl |
| |
| |
====== Apache additional configuration ====== | ====== Configuración adicional de Apache ====== |
| |
* Add a AddHandler cgi-script .cgi .pl option in ''/etc/httpd/httpd.conf'' in section "Directory /srv/httpd/" httpd.conf like be: <code> | * Agregue una opción AddHandler cgi-script .cgi .pl en '' /etc/httpd/httpd.conf '' en la sección "Directory /srv/httpd /" httpd.conf como ser: <code> |
| |
ServerRoot "/usr" | ServerRoot "/usr" |
* [[http://svn.apache.org/repos/asf/spamassassin/branches/3.3/INSTALL]] | * [[http://svn.apache.org/repos/asf/spamassassin/branches/3.3/INSTALL]] |
| |
====== Sources ====== | ====== Fuentes ====== |
| |
<!-- If you are copying information from another source, then specify that source --> | <!-- If you are copying information from another source, then specify that source --> |
* With help of user phenixia2003 from LinuxQuestions.org Forums | * With help of user phenixia2003 from LinuxQuestions.org Forums |
* Thanks for editing [[wiki:user:alienbob|Eric Hameleers]] | * Thanks for editing [[wiki:user:alienbob|Eric Hameleers]] |
* Originally written by [[wiki:user:wisedraco|John Ciemgals]] | * Escrito originalmente por [[wiki:user:wisedraco|John Ciemgals]] |
| * Traducido por: [[wiki:user: slackwarespanol | Victor]] 2019/02/14 18:10 (UTC) |
| |
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> |
{{tag>howtos author_wisedraco}} | {{tag>howtos author_wisedraco}} |