Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default inbox.lock in one account

    One of my users keeps getting a file created in his inbox called "inbox.lock". When this file is created, mail stops being delivered to his account and gets stuck in the queue. He is also unable to send or receive e-mail when this file is in there. E-mail starts working again only when I delete the inbox.lock file. But a few minutes later it comes back.

    The only thing I can think of is that the user's inbox is rather large (17MB). Is this the problem? If he downloads all his e-mail with Outlook, will that solve everything?

    cPanel.net Support Ticket Number: 25261

    WHM 8.4.0 cPanel 8.4.0-E85
    Last edited by casey; 10-03-2003 at 01:34 AM.

  2. #2
    JC
    JC is offline
    Member
    Join Date
    Nov 2002
    Posts
    88

    Default

    This normally happens on users accessing with dialup connections.
    If the connection drops during receive, his inbox.lock remains open for 5 to 10 minutes and then resets.
    Only then will he be able to receive again.
    In this situation, Outlook keeps asking for his password and although he types it in correctly, he gets nothing.
    He'll just have to wait and try again later with a better connection

    cPanel.net Support Ticket Number:
    Last edited by JC; 10-03-2003 at 06:25 AM.

  3. #3
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by JC
    This normally happens on users accessing with dialup connections.
    If the connection drops during receive, his inbox.lock remains open for 5 to 10 minutes and then resets.
    Only then will he be able to receive again.
    In this situation, Outlook keeps asking for his password and although he types it in correctly, he gets nothing.
    He'll just have to wait and try again later with a better connection

    cPanel.net Support Ticket Number:
    Normally is the key word here. He isn't accessing his e-mail with Outlook. He's accessing his e-mail with Squirrelmail. The lock appears everytime a new message comes. This is a highly active account, so I can see it happen. I delete the inbox.lock file, and as soon as a new message comes the lock is back.

    cPanel.net Support Ticket Number:

  4. #4
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I have one account with this problem too - any resolution?

    cPanel.net Support Ticket Number:
    Michael

  5. #5
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Mine appears to have gone away on its own. Due to the vagueness of my customer's e-mail, I can't really tell whether it was due to his internet connection or not.

    Most people have told me that it is due to the person getting disconnected while trying to download mail via a pop e-mail client. The only way to fix it is to delete the inbox.lock file.

    Since mine has gone away, I have not tried the following solution, but it was offered to me at forum.cpanelhosts.com

    cat inbox > inbox.new
    rm inbox
    mv inbox.new inbox

    cPanel.net Support Ticket Number:

  6. #6
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I found the solution.

    The problem is caused by processes. Do a ps aux and you'll see lots of processes with the domain username, some imap, some cpop.

    Kill them all (kill -9 processNumber). Then delete the inbox.lock file.

    This fixes the problem.

    cPanel.net Support Ticket Number:
    Michael

  7. #7
    Member
    Join Date
    Oct 2001
    Posts
    348

    Default

    Originally posted by casey
    Mine appears to have gone away on its own. Due to the vagueness of my customer's e-mail, I can't really tell whether it was due to his internet connection or not.

    Most people have told me that it is due to the person getting disconnected while trying to download mail via a pop e-mail client. The only way to fix it is to delete the inbox.lock file.

    Since mine has gone away, I have not tried the following solution, but it was offered to me at forum.cpanelhosts.com

    cat inbox > inbox.new
    rm inbox
    mv inbox.new inbox

    cPanel.net Support Ticket Number:
    I am using this solution to solve the problem too.
    But I feel it is very unconfortable when I have to manuly do it in Shell for a clients get locked.
    Is there any way to improve ?

    cPanel.net Support Ticket Number:

  8. #8
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by jameshsi
    I am using this solution to solve the problem too.
    But I feel it is very unconfortable when I have to manuly do it in Shell for a clients get locked.
    Is there any way to improve ?

    cPanel.net Support Ticket Number:
    If you trust your user to read carefully, you can have him delete the file on his own with the file manager or via ftp. The file to delete is inbox.lock. Make sure that he understands that he is only to delete that file. Otherwise he may lose all his e-mails.

    cPanel.net Support Ticket Number:

  9. #9
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I found that just deleting inbox.lock did not solve the problem - anew one was created each time mail was delivered. Deleting the processes solved the problem permanently. You need to do both.

    cPanel.net Support Ticket Number:
    Michael

  10. #10
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by rs-freddo
    I found that just deleting inbox.lock did not solve the problem - anew one was created each time mail was delivered. Deleting the processes solved the problem permanently. You need to do both.

    cPanel.net Support Ticket Number:
    What processes? I didn't even notice. For some reason, after I deleted the file a few times it stopped.

    cPanel.net Support Ticket Number:

  11. #11
    Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    836
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Maybe you upgraded? Starting and stopping cpop and/or imap would probably get rid of the processes. Just deleting the lock did not work for me.

    cPanel.net Support Ticket Number:
    Michael

  12. #12
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by rs-freddo
    Maybe you upgraded? Starting and stopping cpop and/or imap would probably get rid of the processes. Just deleting the lock did not work for me.

    cPanel.net Support Ticket Number:
    I restarted cppop.

    cPanel.net Support Ticket Number:

  13. #13
    Registered User
    Join Date
    Aug 2003
    Location
    ny
    Posts
    3

    Default

    tried /scripts/mailperm ?

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

  14. #14
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Originally posted by maki
    tried /scripts/mailperm ?

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
    Yep. Didn't help.

    cPanel.net Support Ticket Number:

  15. #15
    Member
    Join Date
    Aug 2002
    Posts
    61

    Default

    This can also happen if the inbox file is being access from more than one place at the same time (from outlook and Squirrel Mail, for example).

    Some of my client had this happen when they left their oulook on at home, and they checked their e-mail from some place using Squirrel Mail - if outlook and Squirrel will access it at the same time, this can also happen.

    To fix the issue, run: /scripts/fixpop

    you will need to know the e-mail account that has the problem and you will need to type in the password for that e-mail account.

    cPanel.net Support Ticket Number:

Similar Threads & Tags
Similar threads

  1. inbox.lock
    By cosmin in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-08-2007, 04:03 AM
  2. inbox.lock
    By hostill in forum New User Questions
    Replies: 2
    Last Post: 02-18-2006, 10:43 AM
  3. Inbox.lock theory... perhaps
    By GTFO in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-23-2005, 05:23 AM
  4. inbox.lock problem
    By Jeewhizz in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-23-2005, 05:22 AM
  5. First inbox.lock then lowest MX
    By Escaflowne in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-28-2004, 05:50 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube