Question:
Hi,
how can I recognize internal folders like
dovecot.svbin dovecot.sieve
? The flags of both mailboxes is HasNoChildren. Of course, I can exclude the 2 mailboxes but I would prefer to recognize the internal mailboxes somehow.
Mit freundlichen Grüßen/Regards
Beatrix Willius
http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals
I'm not entirely sure. The information that has meaning for me (i.e. the IMAP client) is what is contained in the IMAP protocol responses to requests, such as for fetching a listing of mailboxes.
From an IMAP client's point of view, GMail is just another IMAP server that must communicate according to the IMAP protocol. If Google's GMail web interface may use its own terminology, but it corresponds to the IMAP protocol in some way. I would need to understand how these things are defined in the IMAP protocol (not in Google UI terms). In other words, a session log of the IMAP conversation might help.
Below is what I got from the customer.
2017-08-08, 18:19:47 ImapController.getNoOfMails mailbox doesn't exist: dovecot 2017-08-08, 18:19:47 ImapIterator.GetNumberOfObjects dovecot 0 2017-08-08, 18:19:50 ImapController.getNoOfMails mailbox selection: dovecot.sieve ChilkatLog: ExamineMailbox: DllDate: Jan 24 2017 ChilkatVersion: 9.5.0.66 UnlockPrefix: BEATRX.CB10118 Architecture: Little Endian; 32-bit Language: MAC OS X C/C++ VerboseLogging: 0 mailbox: dovecot.sieve selectMailboxInner: mailboxPath: dovecot.sieve separatorChar: . Escaping quotes and backslashes in mailbox name... utf7EncodedMailboxPath: dovecot.sieve isOK: serverResponse: aaae NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2017-08-08 09:19:50] --isOK --selectMailboxInner Failed to select/examine mailbox mailbox: dovecot.sieve imapSelectResponse: aaae NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2017-08-08 09:19:50] Failed. --ExamineMailbox --ChilkatLogThe first 2 lines are for the mailbox "dovecot". I do an email archiving software so it's a bit different from a mail client. The "mailbox doesn't exist" comes from the following code:
'check if mailbox really exists if MailboxesOriginal.IndexOf(MailboxPath) = -1 then globals.theErrorLog.LogItem CurrentMethodName + " mailbox doesn't exist: " + MailboxPath Return 0 end ifwhere MailboxesOriginal is a complete list of the mailboxes.
And then I got the mailboxes followed by the flags from him - divided by xxx.
2017-08-13, 10:54:58 created Error Log 2017-08-13, 10:55:22 ----INFO---- Connecting to IMAP server at mailbox.rollernet.us:993 ----IMAP RESPONSE---- * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. ----IMAP REQUEST---- aaab LOGIN "guenter@xxxxxx.com" ----IMAP RESPONSE---- aaab OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged inMit freundlichen Grüßen/Regards2017-08-13, 10:55:22 Dialog: Success 2017-08-13, 10:55:27 ----INFO---- Connecting to IMAP server at mailbox.rollernet.us:993 ----IMAP RESPONSE---- * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready. ----IMAP REQUEST---- aaab LOGIN "guenter@x-tag.com" ----IMAP RESPONSE---- aaab OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA] Logged in
2017-08-13, 10:55:28 Sent MessagesxxxGelöschte ElementexxxINBOXxxxINBOX.ArchivxxxINBOX.Archiv.KeysxxxINBOX.Archiv.FirmaxxxINBOX.Archiv.ShoppingxxxINBOX.Archiv.MBG BludenzxxxINBOX.Archiv.MBG Bludenz.HPxxxINBOX.Archiv.VersicherungxxxINBOX.Archiv.ModellexxxINBOX.Archiv.AutoxxxINBOX.Archiv.HausxxxINBOX.Archiv.FriendsxxxINBOX.Archiv.FinanzenxxxDeleted MessagesxxxEntwürfexxxdovecot.svbinxxxdovecot.sievexxxArchivexxxSnoozexxxMarkiertxxxJunk-E-MailxxxTrashxxxDraftsxxxGesendete ElementexxxJunkxxxLaterxxxSent 2017-08-13, 10:55:28 HasNoChildrenxxxHasNoChildrenxxxHasChildrenxxxHasChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildrenxxxHasNoChildren
Beatrix Willius
http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals
The LastErrorText for the call to ExamineMailbox shows that the server responded with:
serverResponse: aaae NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2017-08-08 09:19:50]
I would look at the server log...
Also, check to make sure that the mailbox separator char is indeed ".".
Thanks. I'll have the user check if he can get something from his ISP.