login about faq

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

asked Aug 13 '17 at 07:00

bwill's gravatar image

bwill
3511


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.

link

answered Aug 14 '17 at 20:45

chilkat's gravatar image

chilkat ♦♦
12.8k318382528

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
--ChilkatLog
The 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 if
where 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 in

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

Mit freundlichen Grüßen/Regards

Beatrix Willius

http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals

link

answered Aug 15 '17 at 12:19

bwill's gravatar image

bwill
3511

edited Aug 17 '17 at 10:23

chilkat's gravatar image

chilkat ♦♦
12.8k318382528

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 ".".

link

answered Aug 17 '17 at 10:26

chilkat's gravatar image

chilkat ♦♦
12.8k318382528

Thanks. I'll have the user check if he can get something from his ISP.

link

answered Aug 21 '17 at 02:55

bwill's gravatar image

bwill
3511

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×190
×23

Asked: Aug 13 '17 at 07:00

Seen: 1,136 times

Last updated: Aug 21 '17 at 02:55

powered by OSQA