gustavo0904
(usa Debian)
Enviado em 17/03/2016 - 15:50h
Deixei o arquivo dessa seguinte forma :
# SMTP relayhost
relayhost = [smtp.gmail.com]:587
# TLS Settings
smtp_tls_loglevel = 1
smtp_tls_CAfile = /etc/postfix/certs/CAcert.pem
smtp_tls_cert_file = /etc/postfix/certs/mycert.pem
smtp_tls_key_file = /etc/postfix/certs/mykey.pem
smtp_use_tls = yes
smtpd_tls_CAfile = /etc/postfix/certs/CAcert.pem
smtpd_tls_cert_file = /etc/postfix/certs/mycert.pem
smtpd_tls_key_file = /etc/postfix/certs/mykey.pem
smtpd_tls_received_header = yes
# configuracao tls
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
# alias de mapeamento interno para externo
smtp_generic_maps = hash:/etc/postfix/generic
mynetworks = 127.0.0.0/8 192.168.12.0/24
inet_interfaces = all
ao tentar enviar email dentro do Linux me retornou o erro no Log:
Mar 17 15:49:28 Zabbix postfix/smtp[9412]: warning: has:/etc/postfix/sasl_passwd is unavailable. unsupported dictionary type: has
Mar 17 15:49:28 Zabbix postfix/smtp[9412]: warning: has:/etc/postfix/sasl_passwd lookup error for "smtp.gmail.com"
Mar 17 15:49:28 Zabbix postfix/smtp[9412]: warning: 4F1BAC60839: smtp_sasl_passwd lookup error
Mar 17 15:49:28 Zabbix postfix/smtp[9412]: 4F1BAC60839: to=<gustavo.silva@l3software.com.br>, relay=smtp.gmail.com[64.233.190.108]:587, delay=2.6, delays=0.1/0.02/2.5/0, dsn=4.3.0, status=deferred (local data error while talking to smtp.gmail.com[64.233.190.108])