[Postfix-br] Continuação de ontem Problemas de autenticação postfix

Bruno Menoli brunomenoli em gmail.com
Sexta Julho 27 11:19:46 BRT 2012


Bom acho que fiz isso agora e deu certo. Removi as linhas anteriores e 
adicionei:

smtpd_sasl_type = dovecot
# Can be an absolute path, or relative to $queue_directory
# Debian/Ubuntu users: Postfix is setup by default to run chrooted, so 
it is best to leave it as-is below
smtpd_sasl_path = private/auth
# and the common settings to enable SASL:
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, 
permit_sasl_authenticated, reject_unauth_destination

Vocês confiam nesses testes de relay aberto que encontramos na internet? 
Minha preocupacao agora é quanto a segurança. Nos testes que fiz deu 
tudo sem relay aberto. Obrigado.

Obrigado a todos






On 07/27/2012 11:12 AM, Andre Gouvea de Souza wrote:
> Existe uma forma mais simples, que você pode fazer a autenticação 
> usando as configurações  do dovecot, procure por isso.
> André
>
> 2012/7/27 Bruno Menoli <brunomenoli em gmail.com 
> <mailto:brunomenoli em gmail.com>>
>
>     Bom dia Galera,
>
>
>     O dia tá tenso... namorada querendo terminar, postfix que não
>     autentica e na fila tem um Zimbra pra estudar ainda.....rs..
>
>
>     Hoje de manhã andei dando mais uma olhada no Google, mas não
>     cheguei em conclusão no que fazer ainda. Achei esse arquivo na
>     internet:
>
>     smtpd.conf:
>          pwcheck_method: auxprop
>          auxprop_plugin: sql
>          mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM
>          sql_engine: pgsql
>          sql_hostnames: 127.0.0.1, 192.0.2.1
>          sql_user: username
>          sql_passwd: secret
>          sql_database: dbname
>          sql_select: SELECT password FROM users WHERE user = '%u'@'%r'
>
>     Qual é a sugestão sobre ele? Logicamente eu ia alterar o parâmetro:
>
>     sql_engine: pgsql
>
>     Para
>
>     sql_engine: mysql
>
>     entre outras coisas
>
>     Meu teste ainda continua dando erro:
>
>     testsaslauthd -u bruno em XXXXXXXXXXX -p XXXXXX
>
>     0: NO "authentication failed"
>
>
>     Meu log postfix:
>
>     Jul 27 10:25:52 xxxx postfix/master[22452]: daemon started -- version 2.6.6, configuration /etc/postfix
>     Jul 27 10:25:58 xxxx postfix/smtpd[22458]: warning: SASL per-process initialization failed: generic failure
>     Jul 27 10:25:58 xxxx postfix/smtpd[22458]: fatal: SASL per-process initialization failed
>     Jul 27 10:25:59 xxxx postfix/master[22452]: warning: process /usr/libexec/postfix/smtpd pid 22458 exit status 1
>     Jul 27 10:25:59 xxxx postfix/master[22452]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
>
>     Meu smtpd.conf:
>
>     pwcheck_method: saslauthd
>     saslauthd_path=/var/run/saslauthd/mux
>     log_level: 3
>     mech_list: plain login
>
>
>
>
>     Meu saslauth:
>
>     START=yes
>     PARAMS="-m /var/spool/postfix/var/run/saslauthd -r"
>     DESC="SASL Authentication Daemon"
>     NAME="saslauthd"
>     MECHANISMS="rimap"
>     MECH_OPTIONS=""
>     THREADS=5
>     OPTIONS="-r -c -V -O localhost -m /var/spool/postfix/var/run/saslauthd"
>
>
>
>
>     Lembrando que estou usado Dovecot, postfixadmin. Eu consigo logar e baixar pelo dovecot normalmente.
>
>
>
>
>
>
>     _______________________________________________
>     Postfix-br mailing list
>     Postfix-br em listas.softwarelivre.org
>     <mailto:Postfix-br em listas.softwarelivre.org>
>     http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
>
>
>
> _______________________________________________
> Postfix-br mailing list
> Postfix-br em listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20120727/edda4e18/attachment.html>


More information about the Postfix-br mailing list