Descobri o que �: Dentro do arquivo /etc/pam.d/smtp a configura��o deve ser esta:
auth required /lib/security/pam_unix.so service=system-auth account required /lib/security/pam_unix.so service=system-auth password required /lib/security/pam_unix.so service=system-auth Agora, s� preciso resolver o problema das permiss�es para /var/run/saslauthd []'s Em Sex, 2005-02-11 �s 05:38 -0200, Rodrigo escreveu: > starta o saslauthd praver se funciona > ----- Original Message ----- > From: "Christian Reichel" <[EMAIL PROTECTED]> > To: "Lista Debian-User-Portuguese" <[email protected]> > Cc: <[EMAIL PROTECTED]> > Sent: Friday, February 11, 2005 5:36 PM > Subject: [Postfix-BR] Postfix + SASL2 > > > > Ol� Pessoas da lista. > > Algu�m j� logrou sucesso em configurar a solu��o: > > > > Postfix + SASL2 (autenticando PAM) ? > > > > Eu instalei os pacotes corretamente: > > > > ii postfix 2.1.5-5 A high-performance mail transport agent > > ii postfix-tls 2.1.5-5 TLS and SASL support for Postfix > > ii libsasl2 2.1.19-1.5 Authentication abstraction library > > ii libsasl2-modul 2.1.19-1.5 Pluggable Authentication Modules for SASL > > ii sasl2-bin 2.1.19-1.5 Programs for manipulating the SASL users dat > > > > J� configurei o o postfix, estou utilizando a configura��o dos arquivos > > assim: > > > > --- > > > > /etc/postfix/sasl/smtpd.conf > > saslauthd_version: 2 > > pwcheck_method: saslauthd > > mech_list: plain login > > > > ------------------------------------ > > > > /etc/postfix/main.cf > > smtpd_sasl_auth_enable = yes > > smtpd_sasl_local_domain = > > smtpd_sasl_security_options = noanonymous > > broken_sasl_auth_clients = yes > > > > smtpd_recipient_restrictions = permit_sasl_authenticated, > > reject_unauth_destination, check_relay_domains, permit > > > > ------------------------------------ > > > > /etc/pam.d/smtp > > #%PAM-1.0 > > auth required /lib/security/pam_stack.so service=system-auth > > account required /lib/security/pam_stack.so service=system-auth > > password required /lib/security/pam_stack.so service=system-auth > > > > ------------------------------------ > > > > O smtpd n�o est� com chroot. > > > > Quando tento enviar um e-mail, fazendo a autentica��o, o mail.log diz: > > > > Feb 11 15:25:27 maggie postfix/smtpd[32716]: warning: SASL > > authentication failure: cannot connect to saslauthd server: Permission > > denied > > Feb 11 15:25:27 maggie postfix/smtpd[32716]: warning: SASL > > authentication failure: Password verification failed > > > > Descobri que o que est� com permiss�o incorreta � o diret�rio: > > > > /var/run/saslauthd > > drwx--x--- 2 root sasl 136 Feb 11 15:25 . > > drwxr-xr-x 10 root root 472 Feb 11 14:10 .. > > srwxrwxrwx 1 root root 0 Feb 11 15:25 mux > > -rw------- 1 root root 0 Feb 11 15:25 mux.accept > > -rw------- 1 root root 6 Feb 11 15:25 saslauthd.pid > > > > Eu inicio os servi�os, dou um chmod -R 777 /var/run/saslauthd > > (eu sei que n�o � esta as permiss�o correta, mas � s� para fazer > > funcionar). > > > > Quando essa altera��o � feita, aparece este erro: > > Feb 11 15:25:27 maggie postfix/smtpd[32716]: warning: SASL > > authentication failure: Password verification failed > > Feb 11 15:25:27 maggie postfix/smtpd[32716]: warning: > > sp_200_200_200_200.datacenter1.com.br[200.200.200.200]: SASL PLAIN > > authentication failed > > > > Algu�m pode me apontar alguma falha, ou dica para fazer funcionar. > > > > Obrigado. > > > > Christian Reichel > > > > > > > > _______________________________________________ > > Postfix-BR mailing list > > [EMAIL PROTECTED] > > http://listas.softwarelivre.org/mailman/listinfo/postfix-br > > > > _______________________________________________ > Postfix-BR mailing list > [EMAIL PROTECTED] > http://listas.softwarelivre.org/mailman/listinfo/postfix-br -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

