Código:
Como podéis ver el soporte TLS está activado, pero no así SASL.telnet localhost 25 Trying 172.16.... Connected to localhost. Escape character is '^]'. 220 localhost ESMTP Postfix (Ubuntu) ehlo localhost 250-LOCALHOST 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN
Pego la configuración de main.cf:
Código:
He consultado en varios manuales que debe de introducirse en /etc/postfix/sasl/smtpd.conf unas lineas. Dicho archivo no estaba creado así que lo cree yo y contiene lo siguiente.# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtpd_tls_auth_only = yes
# Aquí lo referente a SASL
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
broken_sasl_auth_clients = yes
smtp_sasl_password_maps = hash:/etc/sasldb2
smtpd_sasl_local_domain =
Código:
Por otro lado tengo configurado /etc/default/saslauthd de la siguiente forma:pwcheck_method: saslauthd mech_list: plain login
Código:
Así que no se que más me hace falta hacer o bien he hecho algo mal, estoy atascado. ¿Alguien me echa una mano?# Should saslauthd run automatically on startup? (default: no)
START=yes
# Agrego esta linea ya que postfix trabaja en chroot
PWDIR="/var/spool/postfix/var/run/saslauthd"
PARAMS="-m ${PWDIR}"
PIDFILE="${PWDIR}/saslauthd.pid"
Saludos.



