CONFIGURAÇÃO PARA ENVIO DE E-MAILS

1. CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Carlos Encine
carlosencine

(usa Ubuntu)

Enviado em 01/03/2016 - 21:22h

Boa noite a todos

bem estou configurando um servidor VPS e agora estou fazendo a configuração do e-mail, até o momento consigo enviar email entre duas contas criadas em meu painel de controle sem problema nenhum, porem quando tento enviar para um endereço do tipo exemplo@hotmail.com eu recebo a seguinte mensagem no email do meu dominio

This is the mail system at host srv.sygmasistemas.com.

####################################################################
# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 4 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<carlos_alexandre88@hotmail.com>: host mx3.hotmail.com[207.46.8.167] said: 550
SC-001 (BAY004-MC5F25) Unfortunately, messages from 216.245.222.101 weren't
sent. Please contact your Internet service provider since part of their
network is on our block list. You can also refer your provider to
http://mail.live.com/mail/troubleshooting.aspx#errors. (in reply to MAIL
FROM command)
Reporting-MTA: dns; srv.sygmasistemas.com
X-Postfix-Queue-ID: 3628A10414C6
X-Postfix-Sender: rfc822; contato@sygmasistemas.com
Arrival-Date: Tue, 1 Mar 2016 13:15:37 -0500 (EST)

Final-Recipient: rfc822; carlos_alexandre88@hotmail.com
Original-Recipient: rfc822;carlos_alexandre88@hotmail.com
Action: delayed
Status: 4.0.0
Remote-MTA: dns; mx3.hotmail.com
Diagnostic-Code: smtp; 550 SC-001 (BAY004-MC5F25) Unfortunately, messages from
216.245.222.101 weren't sent. Please contact your Internet service provider
since part of their network is on our block list. You can also refer your
provider to http://mail.live.com/mail/troubleshooting.aspx#errors.
Will-Retry-Until: Sun, 6 Mar 2016 13:15:37 -0500 (EST)
Return-Path: <contato@sygmasistemas.com>
Received: from srv.sygmasistemas.com (localhost [IPv6:::1])
by srv.sygmasistemas.com (Postfix) with ESMTPA id 3628A10414C6
for <carlos_alexandre88@hotmail.com>; Tue, 1 Mar 2016 13:15:37 -0500 (EST)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_2af3231f52a95941c576785cf38a33d2"
Date: Tue, 01 Mar 2016 15:15:37 -0300
From: contato@sygmasistemas.com
To: carlos_alexandre88@hotmail.com
Subject: teste de envio
Message-ID: <2dd5f691bb307d98d3cc22e7a4e04813@sygmasistemas.com>
X-Sender: contato@sygmasistemas.com
User-Agent: Roundcube Webmail/1.0.4


o que quer dizer que não configurei o servidor smtp, ja tentei de tudo, mmas até agora nada. O que eu gostaria de saber é qual a forma correta de configurar o smtp para enviar emails para outros dominios tipo hotmail, gmail, etc?

Abaixo segue a configuração do postfix (main.cf)

# postfix config file

# uncomment for debugging if needed
soft_bounce=yes

# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4

# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES

# network settings
inet_interfaces = all
mydomain = srv.sygmasistemas.com
myhostname = srv.sygmasistemas.com
mynetworks = 127.0.0.1, IP DO MEU VPS
mydestination = localhost.$mydomain, localhost,mail.$mydomain
#relay_domain = $mydomain
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf

# mail delivery
recipient_delimiter = +

# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#transport_maps = hash:/etc/postfix/transport
#local_recipient_maps =

# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 997
virtual_uid_maps = static:997
virtual_gid_maps = static:12
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

# debugging
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5

# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

# tls config
smtp_use_tls = no
smtpd_use_tls = no
#smtp_tls_note_starttls_offer = yes
#smtpd_tls_loglevel = 1
#smtpd_tls_received_header = yes
#smtpd_tls_session_cache_timeout = 3600s
#tls_random_source = dev:/dev/urandom
#smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
#smtpd_tls_key_file = /etc/pki/tls/private/mail.example.com.key
#smtpd_tls_cert_file = /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt

# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
# ,reject_rbl_client zen.spamhaus.org
# ,reject_rbl_client bl.spamcop.net
# ,reject_rbl_client dnsbl.sorbs.net

smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP

message_size_limit = 20480000


Outro detalhe tenho o roundcube instalado também

Desde já agradeço a ajuda.




  


2. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Carlos Encine
carlosencine

(usa Ubuntu)

Enviado em 02/03/2016 - 13:29h

Alguem?


3. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

felipe silva
lipman

(usa Debian)

Enviado em 02/03/2016 - 14:05h

Espero que isso possa te ajudar: http://br.ccm.net/faq/844-configuracoes-dos-servidores-pop-imap-e-smtp-dos-principais-fai


4. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Carlos Encine
carlosencine

(usa Ubuntu)

Enviado em 02/03/2016 - 20:03h



Oi lipman

ainda não é o que necessito, fiz um teste no site mxtoolbox.com e obtive o seguinte resultado

Connecting to 216.245.222.101

220 srv.sygmasistemas.com ESMTP [609 ms]
EHLO PWS3.mxtoolbox.com
250-srv.sygmasistemas.com
250-PIPELINING
250-SIZE 20480000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN [609 ms]
MAIL FROM:<supertool@mxtoolbox.com>
250 2.1.0 Ok [609 ms]
RCPT TO:<test@example.com>
454 4.7.1 <test@example.com>: Relay access denied [609 ms]

PWS3v2 6891ms






5. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Bruno Thomaz
SarusKant

(usa CentOS)

Enviado em 02/03/2016 - 20:15h

Seu problema é pq seu IP esta bloqueado em algumas span lists.

http://mxtoolbox.com/blacklists.aspx

--
Bruno Thomaz


6. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Carlos Encine
carlosencine

(usa Ubuntu)

Enviado em 02/03/2016 - 20:18h

SarusKant

Tem como contornar esse problema ou é mais aconselhável migrar para uma revenda?


7. Re: CONFIGURAÇÃO PARA ENVIO DE E-MAILS

Bruno Thomaz
SarusKant

(usa CentOS)

Enviado em 02/03/2016 - 20:58h

Cara, tem como solicitar a liberação do IP, nas aconselho antes de fazer isso, configurar um scanner, anti virus e anti spam.
Ou contratar um mail gateway.
--
Bruno Thomaz






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts