Postfix not accepting emails

Discussion in 'Installation/Configuration' started by hbtousa, Aug 23, 2012.

  1. hbtousa

    hbtousa New Member

    Hi everyone. New to linux. Setup ubuntu server 12.04, postfix and Squirrel 1.4.22. I have been spent the last few days trying to get email from gmail/yahoo without luck. By reading the postings I learned to configure couple things but I am at the point that I am stuck.
    My ufw status is:
    To Action From
    -- ------ ----
    80 ALLOW Anywhere
    23 ALLOW Anywhere
    10000 ALLOW Anywhere
    69 ALLOW Anywhere
    25 ALLOW Anywhere
    587 ALLOW Anywhere
    110 ALLOW Anywhere
    143 ALLOW Anywhere
    465 ALLOW Anywhere
    995 ALLOW Anywhere
    80 ALLOW Anywhere (v6
    23 ALLOW Anywhere (v6
    10000 ALLOW Anywhere (v6
    69 ALLOW Anywhere (v6
    25 ALLOW Anywhere (v6
    587 ALLOW Anywhere (v6
    110 ALLOW Anywhere (v6
    143 ALLOW Anywhere (v6
    465 ALLOW Anywhere (v6
    995 ALLOW Anywhere (v6
    ********************************************
    Dig commands
    dig -t MX safeip.com

    ; <<>> DiG 9.8.1-P1 <<>> -t MX safeip.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2286
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;safeip.com. IN MX

    ;; ANSWER SECTION:
    safeip.com. 1800 IN MX 5 mail.safeip.com.
    safeipv.com. 1800 IN MX 10 www.safeip.com.

    ;; Query time: 154 msec
    ;; SERVER: 205.152.144.23#53(205.152.144.23)
    ;; WHEN: Thu Aug 23 08:43:23 2012
    ;; MSG SIZE rcvd: 74



    dig mail.safeip.com

    ; <<>> DiG 9.8.1-P1 <<>> mail.safeip.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33983
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.safeip.com. IN A

    ;; ANSWER SECTION:
    mail.safeip.com. 60 IN A 184.32.213.99

    ;; Query time: 44 msec
    ;; SERVER: 205.152.144.23#53(205.152.144.23)
    ;; WHEN: Thu Aug 23 08:46:24 2012
    ;; MSG SIZE rcvd: 54

    ******************************************
    myorigin = mail.safeip.com

    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    readme_directory = no
    smtpd_use_tls=yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    myhostname = mail.safeip.com
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    mydestination = mail.safeip.com, mail.safeip.com, safeip.com, localhost.localdomain, localhost
    mynetworks = 127.0.0.0/8, 192.168.13.0/24
    mailbox_command =
    mailbox_size_limit = 0
    recipient_delimiter = +
    virtual_alias_maps = hash:/etc/postfix/virtual
    inet_protocols = all
    home_mailbox = Maildir/
    inet_interfaces = all
    mydomain = safeip.com
    masquerade_domains = safeip.com
    smtp_use_tls = yes
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    smtp_sasl_mechanism_filter = login
    smtp_sasl_security_options =
    smtp_tls_security_level = may
    smtp_tls_note_starttls_offer= yes
    relayhost = smtp.gmail.com:587
    smtpd_sasl_local_domain =
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    broken_sasl_auth_clients = yes
    inet_interfaces = all
    smtpd_tls_security_level = may
    smtpd_tls_auth_only = no
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    **********************************************

    nmap safeip.com

    Starting Nmap 5.21 ( http://nmap.org ) at 2012-08-23 09:08 EDT
    Nmap scan report for safeipvoice.com (184.32.213.99)
    Host is up (0.070s latency).
    rDNS record for 184.32.213.99: adsl-184-32-213-99.mia.bellsouth.net
    Not shown: 995 closed ports
    PORT STATE SERVICE
    23/tcp filtered telnet
    25/tcp open smtp
    80/tcp open http
    443/tcp open https
    8080/tcp filtered http-proxy

    Nmap done: 1 IP address (1 host up) scanned in 2.03 seconds

    **************************************
    And finally, this is the failed email delivery:


    Delivery to the following recipient has been delayed:

    [email protected]

    Message will be retried for 2 more day(s)

    Technical details of temporary failure:
    The recipient server did not accept our requests to connect. Learn more at http://support.google.com/mail/bin/answer.py?answer=7720
    [(5) mail.safeip.com. [74.233.125.68]:25: No route to host]
    [(10) www.safeipv.com. [74.233.125.68]:25: No route to host]


    Is this email proof that I have either a DNS problem or A record problem on my side?

    Thanks very much for looking.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you change your DNS records recently? It can take up to three days until these changes propagate.
     

Share This Page