Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exim db corrupt with a few entries?

Discussion in 'E-mail Discussion' started by sahostking, Jun 12, 2013.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    330
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Hi guys,

    Today we had a client that receiving the following error when sending to a particular email address:

    Bounced Message "retry time not reached for any host after a long failure period"

    I would've thought it may be ISP being sent to was the issue. However dug a bit deeper before responding to client and found that doing this fixed the issue:

    cd /var/spool/exim/db
    rm -f retry retry.lockfile
    rm -f wait-remote_smtp wait-remote_smtp.lockfile
    service exim restart

    Any ideas if I should automate this as a cronjob and if it's a good idea or not?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    352
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    The root cause of an entry appearing to get 'stuck' in the exim database like this is generally a failed dns lookup. As such you might like to check your resolvers - generally manually clearing the lock files / exim db in this manner should rarely be necessary
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,895
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    It's not a good idea to implement a cron job with those commands. It's possible the message failed due to a network issue, but it should be investigated more if you notice this start to happen regularly.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    330
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Thanks guys.

    Only happened once in 3 years of this server being live. So probably not an issue. Thanks for the help
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice