Re: problems with large imap folder/file
On 3 Oct 2003 at 10:07, Mark Crispin wrote: Yes, the mailutil program (included as part of the IMAP toolkit) has a mechanisms to copy a mailbox with a different format in the destination copy. Hmm, using the currently installed mailutil fails. I've renamed the Sent Items to sentold and run following command which just pops up the usage info: # mailutil copy -verbose sentold #driver.mbx/sentnew usage: mailutil copy [-debug] [-verbose] source destination The reason why I suggest upgrading is that the problem may be a bug that has already been fixed. I find it very difficult to believe that imapd was really out of memory. My real concern, is what if it doesn't fix the problem :-( Then I am pretty much back at square one. I am currently running 2002b. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
On Mon, 6 Oct 2003, Harondel J. Sibble wrote: # mailutil copy -verbose sentold #driver.mbx/sentnew usage: mailutil copy [-debug] [-verbose] source destination In some shells, # is a comment character, so you have to quote any string which uses it: mailutil copy -verbose sentold #driver.mbx/sentnew The reason why I suggest upgrading is that the problem may be a bug that has already been fixed. I find it very difficult to believe that imapd was really out of memory. My real concern, is what if it doesn't fix the problem :-( Then I am pretty much back at square one. I am currently running 2002b. If it doesn't solve the problem, then I will continue working with you until it is solved. I am very concerned about this report, but before expending resources on it I want to make sure that it isn't something that is already fixed. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
Re: problems with large imap folder/file
On 6 Oct 2003 at 9:20, Mark Crispin wrote: In some shells, # is a comment character, so you have to quote any string which uses it: mailutil copy -verbose sentold #driver.mbx/sentnew Hmmm... that also fails # mailutil copy -verbose sentold #driver.mbx/sentnew Can't open mailbox sentold: no such mailbox # ls -la sentold -rw--- 1 username groupname108783116 Oct 6 09:39 sentold If it doesn't solve the problem, then I will continue working with you until it is solved. I am very concerned about this report, but before expending resources on it I want to make sure that it isn't something that is already fixed. That makes good sense. Just downloading the latest version now. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
On 6 Oct 2003 at 11:15, Harondel J. Sibble wrote: Next I'll try using the mbx converted version of the Sent Items folder and see what happens. Will report under another email. I select messages, move them to local folder, select edit/purge ... Oct 6 11:35:52 server1 imapd[2415]: imap service init from 192.168.xxx.xxx Oct 6 11:35:53 server1 imapd[2415]: Login user=username host=localhost [192.168.xxx.xxx] Oct 6 11:36:09 server1 imapd[2416]: imap service init from 192.168.xxx.xxx Oct 6 11:36:09 server1 imapd[2416]: Login user=username host=localhost [192.168.xxx.xxx] Oct 6 11:36:11 server1 imapd[2416]: Command stream end of file, while reading line user=username host=localhost [192.168.xxx.xxx] And lo and behold, it appears to purge the messages fine. The user in question is currently in a meeting, once she gets out, I'll have her try the same thing and report back, meanwhile, I can finally have some breakfast ;-) -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
On 6 Oct 2003 at 12:44, Mark Crispin wrote: This is with an mbx-format Sent Items mailbox, and is *after* you purged it? So it is empty? Yes, converted from mbox to mbx, no it's not empty, there are approx 930 messages in the file, attempting to purge any of them results in the memory errors. Can you provide me with access to your system? Something very strange is going on. It's actually a client's machine and they aren't comfortable about someone they don't know being in the machine. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
On Mon, 6 Oct 2003, Harondel J. Sibble wrote: Yes, converted from mbox to mbx, no it's not empty, there are approx 930 messages in the file, attempting to purge any of them results in the memory errors. There are no calls to fs_resize() in the mbx driver expunge. Something else is going on. I would like to know what that is. Can you provide me with access to your system? Something very strange is going on. It's actually a client's machine and they aren't comfortable about someone they don't know being in the machine. Well, you can tell your client that this someone they don't know is the author of the imapd software that your client is giving root-level access. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.
Re: problems with large imap folder/file
On 6 Oct 2003 at 13:26, Mark Crispin wrote: There are no calls to fs_resize() in the mbx driver expunge. Something else is going on. I would like to know what that is. Heh, me too. Something else is going on indeed, just called the client back and it's working fine now, while 1 hour ago it wasn't shrug and the hour before that it worked fine for me. Actually that concerns me more than it not working at all. Well, you can tell your client that this someone they don't know is the author of the imapd software that your client is giving root-level access. I've explained that to them, we are going to leave it and see if it continues to work okay. If not, then I'll contact you about remote access. In that case can you send me a pgp signed/encrypted email with phone contact info? That way I can pass you login info directly. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
On 2 Oct 2003 at 14:22, Mark Crispin wrote: Your system should have quite enough memory to handle the mail file that you describe. Are you certain that you are using mbx format (files that have *mbx* as the first line)? in the user's home dir # head INBOX *mbx* 3e3df7c83343 # head Sent Items From MAILER-DAEMON Thu Oct 2 21:23:00 2003 Date: 02 Oct 2003 21:23:00 -0700 From: Mail System Internal Data [EMAIL PROTECTED] Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: [EMAIL PROTECTED] X-IMAP: 1065128750 018201 Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. Hmm, is there a way to convert the sent items folder to mbx as it looks like it's in mbox format Have you tried upgrading to the latest version of UW imapd? ftp://ftp.cac.washington.edu/mail/imap.tar.Z No, as that is not something that I can easily do until late next week due to time constraints. Idealy I'd like to find a workaround to this problem until that time. -- Harondel J. Sibble Sibble Computer Consulting Creating solutions for the small business and home computer user. [EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com (604) 739-3709 (voice/fax) (604) 686-2253 (pager)
Re: problems with large imap folder/file
Your system should have quite enough memory to handle the mail file that you describe. Are you certain that you are using mbx format (files that have *mbx* as the first line)? Have you tried upgrading to the latest version of UW imapd? ftp://ftp.cac.washington.edu/mail/imap.tar.Z -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.