Results 1 to 1 of 1

Thread: Zimbra con relay Smarthost envía al spam de gmail y hotmail

  1. #1
    Join Date
    Dec 2010
    Posts
    7
    Rep Power
    5

    Default Zimbra con relay Smarthost envía al spam de gmail y hotmail

    Hola, he comenzado a percibir que los correos que envío entran en las carpetas de spam de los destinatarios de gmail y hotmail.
    En este caso estoy haciendo que postfix use un relay autenticado para el envío.
    Para estar seguro que mi problema estaba en mi zimbra, hice envíos desde los webmail del smarthost directamente y los correos llegaron bien.
    Creo que el problema esta en la configuracion del zimbra respecto de la salida hacia el smarthost.
    Mi server tiene los mismos dominios que el smarthost (dominioexterno.com), pero ademas tiene uno local tipo localmail.com que no es publico por lo que el hostname del server es algo asi como mailsrv.localmail.com

    Pego abajo la configuracion de mi postfix:

    mail_owner = postfix
    bounce_notice_recipient = postmaster
    content_filter = smtp-amavis:[127.0.0.1]:10024
    smtp_sasl_security_options = noanonymous
    relayhost = relay.dominioexterno.com:25
    virtual_alias_expansion_limit = 10000
    smtpd_sasl_authenticated_header = no
    broken_sasl_auth_clients = yes
    minimal_backoff_time = 300s
    sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
    always_add_missing_headers = yes
    smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
    smtpd_helo_required = yes
    virtual_transport = error
    sendmail_path = /opt/zimbra/postfix/sbin/sendmail
    smtpd_sasl_security_options = noanonymous
    smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unlisted_recipient, reject_non_fqdn_sender, permit
    smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
    smtpd_reject_unlisted_recipient = no
    bounce_queue_lifetime = 5d
    smtp_sasl_mechanism_filter =
    local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_tls_security_level = may
    smtpd_milters =
    smtpd_sender_restrictions = check_sender_access regexp:/opt/zimbra/postfix/conf/tag_as_originating.re, permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts, check_sender_access regexp:/opt/zimbra/postfix/conf/tag_as_foreign.re
    lmtp_host_lookup = dns
    delay_warning_time = 0h
    header_checks =
    queue_run_delay = 300s
    virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
    notify_classes = resource,software
    command_directory = /opt/zimbra/postfix/sbin
    smtpd_client_restrictions = reject_unauth_pipelining
    smtpd_tls_auth_only = yes
    virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
    mailq_path = /opt/zimbra/postfix/sbin/mailq
    mynetworks = 127.0.0.0/8 192.168.254.0/24 [::1]/128 [fe80::%eth0]/64
    lmtp_connection_cache_time_limit = 4s
    transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
    virtual_alias_domains = proxy:ldap:/opt/zimbra/conf/ldap-vad.cf
    smtpd_sasl_auth_enable = yes
    smtpd_tls_loglevel = 1
    maximal_backoff_time = 4000s
    virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
    inet_protocols = ipv4
    non_smtpd_milters =
    daemon_directory = /opt/zimbra/postfix/libexec
    smtp_tls_security_level =
    setgid_group = postdrop
    alias_maps = hash:/etc/aliases
    smtp_cname_overrides_servername = no
    mydestination = localhost
    smtpd_end_of_data_restrictions =
    import_environment =
    myhostname = localmail.com
    message_size_limit = 20971520
    recipient_delimiter =
    in_flow_delay = 1s
    smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
    queue_directory = /opt/zimbra/data/postfix/spool
    propagate_unmatched_extensions = canonical
    manpage_directory = /opt/zimbra/postfix/man
    smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
    smtp_sasl_password_maps = hash:/opt/zimbra/conf/relay_password
    lmtp_connection_cache_destinations =
    newaliases_path = /opt/zimbra/postfix/sbin/newaliases
    smtp_sasl_auth_enable = yes
    mailbox_size_limit = 0
    disable_dns_lookups = no

    Perdón por pegar tanto código, pero puede que aqui esté el problema.
    Abajo pongo la cabecera del mail como esta llegando.


    From Ivan Thu Jun 20 08:13:53 2013
    X-Apparently-To: ivan.exxxs@ymail.com via 72.30.237.9; Thu, 20 Jun 2013 15:16:06 +0000
    Return-Path: <ivan@dominioexterno.com>
    Received-SPF: none (domain of dominioexterno.com does not designate permitted sender hosts)
    LSBNLlAuIDMwMTYgQWRtaW5pc3RyYWRvciBkZSBpbmZyYWVzdH J1Y3R1cmFz
    X-YMailISG: cdGOT7wWLDtGfs50ZcHUQ3uckPwcxtxd6.dDKyIwM69lNCIl
    QHbJEr6N5xtPUKreUfkrECrd4vfQcVZbLf6xBgVsEyzrKb6PmI k_eln6JPyS
    UdmfO1ONn8I70yQ8fUgnm1CMNa0gBlChgmdTZmXVWMgHl0PMSK exNrf43jJn
    CarnovDo464awvuPp993ySORgjl4SE5Y6bqSmtYKZqYvcRZBDL muu6faciS9
    bSrWeqDm7mOr4KHJdTj05fyNmW1cMFab6G2AnB7JpeW54QHZbz TjFg9LjOgk
    aFksmVUa1wauPQLFHcbabFqP9SEzylqfzmG4BHbj3B5pSnrkNb GIyePcqp3A
    eMUeI_btVy56AHiGsD_rY7yOAcGnZdHmDNVfrBl4WB9CsLQQsJ gj45nWfiKY
    6FUISUQRQTSVOa5anRBAIOZ_WVIgIUSRh1ALdeLPoupL8WHzu. jXLqcjJ4_v
    dmFfhkOKabTmrl56f7Z1RKdAHbP99ANlX3GiKdpxi_27PIEAof ydyvY8VPwh
    VZ.LGf2CBe2Y0RNaCrBgmjGpZnRe4j1VxTVpgF6WVggIMg4rFg b_RAMtD73j
    jdxFM3wCEMLbly9CkkLkkXH.CiHq_KuJCC0zY_ItVvj1BGd_r1 WLS4nQdTOZ
    Ci9bZB7JD0fO3KeUTDA19YMVc4xQJsbWirVBTsZicp9N8YR_bd TCDYJUl04B
    5vztCnkN4mWJoBXDLsxBzggrrzXF9CyDxTQ1JqjLdosayQr533 d.Sp8yGkEd
    t0QU6xXi4N2AwiJlpdRj2OtriyRYG0I12Wu5hga.sgKr.uQbQV BQ2fYBrSPY
    K_3BsYQTI_wuEu9VKk8XvywIAbzcmbhj6JE5Wl0xw4uGJuY8DX Xpn.4qsh4.
    xJGLVtwoW1CSeWlditnJkLkntU45nDenZHE75Mr3jKKFykjW
    X-Originating-IP: [216.xxx.xxx.xxx]
    Authentication-Results: mta1063.mail.ne1.yahoo.com from=dominioexterno.com; domainkeys=neutral (no sig); from=dominioexterno.com; dkim=neutral (no sig)
    Received: from 127.0.0.1 (EHLO relay.real.dominiovalido.com) (216.xxx.xxx.xxx)
    by mta1063.mail.ne1.yahoo.com with SMTP; Thu, 20 Jun 2013 15:14:02 +0000
    Received: from localmail.com (Host29-111.myisp.com [200.xxx.xxx.xx])
    by relay.real.dominiovalido.com (Postfix) with ESMTP id 163FC4827C
    for <ivan.exxxs@ymail.com>; Thu, 20 Jun 2013 12:14:01 -0300 (ART)
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by localmail.com (Postfix) with ESMTP id AF53E425A7
    for <ivan.exxxs@ymail.com>; Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    X-Virus-Scanned: amavisd-new at localmail.com
    Received: from localmail.com ([127.0.0.1])
    by localhost (localmail.com [127.0.0.1]) (amavisd-new, port 10024)
    with ESMTP id EvHNQyHOjetj for <ivan.exxxs@ymail.com>;
    Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    Received: from localhost (localhost.localdomain [127.0.0.1])
    by localmail.com (Postfix) with ESMTP id 8C6AE425B3
    for <ivan.exxxs@ymail.com>; Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    X-Amavis-Modified: Mail body modified (using disclaimer) - localmail.com
    X-Virus-Scanned: amavisd-new at localmail.com
    Received: from localmail.com ([127.0.0.1])
    by localhost (localmail.com [127.0.0.1]) (amavisd-new, port 10026)
    with ESMTP id 6j6MHo3qTuIC for <ivan.exxxs@ymail.com>;
    Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    Received: from localmail.com (mailsrv.localmail.com [192.168.254.166])
    by localmail.com (Postfix) with ESMTP id 6EC4D425A7
    for <ivan.exxxs@ymail.com>; Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    Date: Thu, 20 Jun 2013 12:13:53 -0300 (ART)
    From: Ivan<ivan@dominioexterno.com>
    To: ivan <ivan.exxxs@ymail.com>
    Message-ID: <1953434817.882.1371741233379.JavaMail.root@domini oexterno.com>
    Subject: testing a yahoo
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary="----=_Part_881_342037227.1371741233377"
    X-Originating-IP: [192.168.254.175]
    X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC27 (Win)/8.0.2_GA_5569)
    Thread-Topic: testing a yahoo
    Thread-Index: TiJyPlEPV7YZu39B3pG7YXlnd3iNGg==
    Content-Length: 3825

    Desde ya muchas gracias si pueden hecharme algo de luz en esto.
    Saludos
    Last edited by ivan.eneas; 06-20-2013 at 10:37 AM.

Similar Threads

  1. Replies: 7
    Last Post: 10-18-2012, 01:22 PM
  2. Replies: 4
    Last Post: 06-09-2012, 10:43 PM
  3. Gmail, Hotmail and Yahoo, detect my mail as spam
    By aj_calderon in forum Administrators
    Replies: 1
    Last Post: 01-05-2011, 07:51 AM
  4. Mails marked as spam in yahoo, hotmail and Gmail
    By emnzava in forum Administrators
    Replies: 3
    Last Post: 09-20-2010, 11:43 AM
  5. Mails marked as spam in yahoo, hotmail and Gmail
    By emnzava in forum Installation
    Replies: 0
    Last Post: 09-20-2010, 10:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •