andris9 / hoodiecrow

Scriptable IMAP server for client integration testing
http://andris9.github.io/hoodiecrow/
Other
60 stars 27 forks source link

Most IMAP clients won't fetch messages #18

Open MarceloEmmerich opened 9 years ago

MarceloEmmerich commented 9 years ago

I am using version 1.1.21. My command line is: hoodiecrow -d --smtpPort=25 --port=143

When I connect with Evloution/Apple Mail/Thunderbird there is no error but also no messages are retrieved. When I connect with mutt from the command line, it correctly fetches the two messages that live in the INBOX.

andris9 commented 9 years ago

Could you provide an IMAP transaction log of what is happening? Apple Mail for example is able to store logs by itself, just open Window->Connectivity Doctor and check Log Connection Activity checkbox.

MarceloEmmerich commented 9 years ago

Here is Evolution's log, there are two new unseen mails in the INBOX.

[imapx:A] I/O: '* OK Hoodiecrow ready for rumble' [imapx:A] I/O: 'A00000 CAPABILITY' [imapx:A] I/O: '* CAPABILITY IMAP4rev1' [imapx:A] I/O: 'A00000 OK Completed' [imapx:A] I/O: 'A00001 LOGIN ...' [imapx:A] I/O: 'A00001 OK User logged in' [imapx:A] I/O: 'A00002 CAPABILITY' [imapx:A] I/O: '* CAPABILITY IMAP4rev1' [imapx:A] I/O: 'A00002 OK Completed' [imapx:A] I/O: 'A00003 LIST "" INBOX' [imapx:A] I/O: '* LIST (\HasNoChildren) "/" "INBOX"' [imapx:A] I/O: 'A00003 OK Completed' [imapx:A] I/O: 'A00004 LSUB "" INBOX' [imapx:A] I/O: '* LSUB (\HasNoChildren) "/" "INBOX"' [imapx:A] I/O: 'A00004 OK Completed' [imapx:A] I/O: 'A00005 LIST "" ""' [imapx:A] I/O: ' LIST (\HasNoChildren) "/" "INBOX"' [imapx:A] I/O: 'A00005 OK Completed' [imapx:A] I/O: 'A00006 LSUB "" ""' [imapx:A] I/O: ' LSUB (\HasNoChildren) "/" "INBOX"' [imapx:A] I/O: 'A00006 OK Completed'

andris9 commented 9 years ago

Is that all it does? From this log the client just lists existing folders and thats it. Doesn't even try to open the mailbox.

andris9 commented 8 years ago

Pushed as v1.2.0