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.

$_userdelivery defer (-9): failed to lock

Discussion in 'General Discussion' started by joana, Aug 29, 2002.

  1. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    I've got many complaints from users about emails they send and it takes time to get to their mail box.. sometime it takes hours to recieve an email..

    exim_mainlog shows
    $_userdelivery defer (-9): failed to lock mailbox /home/user/mail/user/inbox (lock file)

    What does that mean? anyway to fix it?
     
  2. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    This seems to have started up on out of our servers as well and I can't seem to figure out how to stop it. Permissions all appear to be correct... Did you happen to find a fix for yours?
     
  3. joana

    joana Well-Known Member

    Joined:
    Sep 29, 2001
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    16
    [quote:acc337aa67][i:acc337aa67]Originally posted by JustinK[/i:acc337aa67]

    Did you happen to find a fix for yours?[/quote:acc337aa67]

    No, nothing ..
     
  4. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Our problem with it may be with the software the user was using to check e-mail (JBMail). When the mail program was open it kept a connection open with the server, thus keeping the inbox.lock file in place and not allowing the new mail to get put anywhere other than the mail queue.

    It's still just a theory though. I recommended the client try MailWasher instead and we'll see how that goes.
     
  5. morris

    morris Member

    Joined:
    Dec 4, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Terrible

    There are terrible problems with this. Nothing to do with JBMail. I have accounts with 3 hosts with Cpanel/Exim and it seems that it is a random problem, not always with every pop and is getting worse. I simply cannot track why sometimes the emails delayed and why sometimes immediate. There MUST be a reason.
     
  6. bdraco

    bdraco Guest

    run /scripts/mailperm to make sure all permisions and ownerships are correct.
     
  7. JustinK

    JustinK Well-Known Member

    Joined:
    Sep 4, 2001
    Messages:
    251
    Likes Received:
    0
    Trophy Points:
    16
    Will try the mail permissions, but so far everything looks correct. Also, it wasn't JBMail causing the issue. It seems the lock file just doesn't want to disappear immediately.
     
  8. Wallaby

    Wallaby Well-Known Member

    Joined:
    Aug 15, 2001
    Messages:
    131
    Likes Received:
    1
    Trophy Points:
    18
    FWIW /scripts/mailperm seemed to fix this exact problem for us.
     

Share This Page