Postfix no-ip

Discussion in 'Server Operation' started by JF82, Nov 6, 2007.

  1. JF82

    JF82 New Member

    So, I've tried to get this to work, but every time I try to send a mail it times out according to the log. I'll paste my postconf -n and some of log here.

    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    config_directory = /etc/postfix
    mailbox_size_limit = 0
    mydestination = $myhostname, localhost.$myhostname, localhost
    myhostname = dansken
    mynetworks = 128.0.0.0/8
    mynetworks_style = host
    myorigin = dansken.servebeer.com
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
    smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtpd_use_tls = yes


    mail.info

    Nov 6 20:13:32 dansken postfix/smtp[9294]: 3545E1F1830: to=<[email protected]
    >, relay=none, delay=5554, delays=5404/0.02/150/0, dsn=4.4.1, status=deferred (c
    onnect to mx4.hotmail.com[65.54.244.104]: Connection timed out)
    Nov 6 20:13:32 dansken postfix/smtp[9295]: 9A6291F1840: to=<[email protected]
    >, relay=none, delay=552, delays=402/0.02/150/0, dsn=4.4.1, status=deferred (con
    nect to mx3.hotmail.com[65.54.244.72]: Connection timed out)
    Nov 6 20:13:32 dansken postfix/smtp[9293]: connect to alt2.gmail-smtp-in.l.goog
    le.com[66.249.83.114]: Connection timed out (port 25)


    any help appreciated :)
     
  2. asus

    asus New Member

    Well this is the same problem that I have. Most ISP's block outgoing email from your own server (port:25) to help prevent spam.. my ISP is rogers and i know that you can relay through your own account for outgoing mail.. but I'm stuck at authentication error, I will help you as much as possible, so far nobody here has helped at all. I have been searching (google is my best friend) there has been a couple articles that have helped me alot but still stuck at this authentication error.
     
  3. JF82

    JF82 New Member

    Thanks for you reply :)
    I'm on the verge of ripping my hair out, but I guess the timeout is good afterall, should probably work in theory I guess.
    I will try with another ISP, and see if I get a different result. Could you please post the link of the articles if you have them nearby?

    Thanks :)
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please make sure that your server isn't blacklisted: http://www.mxtoolbox.com/blacklists.aspx
     
  5. falko

    falko Super Moderator Howtoforge Staff

  6. JF82

    JF82 New Member

    Ok, so I tried with another ISP today, and it worked, at least my mails to my gmail account got through, but not to hotmail.
    I'm on a dynamic IP yes, just signed up at no-ip to test with postfix, it was a class assignment, so won't be needing it anymore. Anywho, thanks for your replies :)
     
  7. sjau

    sjau Local Meanie Moderator

    well, if you decide to operate your own mailserver for real then get a dedicated ip ;)
     

Share This Page