The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Send by SMTP (exim) takes more than 60 secs

Discussion in 'E-mail Discussions' started by marxiano533, Jun 8, 2010.

  1. marxiano533

    marxiano533 Member

    Joined:
    Oct 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    If i use any email software i cant send emails. The software said me taht the SMTP server is not responding.
    If i try the server with telnet i see that everythings works fine. But when i send the data the server takes more than 60 secondes to give me the "250 xxxxxxx Message accepted for delivery"

    $ telnet mail.somewhere.com 25
    Connected to smtp.somewhere.com.
    Escape character is '^]'.
    220 smtp.somewhere.net ESMTP Sendmail 8.9.3+Sun/8.9.1; Thu,

    12 Oct 2000 04:39:40 -0700 (PDT)
    helo aplawrence.com
    250 smtp.somewhere.com
    mail from: tony@aplawrence.com
    250 tony@aplawrence.com... Sender ok
    rcpt to: foobah@aplawrence.com
    550 foobah@aplawrence.com... Relaying denied
    rcpt to: foobah@somewhere.com
    250 foobah@somewhere.com... Recipient ok
    data
    354 Enter mail, end with . on a line by itself
    test
    look ma no headers!
    .
    //here is what its take more than 60 seconds
    250 HA00945 Message accepted for delivery
    quit
    221 smtp.somewhere.com closing connection

    I check the server load and its ok (below 1). I tried to restart exim but the error persist.

    What can i try? Anybody can help me at least with any link where i can read possible solutions?

    Thanks in advance

    M
     
  2. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,383
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You would have to contact the administrators of the mail.somewhere.com mail server.

    Could be a DNS issue somewhere. Perhaps their DNS servers are not working efficiently. Perhaps your domain name's DNS is not set up properly. Could be anything really. Only the people that are behind the mail.somewhere.com mail server can fully answer this question.
     
  3. marxiano533

    marxiano533 Member

    Joined:
    Oct 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    My server is mail.somewhere.com. I checked with intoDNS: checks DNS and mail servers health and there are not any issue on the dns.

    I use telnet to send an email to a emailbox that is inside my server so there aren't any SMTP transaction from my server to another SMTP server, just the connection between the email software (thunderbird) and the smpt server.

    Any ideas?

    Thanks...

    M
     
  4. marxiano533

    marxiano533 Member

    Joined:
    Oct 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    To be more clear aplawrence.com and somewhere.com are domains of the server where i am having this issue.
     
  5. mfigge

    mfigge Registered

    Joined:
    Apr 24, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm having exactly the same problem, as marxiano533 described it.

    And happens with all the accounts of the server. I have a lot of domains on it.

    So if anyone got a solution, please tell us.
     
  6. marxiano533

    marxiano533 Member

    Joined:
    Oct 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Another note: If I send an email from webmail it is sent ok. So i assume that the problem is not between my server and servers of email receipts.
     
  7. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,383
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    mail.somewhere.com does not appear to be a cPanel server as it is not using Exim as its MTA.

    250 HA00945 Message accepted for delivery

    This is not an Exim message ID.
     
  8. marxiano533

    marxiano533 Member

    Joined:
    Oct 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    This was just an example.

    Here you have the test with telnet


    [root@ls1 ~]# telnet server.com 2525
    Trying 72.xxx.xxx.xxx...
    Connected to server.com.
    Escape character is '^]'.
    220-server.com ESMTP Exim 4.69 0000001 Wed, 09 Jun 2010 09:11:43 -0500
    220-We do not authorize the use of this system to transport unsolicited,
    220 and/or bulk e-mail.
    helo host.com
    250 server.com Hello host.com [190.224.xxx.xxx]
    mail from: nil@domain.com
    250 OK
    rcpt to: nil2@domainoutsideserver.com
    250 Accepted
    data
    354 Enter message, ending with "." on a line by itself
    content of the email
    .
    HERE IS WHERE IT TAKES MORE THAN 60sec
    250 OK id=1OMM1z-00049N-SH


    Any ideas?
     
  9. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    The times I've seen this it's due to the resolvers on your server not functioning properly. Run the following command:

    dig thecpaneladmin.com

    If it takes more than a couple seconds, look at the following part of the dig output:

    ;; Query time: 45 msec
    ;; SERVER: 192.168.1.1#53(192.168.1.1)
    ;; WHEN: Tue Jun 15 23:24:23 2010
    ;; MSG SIZE rcvd: 196


    If the ip for SERVER is not what is at the top of your /etc/resolv.conf, then you either need to see why your primary DNS resolver isn't responding, or replace it with one that works. The DNS resolvers look up hostnames for your server, and if the first one isn't responding it will slow down DNS lookups, and therefore slow down processes on your server that rely on them.
     
  10. drego85

    drego85 Member

    Joined:
    Jun 24, 2010
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I also have the same problem, and I have not solved!

    Can you help?

    Thanks
     
  11. partsace

    partsace Active Member

    Joined:
    Jan 11, 2007
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Has this issue been solved???

    Scott
     
Loading...

Share This Page