Hi All,

I have a scenario where the wrong emails are being deleted from the user's
inbox. Has anyone encountered such problem and/or resolved it? Any help or
pointers for further troubleshooting or fix is most welcome.

VERSION:
========
Server: Apache James 2.2
Client: Chilkat 7.5 .NET Components
========

SCENARIO:
=========
1. The scenario starts with 100 messages (1st batch) in user A's inbox.

2. User A starts up his client (using Chilkat .NET components v.7.5) and
begins downloading and deleting (using the API's deleteByUIDL) each of these
100 messages one by one.
Almost simultaneously, from another client (this one using JavaMail), I send
another 100 email (2nd batch) to user A inbox.

3. User A successfully downloads all 100 from 1st batch.

4. On inspection of his inbox folder, I found 
        3 messages from 1st batch and (Expected 0)
        97 messages from 2nd batch!   (Expected 100)
        ===>> It seems that at some point the 'delete' operations have
targetted the wrong messages.
=========

JAMES LOG:
==========
Here are the 100 DELE commands I extracted from the pop log (and there's
only 100). The numbering (order num?) is not consistent(?). 
This is a test server and all the DELE commands are for this scenario.

Does the DELE command come directly from the client or is there some kind of
mapping (Between UIDL and message order num) being maintained and resolved
by James?:
24/04/06 10:54:14 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:18 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:22 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:27 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:31 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:35 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:39 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:44 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:48 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:52 DEBUG pop3server: Command received: DELE 1
24/04/06 10:54:56 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:00 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:04 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:08 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:13 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:17 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:21 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:25 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:29 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:33 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:37 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:43 DEBUG pop3server: Command received: DELE 1
24/04/06 10:55:49 DEBUG pop3server: Command received: DELE 9
24/04/06 10:55:55 DEBUG pop3server: Command received: DELE 23
24/04/06 10:56:00 DEBUG pop3server: Command received: DELE 31
24/04/06 10:56:06 DEBUG pop3server: Command received: DELE 31
24/04/06 10:56:11 DEBUG pop3server: Command received: DELE 31
24/04/06 10:56:15 DEBUG pop3server: Command received: DELE 31
24/04/06 10:56:20 DEBUG pop3server: Command received: DELE 31
24/04/06 10:56:24 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:29 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:33 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:37 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:41 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:46 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:50 DEBUG pop3server: Command received: DELE 32
24/04/06 10:56:54 DEBUG pop3server: Command received: DELE 33
24/04/06 10:56:59 DEBUG pop3server: Command received: DELE 33
24/04/06 10:57:03 DEBUG pop3server: Command received: DELE 37
24/04/06 10:57:09 DEBUG pop3server: Command received: DELE 37
24/04/06 10:57:13 DEBUG pop3server: Command received: DELE 37
24/04/06 10:57:17 DEBUG pop3server: Command received: DELE 39
24/04/06 10:57:22 DEBUG pop3server: Command received: DELE 40
24/04/06 10:57:26 DEBUG pop3server: Command received: DELE 40
24/04/06 10:57:30 DEBUG pop3server: Command received: DELE 40
24/04/06 10:57:35 DEBUG pop3server: Command received: DELE 40
24/04/06 10:57:39 DEBUG pop3server: Command received: DELE 41
24/04/06 10:57:43 DEBUG pop3server: Command received: DELE 42
24/04/06 10:57:48 DEBUG pop3server: Command received: DELE 43
24/04/06 10:57:52 DEBUG pop3server: Command received: DELE 43
24/04/06 10:57:56 DEBUG pop3server: Command received: DELE 43
24/04/06 10:58:00 DEBUG pop3server: Command received: DELE 46
24/04/06 10:58:04 DEBUG pop3server: Command received: DELE 48
24/04/06 10:58:09 DEBUG pop3server: Command received: DELE 49
24/04/06 10:58:14 DEBUG pop3server: Command received: DELE 49
24/04/06 10:58:18 DEBUG pop3server: Command received: DELE 49
24/04/06 10:58:23 DEBUG pop3server: Command received: DELE 56
24/04/06 10:58:27 DEBUG pop3server: Command received: DELE 57
24/04/06 10:58:32 DEBUG pop3server: Command received: DELE 63
24/04/06 10:58:36 DEBUG pop3server: Command received: DELE 63
24/04/06 10:58:40 DEBUG pop3server: Command received: DELE 67
24/04/06 10:58:44 DEBUG pop3server: Command received: DELE 67
24/04/06 10:58:48 DEBUG pop3server: Command received: DELE 68
24/04/06 10:58:52 DEBUG pop3server: Command received: DELE 69
24/04/06 10:58:56 DEBUG pop3server: Command received: DELE 69
24/04/06 10:59:00 DEBUG pop3server: Command received: DELE 70
24/04/06 10:59:05 DEBUG pop3server: Command received: DELE 70
24/04/06 10:59:09 DEBUG pop3server: Command received: DELE 70
24/04/06 10:59:14 DEBUG pop3server: Command received: DELE 70
24/04/06 10:59:18 DEBUG pop3server: Command received: DELE 70
24/04/06 10:59:22 DEBUG pop3server: Command received: DELE 78
24/04/06 10:59:26 DEBUG pop3server: Command received: DELE 78
24/04/06 10:59:30 DEBUG pop3server: Command received: DELE 78
24/04/06 10:59:34 DEBUG pop3server: Command received: DELE 80
24/04/06 10:59:38 DEBUG pop3server: Command received: DELE 80
24/04/06 10:59:43 DEBUG pop3server: Command received: DELE 80
24/04/06 10:59:47 DEBUG pop3server: Command received: DELE 80
24/04/06 10:59:51 DEBUG pop3server: Command received: DELE 81
24/04/06 10:59:55 DEBUG pop3server: Command received: DELE 81
24/04/06 10:59:59 DEBUG pop3server: Command received: DELE 81
24/04/06 11:00:03 DEBUG pop3server: Command received: DELE 81
24/04/06 11:00:07 DEBUG pop3server: Command received: DELE 82
24/04/06 11:00:11 DEBUG pop3server: Command received: DELE 83
24/04/06 11:00:17 DEBUG pop3server: Command received: DELE 84
24/04/06 11:00:22 DEBUG pop3server: Command received: DELE 84
24/04/06 11:00:26 DEBUG pop3server: Command received: DELE 87
24/04/06 11:00:30 DEBUG pop3server: Command received: DELE 87
24/04/06 11:00:34 DEBUG pop3server: Command received: DELE 87
24/04/06 11:00:38 DEBUG pop3server: Command received: DELE 88
24/04/06 11:00:42 DEBUG pop3server: Command received: DELE 88
24/04/06 11:00:47 DEBUG pop3server: Command received: DELE 88
24/04/06 11:00:51 DEBUG pop3server: Command received: DELE 92
24/04/06 11:00:55 DEBUG pop3server: Command received: DELE 94
24/04/06 11:00:59 DEBUG pop3server: Command received: DELE 96
24/04/06 11:01:04 DEBUG pop3server: Command received: DELE 100
24/04/06 11:01:08 DEBUG pop3server: Command received: DELE 100
24/04/06 11:01:13 DEBUG pop3server: Command received: DELE 100
24/04/06 11:01:18 DEBUG pop3server: Command received: DELE 100
24/04/06 11:01:24 DEBUG pop3server: Command received: DELE 101
24/04/06 11:01:28 DEBUG pop3server: Command received: DELE 101
==========

Regards,
Al

Send instant messages to your online friends http://asia.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to