pyter.cunha
(usa CentOS)
Enviado em 18/01/2017 - 13:04h
Bom dia Pessoal, quem pode me ajudar nesta situação:
minha distro é CentOS release 6.8 (Final)não estou conseguindo receber e-mail de fora do meu GMAIL.COM, o que poderia fazer para colocar operacional ?
Meu Man.cf:
# Configuracoes Gerais
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = osaka.prontonet.com.br
mydomain = prontonet.com.br
inet_interfaces = all
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = $config_directory/mynetworks
relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
#manpage_directory = /usr/share/man
# Configuracao das conexoes com o banco de dados.
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf, mysql:/etc/postfix/mysql-email2email.cf
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
# Configuracao do certificado de seguranca.
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/mailserver.pem
smtpd_tls_key_file = /etc/ssl/private/mailserver.pem
# Configuracoes das politicas de seguranca
header_checks = regexp:/etc/postfix/header_checks
strict_rfc821_envelopes = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
check_helo_access
hash:/etc/postfix/helo_access,
reject_unknown_hostname,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit
# Restricoes do Cliente (client)
smtpd_client_restrictions =
#check_client_access
# mysql:/etc/postfix/mysql-virtual_client.cf,
permit_mynetworks,
reject_unknown_client,
permit
# Restricoes do remetente (Sender)
smtpd_sender_restrictions =
check_sender_access
#hash:/etc/postfix/sender_access,
mysql:/etc/postfix/mysql-virtual_sender.cf,
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
# Restricoes do Desnitario (recipient)
smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
check_sender_access
#hash:/etc/postfix/sender_access,
mysql:/etc/postfix/mysql-virtual_sender.cf,
check_recipient_access
#hash:/etc/postfix/recipient_access,
mysql:/etc/postfix/mysql-virtual_recipient.cf,
check_helo_access
hash:/etc/postfix/secondary_mx_access,
# Se quiser checagem via black list e so descomentar as linhas abaixo
reject_rbl_client b.barracudacentral.net,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client dnsbl.sorbs.net,
reject_rbl_client bl.spamcop.net,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client dnsbl-1.uceprotec.net
check_policy_service unix:/var/spool/postfix/postgrey/socket,
check_client_access hash:/etc/postfix/rbl_override_whitelist,
check_policy_service unix:private/policyd-spf,
permit
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
milter_default_action = accept
milter_protocol = 2
#tumgreyspf_time_limit = 3600
policyd-spf_time_limit = 3600
content_filter=smtp-amavis:[localhost]:10024
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
manpage_directory = /usr/share/man
Você tem mensagem nova de correio em /var/spool/mail/root
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OBS. Segue a baixo o log, registrando o envio do meu e-mail do dominio " pyter.cunha@gmail.com " para dentro do servidor interno do domínio @supridados.com.br
Jan 18 14:17:48 osaka dovecot: imap-login: Login: user=<pyter.cunha@supridados.com.br>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=629, secured
Jan 18 14:17:48 osaka dovecot: imap(pyter.cunha@supridados.com.br): Disconnected: Logged out bytes=90/777
Jan 18 14:17:51 osaka postfix/smtpd[64011]: NOQUEUE: reject: RCPT from mail-qt0-f169.google.com[209.85.216.169]: 554 5.7.1 Service unavailable; Client host [209.85.216.169] blocked using dnsbl.sorbs.net; Currently Sending Spam See:
http://www.sorbs.net/lookup.shtml?209.85.216.169; from=<pyter.cunha@gmail.com> to=<pyter.cunha@supridados.com.br> proto=ESMTP helo=<mail-qt0-f169.google.com>
Jan 18 14:18:47 osaka dovecot: imap-login: Login: user=<pyter.cunha@supridados.com.br>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=902, secured
Jan 18 14:18:47 osaka dovecot: imap(pyter.cunha@supridados.com.br): Disconnected: Logged out bytes=90/777