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

Andre Gouvea de Souza asgouvea em globo.com
Sexta Julho 27 11:12:01 BRT 2012


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 at 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 at 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 at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/postfix-br/attachments/20120727/f6efbc0c/attachment.html>


More information about the Postfix-br mailing list