Opened 8 years ago
Closed 8 years ago
#13298 closed bug (fixed)
Mail isn't collected from IMAP server
Reported by: | davewthompson | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/mail_daemon | Version: | R1/Development |
Keywords: | mail email | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
In build hrev50941 mail isn't picked up from the IMAP server. It is, however, sent.
I have a fresh installation and have configured a IMAP/SMTP server I have on my local network. No encryption. Outlook can pick it up fine.
When running the mail preferences panel from the Terminal, I can see the IMAP connection succeeding, but it never works in the background.
Attachments (1)
Change History (6)
comment:2 by , 8 years ago
There's actually an interesting little bug here; the INBOX is always seen as being subscribed inside Protocol.cpp:167, but the E-mail Preflet won't set the INBOX as being subscribed because it 'sees' it as already subscribed - even though it isn't.
comment:3 by , 8 years ago
This was tentitively fixed on my local workstation.
entry.folder.ICompare("INBOX") == 0" condition from: https://cgit.haiku-os.org/haiku/tree/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/Protocol.cpp#n170 |
by , 8 years ago
Attachment: | 0001-Removed-INBOX-check-inside-IMAP-protocol-s-GetFolder.patch added |
---|
Patch file to remove inbox
comment:4 by , 8 years ago
patch: | 0 → 1 |
---|
comment:5 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the patch, applied in hrev50992.
Been looking into the log files when running mail_daemon. It looks like the code *never* checks the INBOX, even though the E-mail preflet shows INBOX as one of the selected folders.
The IMAP client is not subscribed to the INBOX - this is the core issue here.