Em Sex, 2005-02-11 �s 18:00 -0200, Christian Reichel escreveu:
> 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
veja o e-mail abaixo: da lista isp-debian:
De:
martin f krafft <[EMAIL PROTECTED]>
Para:
[email protected]
Assunto:
Re: postfix-tls - bad command start
up every now and then
Data:
Fri, 11 Feb 2005 12:14:00 +0100
(09:14 BRST)
also sprach Adrian von Bidder <[EMAIL PROTECTED]> [2005.02.11.0840
+0100]:
> Feb 11 02:31:44 zbasel postfix/smtp[22021]: fatal: open database
> /var/cache/postfix/smtp_tlscache.pag: No such file or directory
/var/cache/postfix is not a standard directory, so I assume you
created it yourself. Could it be that it gets purged somehow?
If Lamont is listening, then this is a serious plea for him to
include /var/cache/postfix with postfix-tls and to modify the
default session cache locations so that they go there and not <gasp>
into /etc/postfix.
eu n�o mexo muito com o postfix mas pelo que d� a entender vc precisa
criar na m�o o /var/cache/postfix e corrigir o usuario/grupo e
permiss�es.
Qualquer noticia a mais siga a tread da lista isp-debian.
[]s
>
> []'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
>
>
--
Paulo Ricardo Bruck - consultor
Contato Global Solutions
tel 011 5031-4932 fone/fax 011 5034-1732 cel 011 9235-4327
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]