Práctica: Instalación del servidor de correo POP3 entrante Dovecot
Por Aitor López de Aberasturi el Viernes, 20 de Junio de 2014 0 Comentarios
1.- Instalamos el dovecot
apt-get install dovecot-pop3d
2.- Añadimos al fichero /etc/dovecot/dovecot.conf
mail_location = mbox:~/mail:INBOX=/var/mail/%u
3.- Reiniciamos el servidor
/etc/init.d/dovecot restart
4.- Realizamos la prueba (existe un usuario pepe con password pepe)
telnet localhost 110Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.
USER pepe
+OK
PASS pepe
+OK Logged in.
LIST
+OK 4 messages:
1 419
2 419
3 419
4 419
NOTA: Si te da el siguiente error:
-ERR [IN-USE] Internal error occurred. Refer to server log for more information. Connection closed by foreign host.
Puede ser porque no existan correos para ese usuario.
NOTA: Si al conectar al servidor de forma remota te da el error:
-ERR Plaintext authentication disallowed on non-secure (SSL/TLS) connections.
Se soluciona modificando el fichero /etc/dovecot/conf.d/10-ssl.conf con el siguiente contenido:
# SSL/TLS support: yes, no, required.disable_plaintext_auth = no ssl = yes