POSTFIX problem?

Discussion in 'Server Operation' started by estokwa, Aug 27, 2006.

  1. estokwa

    estokwa New Member

    rigt now i have a problem with my mail server, its says on my log connection timed out(port25) , but my port25 is open and my firewall is disabled. can you help me with this problem. i installed my centos with the help of the tutorial here.
    thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the exact error message you got.
     
  3. estokwa

    estokwa New Member

    hi! below are some of my mail log text
    _______
    Aug 26 11:06:33 server1 postfix/smtp[11078]: connect to mx1.mail.yahoo.com[67.28.113.71]: Connection timed out (port 25)
    Aug 26 11:07:03 server1 postfix/smtp[11078]: connect to mx1.mail.yahoo.com[4.79.181.15]: Connection timed out (port 25)
    Aug 26 11:07:33 server1 postfix/smtp[11078]: connect to mx2.mail.yahoo.com[4.79.181.136]: Connection timed out (port 25)
    Aug 26 11:08:03 server1 postfix/smtp[11078]: connect to mx2.mail.yahoo.com[4.79.181.135]: Connection timed out (port 25)
    Aug 26 11:08:33 server1 postfix/smtp[11078]: connect to mx3.mail.yahoo.com[64.156.215.18]: Connection timed out (port 25)
    Aug 26 11:09:03 server1 postfix/smtp[11078]: connect to mx2.mail.yahoo.com[67.28.113.72]: Connection timed out (port 25)
    Aug 26 11:09:33 server1 postfix/smtp[11078]: connect to mx3.mail.yahoo.com[67.28.113.19]: Connection timed out (port 25)
    Aug 26 11:10:03 server1 postfix/smtp[11078]: connect to mx3.mail.yahoo.com[67.28.113.10]: Connection timed out (port 25)
    Aug 26 11:10:33 server1 postfix/smtp[11078]: connect to mx3.mail.yahoo.com[4.79.181.12]: Connection timed out (port 25)
    Aug 26 11:11:03 server1 postfix/smtp[11078]: connect to mx3.mail.yahoo.com[4.79.181.134]: Connection timed out (port 25)
    Aug 26 11:11:33 server1 postfix/smtp[11078]: connect to mx2.mail.yahoo.com[67.28.113.70]: Connection timed out (port 25)
    Aug 26 11:12:03 server1 postfix/smtp[11078]: connect to mx1.mail.yahoo.com[4.79.181.14]: Connection timed out (port 25)
    Aug 26 11:12:33 server1 postfix/smtp[11078]: connect to mx1.mail.yahoo.com[67.28.113.73]: Connection timed out (port 25)
    Aug 26 11:13:03 server1 postfix/smtp[11078]: connect to mx4.mail.yahoo.com[66.218.86.156]: Connection timed out (port 25)
    Aug 26 11:13:33 server1 postfix/smtp[11078]: connect to mx4.mail.yahoo.com[66.218.86.254]: Connection timed out (port 25)
    Aug 26 11:14:03 server1 postfix/smtp[11078]: connect to mx4.mail.yahoo.com[67.28.113.74]: Connection timed out (port 25)
    Aug 26 11:14:03 server1 postfix/smtp[11078]: AB3837FD05E: to=<[email protected]>, relay=none, delay=36782, status=deferred (connect to mx4.mail.yahoo.com[67.28.113.74]: Connection timed out)
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Please check if your server got blacklisted, e.g. on sorbs.net, etc.
     
  5. estokwa

    estokwa New Member

    i checked, it was not blocked...
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Did you check all major blacklists?
    Do you have a dynamic IP address?
    Do you have proper SPF and PTR records for your domains?
     
  7. estokwa

    estokwa New Member

    i am just new with this kind of installation. i am trying to play with my box and hopefully i can make it stable server.. i just reinstall my whole system because my other domain name when i dig it there is something strange that come out
    this is my first email from this new installation. and my first log. please help me configuring my problem.. thanks and best regards.
    ---
    Aug 29 19:26:06 server1 sendmail[18058]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
    Aug 29 19:26:06 server1 postfix/smtpd[18059]: TLS connection established from server1.canossians.com[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
    Aug 29 19:26:06 server1 postfix/smtpd[18059]: C559D2A8061: client=server1.canossians.com[127.0.0.1], [email protected]
    Aug 29 19:26:06 server1 postfix/cleanup[18062]: C559D2A8061: message-id=<[email protected]>
    Aug 29 19:26:06 server1 sendmail[18058]: k7U2Q6AZ018058: [email protected], [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30315, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as C559D2A8061)
    Aug 29 19:26:06 server1 postfix/qmgr[17638]: C559D2A8061: from=<[email protected]>, size=815, nrcpt=1 (queue active)
    Aug 29 19:26:06 server1 postfix/smtpd[18059]: disconnect from server1.canossians.com[127.0.0.1]
    Aug 29 19:26:37 server1 postfix/smtp[18063]: connect to gmail-smtp-in.l.google.com[66.249.83.114]: Connection timed out (port 25)
    Aug 29 19:27:07 server1 postfix/smtp[18063]: connect to gmail-smtp-in.l.google.com[66.249.83.27]: Connection timed out (port 25)
    Aug 29 19:27:37 server1 postfix/smtp[18063]: connect to alt2.gmail-smtp-in.l.google.com[72.14.205.27]: Connection timed out (port 25)
    Aug 29 19:28:07 server1 postfix/smtp[18063]: connect to alt1.gmail-smtp-in.l.google.com[66.249.93.27]: Connection timed out (port 25)
    Aug 29 19:28:37 server1 postfix/smtp[18063]: connect to alt1.gmail-smtp-in.l.google.com[66.249.93.114]: Connection timed out (port 25)
    Aug 29 19:29:07 server1 postfix/smtp[18063]: connect to gsmtp163.google.com[64.233.163.27]: Connection timed out (port 25)
    Aug 29 19:29:37 server1 postfix/smtp[18063]: connect to gsmtp183.google.com[64.233.183.27]: Connection timed out (port 25)
    Aug 29 19:29:38 server1 postfix/smtp[18063]: C559D2A8061: to=<[email protected]>, relay=none, delay=212, status=deferred (connect to gsmtp183.google.com[64.233.183.27]: Connection timed out)
    ----
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Same problem as before. Please check if you're blacklisted. Does your server have a dynamic IP address and/or is it on a DSL line or something like that?
     
  9. Rocky

    Rocky New Member

    I had the same problem when I first started using ISPConfig. It was because my ip was dynamic and that I had to use a relayhost.

    This is done by editing /etc/postfix/main.cf. Locate the line that says relayhost and add your smtp server info to it.

    e.g. relayhost = isp.smtp.com

    Of course you'll have to put in the smtp server that was provided to you by your ISP.
     
  10. falko

    falko Super Moderator ISPConfig Developer

Share This Page