Since I learn some magic words, like POSIX, virtualization or networking, I become to a 1st level wizard in the obscure art of the systems administration.
Comment by ~ogarcia on ~migadu/alps
I'm sorry I have sent the patch wrong, I have already resent it correctly to the list, if you want just close this ticket.
Comment by ~ogarcia on ~migadu/alps
I think this function and the "reply all" function are the only ones missing to make the client perfect. Any news about this?
Ticket created by ~ogarcia on ~shruub/no-JS.club
- Domain: https://apps.moire.org/httpstatus/
- Size in KB: 222 KB
- Scan: https://gtmetrix.com/reports/apps.moire.org/Lcu7raqf/
Note: The main site is also JS-free. But the Magnet and WhatsApp tools unfortunately have a small script embedded in them to make them work.
And be careful, as js is embedded in the html itself, the tool does not detect it (example of Magnet): https://gtmetrix.com/reports/apps.moire.org/n481yehd/
Comment by ~ogarcia on ~migadu/alps
It's Gmail, so we shouldn't be surprised.
I am not an expert in the IMAP protocol, the only thing I can tell you is that if I try with other clients the content of the folder is listed correctly. But if you need anything I can help you to detect the source of the problem do not hesitate to ask me.
Comment by ~ogarcia on ~migadu/alps
~emersion I just checked with the last commit and it still happens :-(
Debug log:
May 01 09:08:50 nema alps[33486]: T9 STATUS "[Gmail]/Enviados" (MESSAGES UIDVALIDITY UNSEEN) May 01 09:08:51 nema alps[33486]: * STATUS "[Gmail]/Enviados" (MESSAGES 2996 UIDVALIDITY 635166362 UNSEEN 0) May 01 09:08:51 nema alps[33486]: T9 OK Success May 01 09:08:51 nema alps[33486]: T10 STATUS INBOX (UIDVALIDITY UNSEEN MESSAGES) May 01 09:08:51 nema alps[33486]: * STATUS "INBOX" (MESSAGES 3 UIDVALIDITY 635166357 UNSEEN 0) May 01 09:08:51 nema alps[33486]: T10 OK Success May 01 09:08:51 nema alps[33486]: T11 SELECT "[Gmail]/Enviados" May 01 09:08:51 nema alps[33486]: * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing Forwarded Junk JunkRecorded NonJunk NotJunk) May 01 09:08:51 nema alps[33486]: * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing Forwarded Junk JunkRecorded NonJunk NotJunk \*)] Flags permitted. May 01 09:08:51 nema alps[33486]: * OK [UIDVALIDITY 635166362] UIDs valid. May 01 09:08:51 nema alps[33486]: * 1811 EXISTS May 01 09:08:51 nema alps[33486]: * 0 RECENT May 01 09:08:51 nema alps[33486]: * OK [UIDNEXT 5480] Predicted next UID. May 01 09:08:51 nema alps[33486]: * OK [HIGHESTMODSEQ 14280317] May 01 09:08:51 nema alps[33486]: T11 OK [READ-WRITE] [Gmail]/Enviados selected. (Success) May 01 09:08:51 nema alps[33486]: T12 FETCH 2947:2996 (FLAGS ENVELOPE UID BODYSTRUCTURE) May 01 09:08:51 nema alps[33486]: T12 OK Success May 01 09:08:51 nema alps[33486]: 2023-05-01T09:08:51Z method=GET, uri=/mailbox/%255BGmail%255D%252FEnviados, status=200
Ticket created by ~ogarcia on ~migadu/alps
I have detected this problem with GMAIL. Certain IMAP folders appear empty in alps even though they have content. If I access with another IMAP client such as Roundcube, the content appears correctly.
This is what the log says in debug:
SaJARQ STATUS "[Gmail]/Enviados" (MESSAGES UIDVALIDITY UNSEEN) * STATUS "[Gmail]/Enviados" (MESSAGES 3043 UIDVALIDITY 635166362 UNSEEN 0) SaJARQ OK Success 1xX6jw STATUS INBOX (MESSAGES UIDVALIDITY UNSEEN) * STATUS "INBOX" (MESSAGES 4 UIDVALIDITY 635166357 UNSEEN 0) 1xX6jw OK Success YwwyPQ SELECT "[Gmail]/Enviados" * FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing Forwarded Junk JunkRecorded NonJunk NotJunk) * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $Junk $MDNSent $NotJunk $NotPhishing $Phishing Forwarded Junk JunkRecorded NonJunk NotJunk \*)] Flags permitted. * OK [UIDVALIDITY 635166362] UIDs valid. * 1802 EXISTS * 0 RECENT * OK [UIDNEXT 5471] Predicted next UID. * OK [HIGHESTMODSEQ 14193726] YwwyPQ OK [READ-WRITE] [Gmail]/Enviados selected. (Success) 3wvU_A FETCH 2994:3043 (FLAGS ENVELOPE UID BODYSTRUCTURE) 3wvU_A OK Success 2023-04-09T08:36:38Z method=GET, uri=/mailbox/%255BGmail%255D%252FEnviados, status=200
Moreover, in this particular case, since it is the sent folder that fails, when an email is sent, the system gives an error 500 because it is not able to show the sent email (although it sends it correctly).
Comment by ~ogarcia on ~migadu/alps
~emersion 20607d96 closes this issue?
Comment by ~ogarcia on ~migadu/alps
After a week of tests all works perfect. ~kon patch fix this issue.
Comment by ~ogarcia on ~migadu/alps
~emersion, yes. Your approach is much better than mine.
Ticket created by ~ogarcia on ~migadu/alps
Related to #150, #151, #154, #159
Right now the CategorizedMailboxes are forced to have the following names:
- Drafts
- Sent
- Junk
- Trash
- Archive
The main problem with this is that it assumes you have your mailbox in English and it doesn't have to be. In my personal case, having the mailbox in Spanish, the names of the CategorizedMailboxes are:
- Borradores
- Enviados
- Spam
- Papelera
- Archivo
And when you try to perform some kind of action that requires using any of these CategorizedMailboxes the system crashes with a 500 error.
--> After clicking on "Delete" o4hVUA UID MOVE 42034 "Trash" o4hVUA NO [TRYCREATE] No folder Trash (Failure) 2022-05-08T10:50:03+02:00 ERROR failed to move message: No folder Trash (Failure) 2022-05-08T10:50:03+02:00 method=POST, uri=/message/INBOX/move?to=Trash, status=500 --> After clicking on "Archive" 03kkxg UID MOVE 42034 "Archive" 03kkxg NO [TRYCREATE] No folder Archive (Failure) 2022-05-08T10:50:34+02:00 ERROR failed to move message: No folder Archive (Failure) 2022-05-08T10:50:34+02:00 method=POST, uri=/message/INBOX/move?to=Archive, status=500 --> After clicking on "Report Spam" P22Tug UID MOVE 42034 "Junk" P22Tug NO [TRYCREATE] No folder Junk (Failure) 2022-05-08T10:53:24+02:00 ERROR failed to move message: No folder Junk (Failure) 2022-05-08T10:53:24+02:00 method=POST, uri=/message/INBOX/move?to=Junk, status=500 --> After sending each message 2022-05-08T10:55:59+02:00 ERROR failed to save message to Sent mailbox: Unable to resolve mailbox 2022-05-08T10:55:59+02:00 method=POST, uri=/compose, status=500
It would be very interesting to have some method for the user to choose which directories correspond to the CategorizedMailboxes in their our settings.