Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
postfix y saslauthd no consigo autentificacion (cerrado)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
opotonil
l33t
l33t


Joined: 17 Jun 2005
Posts: 801
Location: 127.0.0.1

PostPosted: Sun Apr 08, 2007 11:42 am    Post subject: postfix y saslauthd no consigo autentificacion (cerrado) Reply with quote

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
View user's profile Send private message
opotonil
l33t
l33t


Joined: 17 Jun 2005
Posts: 801
Location: 127.0.0.1

PostPosted: Sun Apr 08, 2007 4:15 pm    Post subject: Reply with quote

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
Code:

mech_list: PLAIN

y ya esta funcionando perfectamente.

Salu2.

PD: por curiosidad, porque para SMTP se usa TLS en vez de SSL ¿?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
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