andrecaleiros
(usa Debian)
Enviado em 08/03/2011 - 05:06h
amigo....
consegui configurar o postfix para fazer relay no meu provedor. Configurei minha conta no
outlook, o envio para dominio interno esta ok.
Quando envio para dominio externo a msg nao sai da caixa de saida. Agora quando dou validar as configuraçoes no assistente de criação de conta do outlook, o email chega normalmente na minha caixa externa.
quando envio a msg de validação da conta gera este log:
Mar 8 05:01:30 mail postfix/smtpd[4203]: connect from unknown[192.168.1.2]
Mar 8 05:01:30 mail postfix/smtpd[4203]: A65C65F17F: client=unknown[192.168.1.2]
Mar 8 05:01:30 mail postfix/cleanup[4206]: A65C65F17F: message-id=<>
Mar 8 05:01:30 mail postfix/qmgr[775]: A65C65F17F: from=<andrecaleiros@andrecaleiros.local>, size=631, nrcpt=1 (queue active)
Mar 8 05:01:30 mail postfix/smtpd[4203]: disconnect from unknown[192.168.1.2]
Assim a msg chega na minha caixa externa...
Agora quando mando do outlook normalmente....gera este log:
Mar 8 05:01:48 mail postfix/smtp[4207]: A65C65F17F: to=<andrecaleiros@andrecaleiros.local>, relay=smtp.andrecaleiros.com[186.202.1.230]:25, delay=18, delays=0.05/0.01/18/0.09, dsn=2.0.0, status=sent (250 45502415 message accepted for delivery/mensagem aceita para entrega/mensaje aceptado para entrega)
Mar 8 05:01:48 mail postfix/qmgr[775]: A65C65F17F: removed
apesar da msg ser aceita para entrega pelo meu provedor, ela nao sai da caixa de saida.
abaixo segue o main.cfg
################################################
# 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 (Ubuntu)
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=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
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
smtp_generic_maps = hash:/etc/postfix/generic
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mail.andrecaleiros.local
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.andrecaleiros.local, localhost.andrecaleiros.local, localhost
relayhost = smtp.andrecaleiros.com
mynetworks = 127.0.0.0/8 192.168.1.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#######################################################
fico no aguardo
obrigado