Configuración de los servidores IMAP y POP

Utilice este procedimiento para configurar los servidores IMAP y POP.

Para realizar esta tarea, se requiere autorización root.

  1. Elimine el comentario de imapd o imapds y pop3d o pop3ds entradas de configuración en el archivo /etc/inetd.conf .
    A continuación se proporcionan ejemplos de las entradas de configuración:
    #imap2  stream  tcp     nowait  root    /usr/sbin/imapd imapd     
    #pop3   stream  tcp     nowait  root    /usr/sbin/pop3d pop3d     
    #imaps  stream  tcp     nowait  root    /usr/sbin/imapds imapds     
    #pop3s   stream  tcp     nowait  root   /usr/sbin/pop3ds pop3ds
  2. Establezca los archivos de configuración para el servidor imapds en el archivo /etc/imapd.cf y para el servidor pop3ds en el archivo /etc/pop3d.cf .
    De forma predeterminada, los protocolos de conformidad de conexión de seguridad menos seguros (Secure Sockets Layer versión 2 (SSLv2) y SSLv3) están habilitados para los servidores imapds y pop3ds. No obstante, puede inhabilitar SSLv2 y SSLv3, actualizando los archivos de configuración según se muestra en el ejemplo siguiente. También puede habilita o inhabilitar cualquier cifrado, especificando la cadena de caracteres SSL_CIPHER_LIST en el archivo de configuración. Esta opción sobrescribe la serie de cifrados predeterminados codificados en las aplicaciones.
    Archivo de configuración para el servidor imapds (/etc/imapd.cf):
    	#==================================================================
    	#
    	# Sample IMAP Server Configuration File
    	#
    	#==================================================================
    	#==================================================================
    	# Uncomment the line below to Disable SSL v2 for the imap server.
    	#
    	#   Disable SSL V2  --->  SSL_OP_NO_SSLv2         YES
    	#   Allow SSL V2    --->  SSL_OP_NO_SSLv2         NO
    	#
    	#
    	#SSL_OP_NO_SSLv2         YES  <-------------- uncomment this line to disable sslv2
    	#==================================================================
    	# Uncomment the line below to Disable SSL v3 for the imap server.
    	#
    	#   Disable SSL V3  --->  SSL_OP_NO_SSLv3         YES
    	#   Allow SSL V3    --->  SSL_OP_NO_SSLv3         NO
    	#
    	#
    	#SSL_OP_NO_SSLv3         YES  <-------------- uncomment this line to disable sslv3
    	#==================================================================
    	# Uncomment the line below to use the user provided cipher list
    	# for the imap server. Parser logic expect Cipher string within " ".
    	#
    	#
    	#SSL_CIPHER_LIST "ALL:!LOW" <--- uncomment this line to customized (enable/disabled) ciphers string
    	#==================================================================
    Archivo de configuración para el servidor pop3ds (/etc/pop3d.cf):
    	#==================================================================
    	#
    	# Sample POP3 Server Configuration File
    	#
    	#==================================================================
    	#==================================================================	
    	# Uncomment the line below to Disable SSL v2 for the pop3d server.
    	#
    	#   Disable SSL V2  --->  SSL_OP_NO_SSLv2         YES
    	#   Allow SSL V2    --->  SSL_OP_NO_SSLv2         NO
    	#
    	#
    	#SSL_OP_NO_SSLv2         YES  <----------- uncomment this line to disable sslv2
    	#==================================================================
    	# Uncomment the line below to Disable SSL v3 for the pop3d server.
    	#
    	#   Disable SSL V3  --->  SSL_OP_NO_SSLv3         YES
    	#   Allow SSL V3    --->  SSL_OP_NO_SSLv3         NO
    	#
    	#
    	#SSL_OP_NO_SSLv3         YES  <----------- uncomment this line to disable sslv3
    	#==================================================================
    	# Uncomment the line below to use the user provided cipher list
    	# for the pop3d server. Parser logic expect Cipher string within " ".
    	#
    	#
    	#SSL_CIPHER_LIST "ALL:!LOW" <---- uncomment this line to customized (enable/disabled) ciphers string
    	#==================================================================
  3. Renueve el daemon inetd ejecutando el mandato siguiente:
    refresh -s inetd