Amigo seu mydestination = /etc/mail/local-host-names esta com o dominio cadastrado corretamente?

Outra coisa, vi que da tambem Relay negado, tente colocar em mynetworks o ip do seu server faça:

cat /etc/hosts

veja a saida do IP que esta direcionado para o host da maquina, digamos que seja 192.168.0.6, ficaria assim


mynetworks = 127.0.0.0/8 192.168.0.6/32


Espero que ajude...

-----Mensagem Original----- From: "Fábio Jr."
Sent: Friday, September 24, 2010 11:32 AM
To: [email protected]
Subject: [Postfix-BR] Contas de um determinado domínio não recebe emails de servidores externos.

Bom dia pessoal.

O meu problema é o seguinte:

Um dos domínios hospedados no servidor que administro não recebe emails
de domínios externos. Tento enviar do hotmail ou do gmail, e retornam
sempre o mesmo erro:

Hotmail:
Recipient address rejected: Policy Rejection- Please try later.

Gmail:
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the
recipient domain. We recommend contacting the other email provider for
further information about the cause of this error. The error that the
other server returned was: 554 554 5.7.1 <[email protected]>: Relay
access denied (state 14).

Mas se eu tentar enviar do próprio servidor de emails, o email é
recebido corretamente.

Pelo que eu pude ver, isso tem relação com *greylist*.

Gostaria de uma ajuda para saber realmente o porque deste erro estar
acontecendo especificamente com este domínio.

postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
body_checks = regexp:/usr/local/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = scan:[127.0.0.1]:10025
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_process_limit = 200
disable_vrfy_command = yes
header_checks = regexp:/usr/local/etc/postfix/header_checks
html_directory = no
mail_owner = postfix
mail_spool_directory = /usr/var/mail
mailbox_size_limit = 500000000
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_queue_lifetime = 3d
message_size_limit = 10000000

mydestination = /etc/mail/local-host-names

myhostname = mail.xxxxxxxxx.com.br

mynetworks = 127.0.0.0/8

myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /usr/var/spool/postfix
readme_directory = no
receive_override_options = no_address_mappings
recipient_delimiter = +
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $mydomain ESMTP
smtpd_helo_required = yes

smtpd_helo_restrictions =
    permit_mynetworks
    permit_sasl_authenticated
    reject_non_fqdn_hostname
    reject_invalid_hostname
    permit

smtpd_recipient_limit = 80
smtpd_recipient_restrictions =
    check_sender_access hash:/usr/local/etc/postfix/rejected_senders
    check_sender_access hash:/usr/local/etc/postfix/allowed_senders
    reject_unknown_sender_domain
    permit_mynetworks
    permit_sasl_authenticated
    check_sender_access hash:/usr/local/etc/postfix/webmail_accounts
    reject_unauth_destination
    reject_unauth_pipelining
    reject_invalid_hostname
    reject_non_fqdn_sender
    reject_non_fqdn_recipient
    check_sender_access hash:/usr/local/etc/postfix/access
    check_sender_access regexp:/usr/local/etc/postfix/sender.regexp
    check_client_access hash:/usr/local/etc/postfix/allowed_hosts
    check_client_access hash:/usr/local/etc/postfix/ipaccess
    reject_rbl_client list.dsbl.org
    reject_rbl_client dnsbl.njabl.org
    reject_rbl_client bl.spamcop.net
    reject_rbl_client sbl-xbl.spamhaus.org
    reject_unknown_reverse_client_hostname
    check_policy_service unix:private/policy-spf
    check_policy_service inet:127.0.0.1:10031
    permit

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_timeout = 180s
smtpd_tls_CAfile = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_cert_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_key_file = /usr/local/etc/postfix/ssl/smtpd.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_domains = /etc/mail/virtual-alias-domains
virtual_alias_maps = hash:/etc/mail/virtusertable

bzgrep hotmail /var/log/mailog*
Se eu colocasse o bzgrep de todo o meu maillog, daria quase um livro,
peguei só o último que deu erro. Fiz algumas tentativas pelo hotmail,
todas retornaram a mesma saída.

Sep 24 09:27:15 xxxxx postfix-policyd-sf: rcpt=6834887, greylist=abuse,
host=65.55.34.19 (col0-omc1-s9.col0.hotmail.com),
[email protected], [email protected], size=1235
Sep 24 09:27:15 xxxxx postfix/smtpd[16203]: NOQUEUE: reject: RCPT from
col0-omc1-s9.col0.hotmail.com[65.55.34.19]: 450 4.7.1
<[email protected]>: Recipient address rejected: Policy
Rejection- Please try later.; from=<[email protected]>
to=<[email protected]> proto=ESMTP
helo=<col0-omc1-s9.col0.hotmail.com>

Mesma coisa com o gmail.
bzgrep gmail.com /var/log/mailog*
Sep 24 01:43:22 xxxxx postfix-policyd-sf: rcpt=6832933, greylist=new,
host=66.96.240.21 (server.marketingrapido.in), [email protected],
[email protected], size=242045
Sep 24 01:43:22 xxxxx postfix/smtpd[75218]: NOQUEUE: reject: RCPT from
server.marketingrapido.in[66.96.240.21]: 450 4.7.1
<[email protected]>: Recipient address rejected: Policy
Rejection- Please try later.; from=<[email protected]>
to=<[email protected]> proto=ESMTP
helo=<server.marketingrapido.in>
Sep 24 09:40:27 xxxxx postfix/smtpd[17484]: NOQUEUE: reject: RCPT from
mail-wy0-f170.google.com[74.125.82.170]: 554 5.7.1
<[email protected]>: Relay access denied;
from=<[email protected]> to=<[email protected]> proto=ESMTP
helo=<mail-wy0-f170.google.com>


Este domínio tem tanto .com, quanto .com.br registrado no meu servidor.
Ele esta registrado a algum tempo já, e isso começou a ocorrer de ontem
pra hj, nos dois dominios.

Qual e o greylisting software que voce usa?
postfix-policyd-spf

Obg.

[]s
_______________________________________________
Postfix-BR mailing list
[email protected]
http://listas.softwarelivre.org/mailman/listinfo/postfix-br
_______________________________________________
Postfix-BR mailing list
[email protected]
http://listas.softwarelivre.org/mailman/listinfo/postfix-br

Responder a