vinimach2
(usa Debian)
Enviado em 05/09/2016 - 16:26h
Pessoal,
Estou tendo alguns problemas com envio de e-mail para alguns destinatários no relay do postfix
veja o log de erro:
/var/log/mail.log:
Sep 5 16:18:32 sdgt-055-sao20 postfix/smtpd[26337]: 0354B2E1205: reject: RCPT from server.dominio.local [XXX.XXX.XXX.XXX]: 550 5.1.1 <mario.user@domain.com.mx>: Recipient address rejected: User unknown in local recipient table; from=<pw@domain.com.br> to=<mario.user@domain.com.mx> proto=ESMTP helo=<SERVER>
/etc/postfix/main.cf
# 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=yes
smtpd_tls_auth_only = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
myhostname = hostname.dominio.local
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases.db
mydomain = domain.com.br
myorigin = /etc/mailname
mydestination = domain.com.br, domain.com.mx, server.domain.local, localhost.domain.local,localhost
relayhost = smtp.domain.com.br:587
mynetworks = 10.0.0.0/8 172.16.30.0/26 127.0.0.1
relay_domains = $mydestination
#transport_maps = hash:/etc/postfix/transport
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
# We need this
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous