[Postfix-br] Problema com auntenticação externa para enviar e-mails
Julio Cesar Covolato
julio em psi.com.br
Quinta Fevereiro 12 12:52:22 BRST 2015
Olá Marcio.
Vc liberou a porta submission 587 ou smtps 465 para acessos externos?
Se não, adicione ao seu /etc/postfix/master.cf:
submission inet n - n - - smtpd
-o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o
smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
# -o content_filter=smtp-amavis:[127.0.0.1]:10026
-o syslog_name=postfix/submission
# -o receive_override_options=no_header_body_checks
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o content_filter=smtp-amavis:[127.0.0.1]:10026
E configure seus clientes para enviarem numa dessas portas.
-----------------------------
_ Engº Julio Cesar Covolato
0v0 <julio at psi.com.br>
/(_)\ F: 55-11-3129-3366
^ ^ PSI INTERNET
-----------------------------
On 12/02/2015 11:28, Marcio L Santos wrote:
> Bom dia pessoal, tenho um postfix + mysql + dovecot rodando em um centos 5.6
> è uma máquina antiga "herdada" da antiga administração da TI.
> Esta com os dias contados, pois sera atualizado ( hardware e soft).
> Mas por enquanto tenho que ir levando como esta...
> Tudo funcionava bem, ate que de uns dias pra ca começou a dar problema
> na autenticação para envio de e-mails fora da rede ( ex celular), da
> usuario e senha invalido para o smtpd.
> Nos logs do postfix aparece isso na hora:
> Feb 12 09:31:40 mail postfix/smtpd[333]: warning: 179.219.xxx.xxx:
> hostname xxxx.virtua.com.br verification failed: Name or service not
> known
> Feb 12 09:31:40 mail postfix/smtpd[333]: connect from unknown[179.219.xxx.xxx]
> Feb 12 09:31:40 mail postfix/smtpd[333]: warning: SASL authentication
> failure: Password verification failed
> Feb 12 09:31:40 mail postfix/smtpd[333]: warning: unknown[xxx.xxx]:
> SASL PLAIN authentication failed:
>
> Ja troquei a senha e nada, no webmail e no outlook na rede interna vai
> tranquilo, de fora so recebe.
>
> Vim uma sugestao nesse topico: https://www.virtualmin.com/node/12960
>
> Well, the issue that appears to be occurring above looks like a
> problem with Postfix talking to the saslauth daemon.
>
> I've seen that occur on older Ubuntu/Debian installs (in theory, that
> should be corrected with the current install.sh script).
>
> However, to resolve it, run this command as root:
>
> usermod -a -G sasl postfix
>
> And then restart Saslauthd:
>
> /etc/init.d/saslauthd restart
>
> And then give it another shot, that should do the trick!
>
> -Eric
>
>
> Poderia ser essa uma solução? Nao quis testar sem antes ter uma segunda opiniao.
> Obrigado.
> _______________________________________________
> Postfix-br mailing list
> Postfix-br at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
More information about the Postfix-br
mailing list