View previous topic :: View next topic |
Author |
Message |
opotonil l33t

Joined: 17 Jun 2005 Posts: 801 Location: 127.0.0.1
|
Posted: Sun Apr 08, 2007 11:42 am Post subject: postfix y saslauthd no consigo autentificacion (cerrado) |
|
|
Hola,
Tenia funcionando el postfix con tls perfectamente y estoy intentando añadirle autentificacion, pero no lo consigo, de hecho desde que la he activado no consigo comunicacion con postfix. Tengo la siguiente configuracion:
/etc/postfix/main.cf
Code: |
smtpd_sasl_auth_enable = yes
smtpd_sasl_auth2_enable = yes
smtpd_recipient_restrictions = permit_sasl_authenticated
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/postfix.pem
smtpd_tls_cert_file = /etc/postfix/postfix.pem
|
/etc/sasl2/smtpd.conf
Code: |
pwcheck_method: saslauthd
|
/etc/conf.d/saslauthd
Code: |
SASLAUTHD_OPTS=""
SASLAUTHD_OPTS="${SASLAUTHD_OPTS} -a pam"
|
/etc/pam.d/smtp
Code: |
auth include system-auth
account include system-auth
|
bueno creo que ya no hay ningun fichero mas implicado en la configuracion asi que alguno de estos deberia de ser el que esta mal, a ver si alguien me puede decir en que ¿?
Muchas gracias y salu2.
PD: ¿que es mejor utilizar pam o shadow?
Last edited by opotonil on Sun Apr 08, 2007 4:19 pm; edited 1 time in total |
|
Back to top |
|
 |
opotonil l33t

Joined: 17 Jun 2005 Posts: 801 Location: 127.0.0.1
|
Posted: Sun Apr 08, 2007 4:15 pm Post subject: |
|
|
Pues nada que he simplificado el/etc/postfix/main.cf dejando solo:
Code: |
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
smtpd_tls_key_file = /etc/postfix/postfix.pem
smtpd_tls_cert_file = /etc/postfix/postfix.pem
|
y he añadido en /etc/sasl2/smtpd.conf
y ya esta funcionando perfectamente.
Salu2.
PD: por curiosidad, porque para SMTP se usa TLS en vez de SSL ¿? |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|