bizzukka
(usa Debian)
Enviado em 29/05/2016 - 12:38h
Boa tarde
Pessoal.
Tudo bem? Olha, instalei um servidor com a distro debian wheezy, squid, postfix, fetchmail e courier-pop. Até 5 dias atrás os usuários enviavam e recebiam normalmente os e-mails. Após, recebi uma série de reclamações que os e-mails não estavam chegando. Fui verificar está informação no log e percebi que há um erro.
Veja o meu main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=no
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = macedo.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#myorigin = $mydomain
mydestination = $myhostname, localhost, localhost.macedo
relayhost =smtp.xxxxxxxxx.com.br:587
mynetworks = 127.0.0.0/8 192.168.1.0/24
#mailbox_command = procmail -a "$EXTENSION"
mail_spool_directory = /var/mail
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
default_transport = smtp
relay_transport = smtp
smtp_use_tls = no
smtp_sasl_auth_enable = yes
#local_recipient_maps =
#smtp_sasl_type = dovecot
#smtp_sasl_path = private/auth
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,check_relay_domains
smtp_sasl_password_maps = hash:/etc/postfix/sasl_pass
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
broken_sasl_auth_clients = yes
smtp_generic_maps = hash:/etc/postfix/generic
inet_protocols = ipv4
home_mailbox = Maildir/
message_size_limit = 31457280
Erro que apresenta no log.
CA10AE7: SASL authentication failed; server smtp.xxxxxxx.com.br[200.234.210.11] said: 535 5.7.8 Error: authentication failed:
May 29 11:37:12 servernet postfix/smtp[8488]: 29ECCA10AE7: SASL authentication failed; server smtp.sansupermercados.com.br[200.234.210.14] said: 535 5.7.8 Error: authentication failed:
May 29 11:37:16 servernet postfix/smtp[8488]: 29ECCA10AE7: SASL authentication failed; server smtp.sansupermercados.com.br[200.234.210.12] said: 535 5.7.8 Error: authentication failed:
May 29 11:37:18 servernet postfix/smtp[8488]: 29ECCA10AE7: to=<gsilv@r7.com>, relay=smtp.xxxxxxxxx.com.br[200.234.210.13]:587, delay=10, delays=0.11/0/10/0, dsn=4.7.8, status=deferred (SASL authentication failed; server smtp.xxxxxx.com.br[200.234.210.13] said: 535 5.7.8 Error: authentication failed: )
May 29 11:37:47 servernet pop3d: Connection, ip=[::ffff:192.168.1.109]
No arquivo /etc/postfix/sasl_pass está configurado corretamente. Ex.
smtp;xxxxxx.com.br TAB login do usuário:senha
Também foi gerado o hash.
Desde de já agradeço a ajuda de todos.