Muchas veces necesitamos verificar o probar si los servicios POP o SMTP están levantados y en dicho caso establecer diálogo con el servidor de mail para verificar que no hay errores en sus instalación.
Para estos casos, estas son las pruebas básicas:
Leemos los mails disponibles para descarga por POP3:
# telnet localhost 110 Trying 192.168.1.10... Connected to 192.168.1.10. Escape character is '^]'. +OK <16658.1054485137@yourserver.com> user postmaster@mydomain.com (ingresar direccion de mail completa) +OK pass your_password +OK list +OK 1 1349 (aqui muestra la lista de e-mails disponibles en la casilla) . quit +OK Connection closed by foreign host. This is the sign of a successfull POP
Verificamos servicio SMTP con TLS (Transport Layer Security):
# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 somewhere.anywhere.com ESMTP ehlo localhost 250-somewhere.anywhere.com 250-AUTH LOGIN CRAM-MD5 PLAIN 250-AUTH=LOGIN CRAM-MD5 PLAIN 250-STARTTLS 250-PIPELINING 250 8BITMIME starttls 220 ready for tls quit quit Connection closed by foreign host.