[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Postfix-BR] Postfix + SASL2



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 <madduck@debian.org>
                              Para: 
debian-isp@lists.debian.org
                           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 <avbidder@fortytwo.ch> [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" <christian.reichel@aberium.com>
> > To: "Lista Debian-User-Portuguese" <debian-user-portuguese@lists.debian.org>
> > Cc: <postfix-br@listas.softwarelivre.org>
> > 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
> > > Postfix-BR@listas.softwarelivre.org
> > > http://listas.softwarelivre.org/mailman/listinfo/postfix-br
> > >
> > 
> > _______________________________________________
> > Postfix-BR mailing list
> > Postfix-BR@listas.softwarelivre.org
> > 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



Reply to: