[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
Próxima revisiónAmbos lados, revisión siguiente
es:howtos:network_services:dovecot_with_sieve [2019/02/11 12:10 (UTC)] – creado slackwarespanoles:howtos:network_services:dovecot_with_sieve [2019/02/14 15:24 (UTC)] – [Sources] slackwarespanol
Línea 1: Línea 1:
 +<note warning>En proceso de traducción. Victor</note>
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
-====== Adding Sieve and ManageSieve support to dovecot ======+====== Adición de la compatibilidad con Sieve ManageSieve dovecot ======
  
-===== Installing the Software =====+===== Instalación del software =====
  
-Assuming you have set up Dovecot and Postfix as per [[howtos:network_services:postfix_dovecot_mysql|Creating a Virtual Mail Server with Postfix, Dovecot and MySQL]] you may want some server-side filtering, and vacation response capabilities. This can be done using the sieve filter languageand edited by your virtual mail users using managesieve.+Suponiendo que haya configurado Dovecot Postfix según [[:es:howtos:network_services:postfix_dovecot_mysql | Creación de un servidor de correo virtual con Postfix, Dovecot MySQL]] es posible que desee un filtrado del lado del servidor y capacidades de respuesta de vacaciones(and vacation response capabilities)Esto se puede hacer usando el idioma del filtro de tamizy sus usuarios de correo virtual pueden editarlo utilizando administrar.
  
-There is a slackbuild for dovecot that provides the sieve and managesieve functionality called [[http://slackbuilds.org/repository/14.1/network/dovecot-pigeonhole/?search=pigeonhole|pigeonhole]]+Hay un slackbuild para dovecot que proporciona la funcionalidad de tamiz y administración llamada [[http://slackbuilds.org/repository/14.1/network/dovecot-pigeonhole/?search=pigeonhole|pigeonhole]].
-<note important>You must use the version of pigeonhole designed for the version of dovecot you are using as the abi changes from version to version.</note> +
-Once you have installed pigeonhole using the slackbuild, for example, using [[https://github.com/sbopkg/sbopkg/releases/download/0.37.0/sbopkg-0.37.0-noarch-1_cng.tgz|sbopkg]] you can then configure it.+
  
-===== Configuring Pigeonhole =====+<note important>Debes usar la versión de casillero diseñada para la versión de dovecot que estás usando a medida que el abi cambia de versión a versión.</note> 
 +Una vez que haya instalado un casillero usando slackbuild, por ejemplo, usando [[https://github.com/sbopkg/sbopkg/releases/download/0.37.0/sbopkg-0.37.0-noarch-1_cng.tgz|sbopkg]] A continuación, puede configurarlo.
  
-We will use a basic configurationwhich can be expanded later if needed. +===== Configurando el casillero ===== 
-copy the following files from /usr/doc/dovecot-2.your.version/example-config/conf.d/ to /etc/dovecot/conf.d+ 
 +Usaremos una configuración básicaque puede ampliarse más adelante si es necesarioCopie los archivos siguientes de /usr/doc/dovecot-2.your.version/example-config/conf.d/ /etc/dovecot/conf.d
  
 20-managesieve.conf 20-managesieve.conf
Línea 20: Línea 21:
  
 20-lmtp.conf 20-lmtp.conf
 +Edite /etc/dovecot/conf.d/20-managesieve.conf y elimine el comentario de la línea de protocolos, la línea de inicio de sesión del administrador de servicios, las líneas de puerto y de inet_listener y las dos líneas de llaves cerradas.
 +Esto te dejará con las siguientes líneas sin comentarios en el archivo.
  
- 
-Edit /etc/dovecot/conf.d/20-managesieve.conf and uncomment the protocols line, service managesieve-login line, the inet_listener and port lines, and the two close braces lines. 
-this will leave you with the following uncommented lines in the file 
 <code>protocols = $protocols sieve <code>protocols = $protocols sieve
 service managesieve-login { service managesieve-login {
Línea 32: Línea 32:
 protocol sieve { protocol sieve {
 }</code> }</code>
-that is managesieve enablednow to configure sieve itself.+eso es gestionado habilitadoAhora para configurar el propio sieve.
  
-Edit /etc/dovecot/conf.d/90-sieve.conf +Edite /etc/dovecot/conf.d/90-sieve.conf 
-in the plugin section make the sieve line read+en la sección de complementos haz que la línea de sieve lea
 <code>sieve=file:/var/vmail/vhosts/%d/%n/sieve/scripts;active=/var/vmail/vhosts/%d/%n/sieve/.dovecot.sieve</code> <code>sieve=file:/var/vmail/vhosts/%d/%n/sieve/scripts;active=/var/vmail/vhosts/%d/%n/sieve/.dovecot.sieve</code>
-this specifies where the user sieve scripts will be stored. (We do not use the default location of the virtual users email folder, as it is not recommended [[http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Configuration|see]], as it shows up as a directory in email clients.) 
  
-we also might as well configure an error log file for each user'scripts, so after that lineadd a new line+esto especifica dónde se almacenarán los scripts de sieve de usuario. (No utilizamos la ubicación predeterminada de la carpeta de correo electrónico de los usuarios virtualesya que no se recomienda [[http://wiki2.dovecot.org/Pigeonhole/ManageSieve/Configuration|see]]ya que aparece como un directorio en clientes de correo electrónico.) 
 + 
 +También podríamos configurar un archivo de registro de errores para los scripts de cada usuario, así que después de esa línea, agregue una nueva línea
 <code>sieve_user_log = file:/var/vmail/vhosts/%d/%n/sieve/sieve_error.log</code> <code>sieve_user_log = file:/var/vmail/vhosts/%d/%n/sieve/sieve_error.log</code>
-Now edit /etc/dovecot/conf.d/20-lmtp.conf and uncomment the mail_plugins line in the protocol lmtp section and modify it to read <code>mail_plugins = $mail_plugins sieve</code> +Ahora edite /etc/dovecot/conf.d/20-lmtp.conf y descomente la línea mail_plugins en la sección lmtp del protocolo y modifíquela para que lea <code>mail_plugins = $mail_plugins sieve</code> 
-===== Open the firewall for ManageSieve =====+ 
 +===== Abra el firewall para ManageSieve =====
  
-that is it for basic installationalthough if you were following [[howtos:network_services:postfix_dovecot_mysql|Creating a Virtual Mail Server with Postfix, Dovecot and MySQL]] you will also need to add port 4190 to the firewall with something like+Eso es todo para la instalación básicaaunque si siguieras [[:es:howtos:network_services:postfix_dovecot_mysql | Creando un servidor de correo virtual con Postfix, Dovecot MySQL]] también necesitarás agregar el puerto 4190 al firewall con algo como
 <code>iptables -A INPUT -p tcp --dport 4190 -m state --state NEW -j ACCEPT</code> <code>iptables -A INPUT -p tcp --dport 4190 -m state --state NEW -j ACCEPT</code>
  
-You may also want to restart dovecot to make sure it sees your newly added plugins+También es posible que desee reiniciar dovecot para asegurarse de que vea sus complementos recién agregados
 <code>/etc/rc.d/rc.dovecot restart</code> <code>/etc/rc.d/rc.dovecot restart</code>
  
-===== Configuring Thunderbird for Sieve ===== +===== Configurando Thunderbird para Sieve ===== 
-ManageSieve as a tool to allow (virtualusers to create their own filters is not much use without a clientFortunately there is one available for mozilla thunderbird. Unfortunatelythe one available on the mozilla addons/extentions site does not work with any current version of thunderbird. Fortunatelyto cut a long story shortthe author has a more recent version which does work. +ManageSieve como una herramienta para permitir que los usuarios (virtualescreen sus propios filtros no es de mucha utilidad sin un clienteAfortunadamente hay uno disponible para mozilla thunderbird. Desafortunadamenteel que está disponible en el sitio de the_mozilla_addons/extentions no funciona con ninguna versión actual de thunderbird. Afortunadamentepara acortar una larga historiael autor tiene una versión más reciente que sí funciona.
- +
- It can be downloaded [[https://github.com/thsmi/sieve/blob/master/nightly/0.2.3/sieve-0.2.3h.xpi?raw=true|here]] and should newer versions come out, they should be available from the [[https://github.com/thsmi/sieve/blob/master/nightly/|nightly]] folder on the project's github site. Download this file to your computer, and manually install it into thunderbird+
  
-Once this is installed, select the sieve-enabled mail account in thunderbird, then select tools - sieve message filtersAllow autodetectand approve the certificate warning message (assuming you chose self-certified certificate in the howto). +Puede descargarse [[https://github.com/thsmi/sieve/blob/master/nightly/0.2.3/sieve-0.2.3h.xpi?raw=true|acá]] yen caso de que salgan versiones más recientes, deberían estar disponibles en la carpeta [[https://github.com/thsmi/sieve/blob/master/nightly/|nightly]] en el sitio de github del proyectoDescargue este archivo a su computadora e instálelo manualmente en thunderbird.
-Now you can create sieve filters, which will act on your mail at the serverThe plugin has some help for syntax and keywords, and there are plenty of examples on the internet for different tasks.+
  
-====== Sources ======+Una vez que esté instalado, seleccione la cuenta de correo con sieve habilitado en thunderbird, luego seleccione herramientas - filtros de mensajes de sieve. Permita la detección automática y apruebe el mensaje de advertencia del certificado (suponiendo que eligió el certificado auto certificado en el howto). 
 +Ahora puede crear filtros de sieve, que actuarán en su correo en el servidor. El complemento tiene alguna ayuda para la sintaxis y las palabras clave, y hay muchos ejemplos en Internet para diferentes tareas. 
 +====== 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 -->
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-Originally written by [[wiki:user:tim | User tim]]+   Escrito originalmente por[[wiki:user:tim | User tim]] 
 +   * Traducido por:  [[wiki:user: slackwarespanol | Victor]]  2019/02/14 15:23 (UTC)
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 es:howtos:network_services:dovecot_with_sieve ()