I would also have considered rebooting the server and seeing if that
cleared up the problem. Lot simplier that going through creating a new
account moving the email, deleting the account and recreating. And if
it's a file lock issue, you still probably would not have been able to
delete that locked new.uidl file.
Lyle
On 02/15/12 15:16, Jody McAlister wrote:
> FYI,
>
> I decided to do some testing on my own.
>
> I created a new account and sent it two test messages. Then I went in and deleted new.uidl. Logged in with webmail and was able to read the messages, though it did say I didn't have any new ones. So good sign, that means I've got some latitude to move.
>
> so with that account, I copied the new folders contents from the broken account into the new account. Logged in with webmail and it identified the messages as new. I've currently left the client a message to login to the test account and verify the emails and their attachments are all fine. I looked at one as a test and saw it was fine for text, but will have him verify the attachments and such for privacy reasons.
>
> so it looks like I will be able to copy the contents of the new folder from the corrupted one (no drafts or other folders used), delete the account, recreate the account and drop in the new folders contents.
>
> Probably a solution I should have tried right away, but didn't want to muck things up internally.
>
> On Feb 15, 2012, at 11:30 AM,<VinnyHIDDEN@@Dell.com> wrote:
>
>> The error seems to indicate a file locking problem. I'm not sure about the answers to your questions, but also check the permissions and owner on the file. Maybe it got modified somehow and the surgemail user can't open it.
>>
>> -Vinny
>>
>> -----Original Message-----
>> From: Jody McAlister [mailtoHIDDEN@c@iscweb.com]
>> Sent: Wednesday, February 15, 2012 11:45 AM
>> To: surgemailHIDDEN@etwinsite.com
>> Subject: Re: [SurgeMail List] User can't login to mail box
>>
>> nothing came back from that command.
>>
>> Are you or anyone aware of whether I can just delete that new.uidl and have them login to rebuild the count? Or can I hand edit that file to the right amount? Or can I copy that mailbox, delete the account, recreate and drop in the contents of the new folder?
>>
>> On Feb 15, 2012, at 8:32 AM,<VinnyHIDDEN@@Dell.com> wrote:
>>
>>> Hi,
>>>
>>> Try checking to see if some process has the file locked. It might be a hung process that you need to kill.
>>>
>>> As root or via sudo, run:
>>>
>>> lsof /var/surgemail/xxx/xx/x/mdir/new.uidl
>>>
>>> -Vinny
>>>
>>> -----Original Message-----
>>> From: Jody McAlister [mailtoHIDDEN@c@iscweb.com]
>>> Sent: Wednesday, February 15, 2012 12:43 AM
>>> To: surgemailHIDDEN@etwinsite.com
>>> Subject: Re: [SurgeMail List] User can't login to mail box
>>>
>>> it's webmail and logging in with outlook.
>>>
>>> On Feb 14, 2012, at 7:39 PM, Frank Bulk wrote:
>>>
>>>> Is this webmail, or IMAP and POP3, too?
>>>>
>>>> Frank
>>>>
>>>> -----Original Message-----
>>>> From: Jody McAlister [mailtoHIDDEN@c@iscweb.com]
>>>> Sent: Tuesday, February 14, 2012 7:48 PM
>>>> To: surgemailHIDDEN@t@netwinsite.com
>>>> Cc: surgemailHIDDEN@etwinsite.com
>>>> Subject: [SurgeMail List] User can't login to mail box
>>>>
>>>> We've got an issue where a user can't login to their email. We've run this version for over 2 years and never had this.
>>>>
>>>> mac os x intel 39e
>>>>
>>>> (here's what's in mail.err, don't mind the x's, that's there for privacy.)
>>>> 13 09:06:21.00:Err:-1331974144: Unable to lock users uidl file (/var/surgemail/xxxx/xx/x/mdir/new)
>>>> 13 09:11:43.00:Err:-1331695616: object: Could not get lock for (/var/surgemail/xxx/xxx/x/mdir/new.uidl) held by cdb.c:678
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
|