Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I have a huge problem getting my smtp-server through the Yahoo spam-filter. I've made SPF-record, Reverse lookups and A-records, but it still not getting through. I am using a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2

    Yahoo Spam (POSTFIX)


    Hi, I have a huge problem getting my smtp-server through the Yahoo spam-filter.
    I've made SPF-record, Reverse lookups and A-records, but it still not getting through. I am using a Postfix server on Ubuntu. Is there someone who can help me?

    Main.cf looks like this:

    # 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

    # TLS parameters
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.

    myhostname = mail01.mydomain.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = mail01.mydomain.com, localhost, localhost.localdomain
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

    # how long to wait when servers connect before receiving rest of data
    smtp_helo_timeout = 60s
    # require proper helo at connections
    smtpd_helo_required = yes
    # waste spammers time before rejecting them
    smtpd_delay_reject = yes
    disable_vrfy_command = yes


    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_create_maildirsize = yes
    virtual_mailbox_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps



    I get this result when I am running the mail relay test on ping.eu
    requires HELO YES
    allows VRFY username verification NO
    allows EXPN forwarding expansion NO
    allows bogus From: header YES
    allows simple mail relaying NO
    may allow UUCP mail relaying NO
    allows other mail relaying NO
    can mail to postmaster NO
    can mail to webmaster NO
    can mail to abuse (RFC 2142) NO
    Last edited by le-franke; 09-15-2008 at 01:21 PM. Reason: Extra test result

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what happens (whats in the logs) when you connect to yahoo mail servers?

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2
    Trying 206.190.59.120...
    Connected to mta304.mail.re4.yahoo.com.
    Escape character is '^]'.
    421 Message from (195.184.123.11 temporarily deferred - 4.16.50. Please refer to 421 Message temporarily deferred - [numeric code] - Mail
    Connection closed by foreign host.

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    Quote Originally Posted by le-franke View Post
    Trying 206.190.59.120...
    Connected to mta304.mail.re4.yahoo.com.
    Escape character is '^]'.
    421 Message from (195.184.123.11 temporarily deferred - 4.16.50. Please refer to 421 Message temporarily deferred - [numeric code] - Mail
    Connection closed by foreign host.
    it looks like you have valid dns and ptr, so maybe check this
    421 Message temporarily deferred - [numeric code] - Mail

Posting Permissions

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