On 6 Oct 2003 at 10:01, Mark Crispin wrote:

> mailutil does not operate on the connected directory; it operates on the
> mail home directory (which, unless you've set it elsewhere, would be the
> user's UNIX home directory).  Try specifying a fully-qualified path, or at
> If you are running this as root, try becoming the target user instead.
> Strange things happen when you run these tools as root.

That worked fine and I made a copy of the Sent Items into mbx format while 
running mailutil as the user.

Now.. the memory crash still happens with latest version of imapd.

Here are the steps I took and how to recreate problem.

downloaded: ftp://ftp.cac.washington.edu/mail/imap.tar.Z

as root

-extracted: tar xvzf imap.tar.Z
-cd imap-2002e/
-read the README file and looked at unix build instructions on the website
-make lnp SSLTYPE=none
-cd imapd/
-backup current imapd: mv /usr/sbin/imapd /usr/sbin/imapd.bak-oct06-03-1008
-cp imapd /usr/sbin/imapd

Now I startup outlook express on the clients machine (actually ssh tunneled 
connection to my machine, however errors are the same regardless)

I tell OE synchronize folders, it downloads approx 900 messages to the sent 
items folder. I highlight say 5 or 10 messages in sent items and drag them to 
a local (move rather than copy) so I have backups of messages I am working 
with.

Server shows following

Oct  6 10:45:39 server1 imapd[2199]: imap service init from 192.168.xxx.xxx
Oct  6 10:45:39 server1 imapd[2199]: Login user=username host=localhost 
[192.168.xxx.xxx]
Oct  6 10:47:34 server1 imapd[2204]: imap service init from 192.168.xxx.xxx
Oct  6 10:47:34 server1 imapd[2204]: Login user=username host=localhost 
[192.168.xxx.xxx]
Oct  6 10:48:05 server1 imapd[2204]: Command stream end of file, while 
reading line
 user=username host=localhost [192.168.xxx.xxx]

also sometimes see

Oct  6 10:53:43 server1 imapd[2220]: Killed (lost mailbox lock) user=username 
host=localhost [192.168.xxx.xxx]
Oct  6 10:53:45 server1 imapd[2220]: Broken pipe, while reading line 
user=username host=localhost [192.168.xxx.xxx]

OE reports loss of mailbox lock

The messages are now all marked with a line through them and a red X, so I 
then click edit/purge deleted messages and see following at mail server side:

Oct  6 10:55:16 server1 imapd[2222]: Fatal error user=username host=localhost 
[192.168.xxx.xxx] mbx=/home/username/Sent Items: Can't resize memory
Oct  6 10:55:16 server1 imapd[2222]: IMAP toolkit crash: Can't resize memory

OE reports

Your server has unexpecteldy terminated the connection. Possible causes for 
this include server problems, network problems or a long period of 
inactivity,

Details shows:
The server did not respond to this IMAP command before the connection was 
terminated.

Clicking okay results in message:

Your IMAP server wishes to alert you to the following: IMAP4rev1 server 
crashing: Can't resize memory.

Next I'll try using the mbx converted version of the Sent Items folder and 
see what happens. Will report under another email.


Running top shows

 10:43am  up  2:46,  2 users,  load average: 0.20, 0.30, 0.33
46 processes: 43 sleeping, 3 running, 0 zombie, 0 stopped
CPU states:  3.5% user,  2.3% system,  0.0% nice, 94.0% idle
Mem:   63080K av,  61616K used,   1464K free,  19684K shrd,  15552K buff
Swap:      0K av,      0K used,      0K free                 24504K cached

and the line for the user

2181 username     9   0   956  956   784 S       0  0.1  1.5   0:00 imapd

-- 
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)


Reply via email to