Instalación de Courier

Courier es un servidor MTA de correo electrónico, pero lo que nos interesa a nosotros es que implementa los protocolos de gestión de estafetas de usuario POP3 e IMAP.
Vamos a instalar Courier, y configurar postfix para que deje a courier administrar las estafetas de los usuarios.
Instalando con apt:

elite:~# apt-get install courier-authdaemon courier-base courier-imap courier-ldap courier-pop courier-webadmin courier-imap-ssl courier-pop-ssl courier-ssl
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Paquetes sugeridos:
  courier-doc courier-imap-ssl courier-pop-ssl
Se instalarán los siguientes paquetes NUEVOS:
  courier-authdaemon courier-base courier-imap courier-ldap courier-pop courier-webadmin courier-imap-ssl courier-pop-ssl courier-ssl
0 actualizados, 9 se instalarán, 0 para eliminar y 1 no actualizados.
Necesito descargar 1190kB de archivos.
Se utilizarán 3256kB de espacio de disco adicional después de desempaquetar.

Opciones en el proceso de configuración de la instalación:

  1. Creamos directorios para una adecuada administración vía web.
  2. Dice que va a utilizar los siguientes certificados: /etc/courier/pop3d.pem y /etc/courier/imapd.pem
  3. Se copia todo para verlo desde el web a: /usr/lib/cgi-bin/courierwebadmin. Se accede al cgi a través de la dirección
  4. Activamos cgi para la admin de courier
  5. Introducimos una contraseña: **************

Para que el Webadmin funcione sin SSL basta con crear el siguiente fichero:

touch /etc/courier/webadmin/unsecureok


  • Tenemos las configuraciones en /etc/courier
  • Autenticación PAM por defecto en /etc/courier/authdaemonrc

Configuramos postfix para entregar el correo en el Maildir de los usuarios. En /etc/postfix/

# Configuración para Courier
home_mailbox = Maildir/
mailbox_command =

Una vez llegados a este punto tenemos nuestro servidor de Courier en los puertos habituales y sin seguridad:

  • TCP 110 para pop3
  • TCP 143 para imap

En un futuro artículo veremos como securizarlo, ya que dejar esto abierto en internet puede ser peligroso, para la confidencialidad y el hackeo de los spammers.

One thought on “Instalación de Courier

  1. Good to hear from you Mike. I always know excatly what to write to get you to pipe up, right? Reasonable people can disagree on these rankings, but Syracuse did just lose AT HOME to Pitt by DOUBLE DIGITS. I understand the Kansas-Cornell analogy by we all know Kansas would beat Cornell 9 out of 10 times. That’s the definition of a fluke. Can we say that about Pitt-Cuse? I don’t think so. Let me see more and then I will adjust accordingly. As for West Virginia and Villanova, I’ve had them 1-2 in that order since October and I see no reason to change that right now. Nova losing to Temple in one of those crazy Big 5 games (where upsets are commonplace) doesn’t upset the apple cart in my mind. Again, it’ll all play out. I actually enjoyed Boeheim’s postgame after Seton Hall, even his potshot at the media about OOC schedule strength (at least the quotes were interesting and usable). Much better than the normal blah-blah-blah you get from a lot of the other guys. Bitter, the point about last year’s Big East is how it was the deepest league ever. Obviously no league was better at the top than those mid-80s Big Easts. If it makes you feel better the next time it comes up I will put an asterisk and a footnote making this distinction. Piratefocus,I’ve been beating the drums for Fero Hall as you know, but he is way too small to play center in the Big East. Have you seen the size of the postmen on the other teams? Big John is a space-eater and is useful in short spurts (alas, his knees have robbed him of the rest). Fero has to beef up big-time before he can hold his own at center for any reasonable lengths.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.