Re: IMAP account retrieval problem (reprise)

"dave johnson" <[email protected]> Mon, 22 Nov 2004 10:40:56 -0800
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
After applying the patch, the problem seems to still be present, although now debuging information 
on every message is much more explicit:

********
11/22 09:11:10 (Info) ZeroConf.register: aType: '_http._tcp.local.'
11/22 09:11:10 (Info) ZeroConf.register: aName: 'speedster's zoe._http._tcp.local.'
11/22 09:13:47 (Debug) SZServiceAgent.processIdentity: speedster
11/22 09:13:47 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZProvider.properties'.
11/22 09:13:47 (Debug) SZConfiguration.properties: Loading properties for 
'alt.dev.szmail.SZProvider'.
11/22 09:13:47 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZService.properties'.
11/22 09:13:47 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZSSL.properties'.
11/22 09:13:47 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZTransport.properties'.
11/22 09:13:47 (Debug) SZServiceAgent.processAccount: [email protected]
11/22 09:13:49 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\[email protected]@mail.foo.com.properties'.
11/22 09:13:49 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: anUrlName: 
'imap://dave%40foo.com:[email protected]:143/mail/'
11/22 09:13:49 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getFile(): 'mail/'
11/22 09:13:49 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: aFolder: 'mail/'
11/22 09:13:49 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getSeparator: '/'
11/22 09:13:49 (Debug) SZServiceAgent.messageFolders: 'mail/'
11/22 09:13:50 (Debug) SZServiceAgent.messageFolders: 'mail//Sent'
11/22 09:13:50 (Debug) SZServiceAgent.messageFolders: 'mail//Drafts'
11/22 09:13:50 (Debug) SZServiceAgent.messageFolders: 'mail//paypal'
11/22 09:13:50 (Debug) SZServiceAgent.messageFolders: 'mail//Trash'
11/22 09:13:50 (Debug) SZServiceAgent.processFolder: Processing: mail//paypal
11/22 09:13:50 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@11e0c13
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: 43
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.43
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.43
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.42
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.42
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.41
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.41

[skipping similar output...]

11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.4
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.4
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.3
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.3
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.2
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.2
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: anUID: mail//paypal.1067282145.1
11/22 09:13:51 (Debug) SZServiceAgent.processFolder: Skipping mail//paypal.1067282145.1
11/22 09:13:52 (Debug) SZServiceAgent.processFolder: Processing: mail//Sent
11/22 09:13:52 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@1a001ff
11/22 09:13:52 (Debug) SZServiceAgent.processFolder: 1027
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.1039
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.1039
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.1038
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.1038
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.1037
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.1037
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.1036
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.1036
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.1035
11/22 09:13:53 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.1035

[skipping similar output...]

11/22 09:13:54 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.386
11/22 09:13:54 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.386
11/22 09:13:54 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.385
11/22 09:13:54 (Debug) SZServiceAgent.processFolder: Skipping mail//Sent.1019035767.385
11/22 09:13:54 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.384
11/22 09:13:55 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZMail.properties'.
11/22 09:13:55 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZMail$ListFilter.properties'.
11/22 09:13:55 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\SpamHeader.properties'.
11/22 09:13:55 (Info) SZMail$MailFilter.<clinit>: {}
11/22 09:13:55 (Debug) SZServiceAgent.processFolder: 377
11/22 09:13:55 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.383
11/22 09:13:55 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZMessage.properties'.
11/22 09:13:56 (Debug) SZMailProcessor.runImplementation: Duplicate message: 
<[email protected]>
11/22 09:13:56 (Debug) SZMailProcessor.runImplementation: 1
11/22 09:13:56 (Debug) SZStore.saveChanges: Start.
11/22 09:13:56 (Debug) SZStore.saveChanges: count: 0
11/22 09:13:56 (Debug) SZStore.saveChanges: Done.
11/22 09:13:56 (Debug) SZServiceAgent.processFolder: 376
11/22 09:13:56 (Debug) SZServiceAgent.processFolder: anUID: mail//Sent.1019035767.382
11/22 09:13:56 (Debug) SZMailProcessor.runImplementation: Duplicate message: 
<[email protected]>
11/22 09:13:56 (Debug) SZMailProcessor.runImplementation: 1
11/22 09:13:56 (Debug) SZStore.saveChanges: Start.
11/22 09:13:56 (Debug) SZStore.saveChanges: count: 0
11/22 09:13:56 (Debug) SZStore.saveChanges: Done.

[skipping similar output for rest of "Sent", "Drafts" and "Trash" folder...]

11/22 09:18:03 (Debug) SZServiceAgent.processFolder: anUID: mail//Trash.1080199876.3
11/22 09:18:03 (Debug) SZServiceAgent.processFolder: Skipping mail//Trash.1080199876.3
11/22 09:18:03 (Debug) SZServiceAgent.processFolder: anUID: mail//Trash.1080199876.2
11/22 09:18:03 (Debug) SZServiceAgent.processFolder: Skipping mail//Trash.1080199876.2
11/22 09:18:03 (Debug) SZServiceAgent.processFolder: anUID: mail//Trash.1080199876.1
11/22 09:18:03 (Debug) SZServiceAgent.processFolder: Skipping mail//Trash.1080199876.1
11/22 09:18:03 (Debug) SZServiceAgent.processAccount: [email protected]
11/22 09:18:04 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\[email protected]@mail.foo.com.properties'.
11/22 09:18:04 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: anUrlName: 
'imap://hostmaster%40foo.com:[email protected]:143/mail/'
11/22 09:18:04 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getFile(): 'mail/'
11/22 09:18:04 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: aFolder: 'mail/'
11/22 09:18:04 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getSeparator: '/'
11/22 09:18:04 (Debug) SZServiceAgent.messageFolders: 'mail/'
11/22 09:18:04 (Debug) SZServiceAgent.messageFolders: 'mail//Confirmations'
11/22 09:18:04 (Debug) SZServiceAgent.messageFolders: 'mail//Drafts'
11/22 09:18:04 (Debug) SZServiceAgent.messageFolders: 'mail//Sent'
11/22 09:18:04 (Debug) SZServiceAgent.messageFolders: 'mail//RackShack'
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: Processing: mail//Drafts
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@89b953
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: Processing: mail//Confirmations
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@195dda9
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: 138
11/22 09:18:05 (Debug) SZServiceAgent.processFolder: anUID: mail//Confirmations.1052910022.138
11/22 09:18:06 (Debug) SZServiceAgent.processFolder: 137
11/22 09:18:06 (Debug) SZServiceAgent.processFolder: anUID: mail//Confirmations.1052910022.137
11/22 09:18:06 (Debug) SZMailProcessor.runImplementation: Duplicate message: 
<[email protected]>
11/22 09:18:06 (Debug) SZMailProcessor.runImplementation: 1
11/22 09:18:06 (Debug) SZStore.saveChanges: Start.
11/22 09:18:06 (Debug) SZStore.saveChanges: count: 0
11/22 09:18:06 (Debug) SZStore.saveChanges: Done.
11/22 09:18:06 (Debug) SZServiceAgent.processFolder: 136
11/22 09:18:06 (Debug) SZServiceAgent.processFolder: anUID: mail//Confirmations.1052910022.136
11/22 09:18:06 (Debug) SZMailProcessor.runImplementation: Duplicate message: 
<[email protected]>
11/22 09:18:06 (Debug) SZMailProcessor.runImplementation: 1
11/22 09:18:06 (Debug) SZStore.saveChanges: Start.
11/22 09:18:06 (Debug) SZStore.saveChanges: count: 0
11/22 09:18:06 (Debug) SZStore.saveChanges: Done.

[then continues as such through all accounts.]
*******

At no time does it appear to attempt to process the main mailbox spool.  To reiterate, these are the 
locations of the various mailboxes:

Inbox : /var/spool/mail/<username>
All others : /home/<username>/mail/<mailbox name>

Thank you.  Please let me know if I provide more testing or information.

-=dave

----- Original Message ----- 
From: "Zoe" <[email protected]>
To: <[email protected]>
Sent: Sunday, November 21, 2004 3:11 AM
Subject: Re: [Zoe-General] IMAP account retrieval problem (reprise)


> Hi Dave,
>
> On Nov 21, 2004, at 01:33, dave johnson wrote:
>
>> Thank you for your effort in helping me track down the source of this
>> issue.
>
> Could you do me a favor and give a try to the attached patch? This
> patch should do a better job at keeping track of what it has already
> seen from your email server.
>
> To install the patch, shutdown the app, unarchive the attachment and
> copy the resulting "SZServiceAgent.class" file into
> "<ZOE>/Library/Java/Patches/alt/dev/szmail/". Restart.
>
> To check if the patch was property installed, run the app in debug
> mode. You should see the following logs when fetching emails:
>
> 11/21 12:04:40 (Debug) SZServiceAgent.processFolder: anUID:
> INBOX.1011988858.47317
>
> The above is an UID for an IMAP server. The first part is the mailbox
> name, the second one the UIDValidity for that mailbox and the last part
> the UID itself.
>
> Thanks!
>
> Cheers,
>
> R.
>
>


--------------------------------------------------------------------------------


>
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/