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

vic vic em wa.pro.br
Sexta Julho 27 10:49:22 BRT 2012


Em 2012-07-27 10:30, Bruno Menoli escreveu:
> 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.

Já que usa dovecot, porque não usa o dovecot na autentição sasl?

Seria só habilitar o socket (descomentar essa opção no arquivo de 
configuração) e mudar no main.cf do postfix.

-- 
vic
http://choppnerd.com
http://donttrack.us   |   http://dontbubble.us


More information about the Postfix-br mailing list