IMAP account retrieval problem (reprise)

"dave johnson" <[email protected]> Sat, 20 Nov 2004 16:33:22 -0800
Newsgroups gmane.mail.zoe.general
Message-ID <[email protected]>
Zoe elves, et al,

Since about 2 months ago Zoe stopped retrieving mails from the Inbox of my 6 IMAP accounts.  It 
would still retreive from the "Sent" and "Drafts" mbox's located in my home directory, but none from 
the Inbox (located at /var/spool/mail).  I have all my IMAP accounts using the <machine name>/<IMAP 
root directory>/ (e.g. mail.foo.com/mail/) and was working well up until one day (not coinciding 
with any Zoe upgrade or otherwise) it just stopped getting the mails.  Full rebuild did not fix 
problem.

Assuming that it was a fault on my installation (corrupt store/index/prefs/otherwise) I put off 
debuging the problem until I had more time...

Fast-forward 2 months later to today....

-Installed the latest "build du jour" (Zoe20041107.tgz) in a completely fresh Z:\Zoe directory.

-Ensured latest JVM for platform.

-Launched and setup all IMAP accounts (messages are all stored on server.)

-Let Zoe retrieve, process, index, store, the server-stored messages from 6 IMAP accounts.

-Same result: mails in the "Inbox" of all accounts are not retrieved/processed/indexed.

---

-I enabled JavaMail debug via command C:\>echo debug.mail.session=true > 
C:\Zoe\Library\SZ\Configurations\Default\alt.dev.szmail.SZProvider.properties

-I relaunched zoe via "C:\Zoe>java -jar -Duser.name=speedster -jar zoe.jar daemon debug"

-I could see references in the command window to Zoe processing each folder begining in the 
IMAP:mailroot (e.g. "mail.foo.com/mail/") and all subfolders but was unable to identify the 
processing of the Inbox (again, normally /var/spool/mail/<username>.

-I checked Wiki (http://zoe.omara.ca/TroubleshootingZoe) and found this:

"Just Stops Getting IMAP MailZoe just stopped importing IMAP mail for me last week. I guessed that 
the issue might be that my IMAP mailbox was too full, and I moved a lot of messages out of my inbox 
to an archive folder. Things started working normally again immediately. FYI. --Ed Heil"

which seems worthless.  "...my IMAP mailbox was too full..."  what does this mean at all ?  User 
account was over quota ?  Mailbox format was corrupt ?  Mailbox needed purging/compacting ?

I have accounts ranging from 87 mails in the "Inbox" to 5000+ and none of them are being 
retrieved/processed, only those in local users home directory ("/home/<username>/mail/").

No where on the Wiki does it tell what "enableing Javamail debugging" does.  Where is output ?  Does 
output get echoed to main launch command window with other debugging info ?  Pardon my ignorance. 
If this is answered elsewhere, I will update Wiki accordingly.

Below is what appears to be the processing one of the IMAP accounts:

*******
11/20 16:25:36 (Debug) SZServiceAgent.processAccount: [email protected]
11/20 16:25:37 (Debug) SZConfiguration.properties: Looking for 
'C:\Zoe\Library\SZ\Configurations\Default\[email protected]@mail.foo.com.properties'.
11/20 16:25:37 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: anUrlName: 
'imap://hostmaster%405foo.com:[email protected]:143/mail/'
11/20 16:25:37 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getFile(): 'mail/'
11/20 16:25:37 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: aFolder: 'mail/'
11/20 16:25:37 (Debug) SZServiceAgent.defaultFoldersWithUrlNameInStore: getSeparator: '/'
11/20 16:25:37 (Debug) SZServiceAgent.messageFolders: 'mail/'
11/20 16:25:37 (Debug) SZServiceAgent.messageFolders: 'mail//Confirmations'
11/20 16:25:37 (Debug) SZServiceAgent.messageFolders: 'mail//Drafts'
11/20 16:25:37 (Debug) SZServiceAgent.messageFolders: 'mail//Sent'
11/20 16:25:38 (Debug) SZServiceAgent.messageFolders: 'mail//RackShack'
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: Processing: mail//RackShack
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@1724a9d
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: 26
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: Processing: mail//Drafts
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@11946c2
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: Processing: mail//Confirmations
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@1d3cdaa
11/20 16:25:38 (Debug) SZServiceAgent.processFolder: 138
11/20 16:25:39 (Debug) SZServiceAgent.processFolder: Processing: mail//Sent
11/20 16:25:39 (Debug) SZServiceAgent.processFolder: [Ljavax.mail.Message;@1b273cc
11/20 16:25:39 (Debug) SZServiceAgent.processFolder: 3
*******

From http://<zoe>/about:

 SYSTEM
Java HotSpotT Client VM 1.4.2_05
English (United States)
Sun Microsystems Inc.
8 MB of memory
Mozilla/4.0
Windows XP 5.1
X86

  INFO
11 threads running
no messages pending
15,419 messages
505 documents
2,834 names
1,152 organizations
12,079 urls

Previous install showed 24000+ messages (no doubt due to the fact that previous Inbox's were 
processed up until certain point.)

old Zoe\Library\SZ\Mails shows 514MB while current shows 109MB (due no doubt to the fact that the 
old isntall had processed many of the /var/spool/mail/<username> mails previous to the day it 
stopped functioning.

If I have ommited some info, please let me know which and how and I will get it for you.

Thank you for your effort in helping me track down the source of this issue.

-=dave 


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8