Open Geryishere opened 1 month ago
Is it correctly understood that you can see the emails on the local server in the cypht inbox, but not in the "all" abd "everything" views? If so, it could be related to this : #1195 If that is the case, can you try to connect to the local server in a python shell using imaplib?
import imaplib
# presumably localhost, or just the address to your local imap server.
mail = imaplib.IMAP4_SSL('localhost')
mail.login('you@yourownmailserver.com', 'yourveryprivatepassword')
mail.select('INBOX')
# choose a date below so that you know there are some mails in your inbox since then
status, data = mail.search(None, '(ALL) ALL SINCE "16-Aug-2024" NOT HEADER X-Auto-Bcc cypht')
inspect the data
variable, it should contains as many id numbers as there are mails since that date.
If there are none, try to repeat the last line but omit the NOT HEADER X-Auto-Bcc cypht
part, and see if the results change.
Thank you @Geryishere
Some community members reported this on the chat: https://gitter.im/cypht-org/community
But AFAIK, none of the active developers were able to reproduce it. Could you join us on the chat and do a screenshare with one of the developers?
Thank you @indridieinarsson for your suggestions. I will try to figure out the imaplib data then and provide you with the results. Could you @marclaporte tell me how to join in the chat for a screenshare with one of the developers? Is it the community group https://gitter.im/cypht-org/community ? Is it a real time chat (UTC-4 timezone)?
As suggested by @indridieinarsson, I have carried out the python shell using imaplib. Here is the outcome:
import imaplib mail = imaplib.IMAP4_SSL('192.168..') mail.login('**@local', '***') ('OK', [b'LOGIN completed']) mail.select('INBOX') ('OK', [b'2']) status, data = mail.search(None, '(ALL) ALL SINCE "16-Aug-2024" NOT HEADER X-Auto-Bcc cypht')
result: no id numbers at all, although I received a lot of emails since 16-Aug-2024
then I tried:
status, data = mail.search(None, '(ALL) ALL SINCE "16-Aug-2024" ')
no Id number as well
@Geryishere that's weird. Might try with just '' ALL SINCE "16-Aug-2024", but I'm a bit outside of my expertise here. Since the normal Inbox is showing messages, but the aggregate views are not, I suspected an issue with the search. At least it's not the issue I was having.
As the aggregate views are using Imap search, this might still be a search issue - you might want to try to rebuild the search index in xeams : https://www.xeams.com/rebuildingsearchindex.htm (old article, but seams to still be valid).
The result was not positive: All boxes "Everything", "History" and "All" remain empty,
@Geryishere ok. I think I'm out of ideas for the moment.
@Geryishere The offer for a screenshare is sti available :-)
š Bugreport
When connecting Cypht webmail client to local hosted IMAP server (XEAMS), which is located in the same network as Cypht, and configurating two different email accounts, the "All" Inbox, "Everything" box and "History" box remain empty. This is NOT the case when connecting to external (commercial) IMAP servers such as GMX or Google. However, all email accounts are correctly displayed separately under "Email" and synchronise perfectly with the local IMAP host (XEAMS).
Version & Environment
v2.4.0 installed on Ubuntu 22.04 within LXD container
Steps to reproduce