Restored mail folders conflict with renamed original ones
Hello,
We are running Dovecot 2.3.18 (together with Postfix) on CentOS 7. It uses a Maildir structure.
We have a user who has organized his mailbox as shows up at the end of this mail. The user had forgotten that he had renamed his "Grants Active \ European" (.Grants Active.European) folder to "Grants Active \ International" (.Grants Active.International), he thought that it was lost and requested a restore of "Grants Active \ European" (with all of its subfolders) from backup.
Since we did that (using a simple "cp -rp" from a backup, observing timestamps, ownership and permissions), mail client software won't see "European" mail folder in "Grants Active" mail folder; "International" mail folder shows up but only with two folders, those which do not exist in "European" branch (obviously, these were created later).
I have tried to run the command "doveadm index -u userx Grants\ Active" and likewise for each and every mail subfolder under "Grants\ Active"; I have also tried deleting the dovecot.index.cache and dovecot.index.log from the latter ("Grants\ Active") and then run:
doveadm -vD force-resync -u userx Grants\ Active
but it didn't do the trick: Mail clients are still stuck as I explained.
In the end, I thought that the snag might be that mail folders that are not appearing have identical (duplicate) UIDs; As an example:
[root@mailx .Grants Active.European]# cat dovecot-uidlist
3 V1548680759 N1 G64e70a1130343f61003c0000715faa8d
[root@mailx .Grants Active.European]# cd ..
[root@mailx Maildir]# cd .Grants\ Active.International
[root@mailx .Grants Active.International]# cat dovecot-uidlist
3 V1548680759 N1 G64e70a1130343f61003c0000715faa8d
If so, how should we overcome this issue?
I guess I could simply delete the restored folders to return to an acceptable state? If nevertheless we need to restore the ".European" mail folder from a backup (as it was before getting renamed), what would be the right way to do so?
Is there another way to resolve the issue without deleting the restored mail folders?
Here is the list of mail folders in this mailbox (I have intentionally removed lots of them, to reduce irrelevant content; this mailbox includes a large number of mail folders):
# doveadm mailbox list -u userx
IGARSS 2024
IAC2022
Junk
...
Junk E-mail
INBOX.EMISSION
...
Trash
Trash.Equality
Trash.sadf
...
Grants Active
Grants Active.European
Grants Active.European.URBAN RELEAF
Grants Active.European.SMURBS
Grants Active.European.SMURBS.In Kind
Grants Active.European.SMURBS.Final Reports
Grants Active.European.RI-URBANS
Grants Active.European.QA4EO
Grants Active.European.ATMO-ACCESS
Grants Active.European.IGOSP
Grants Active.European.GAUSS
Grants Active.European.E-SHAPE
Grants Active.European.CIROCCO
Grants Active.European.InCASE
Grants Active.European.EIFFEL
Grants Active.European.ARSINOE
Grants Active.International
Grants Active.International.2324
Grants Active.International.GAUSS
Grants Active.International.CIROCCO
Grants Active.International.IGOSP
Grants Active.International.ATMO-ACCESS
Grants Active.International.URBAN RELEAF
Grants Active.International.InCASE
Grants Active.International.ARSINOE
Grants Active.International.RI-URBANS
Grants Active.International.E-SHAPE
Grants Active.International.EIFFEL
Grants Active.International.QA4EO
Grants Active.International.SMURBS
Grants Active.International.SMURBS.Final Reports
Grants Active.International.SMURBS.In Kind
Grants Active.International.India
Grants Active.Urban ReLeaf
Grants Active.National
Grants Active.National.ΑΓ ΠΑΡΑΣΚΕΥΗ
Grants Active.National.ΠΕΤΡΟΥΠΟΛΗ
Grants Active.National.CLIMATTICA
Grants Active.National.ΝΑΥΠΛΙΟ
Grants Active.National.ΕΔΒΜ
Grants Active.National.PANGEA
Grants Active.National.ΕΛΙΔΕΚ
Grants Active.National.ΕΛΙΔΕΚ.OXONIAN - Δέσποινα
Grants Active.National.ΕΛΙΔΕΚ.Νασια PhD
Grants Active.National.CLIMPACT
Sent
...
INBOX
Please, provide some guidance on what we should do to make these mail folders work correctly again.
Sorry, I am not very knowledgeable on mail inner architecture and operations; please let me know if you need additional info.
Thanks in advance, Nick
On 20/02/2023 23:42 EET Nikolaos Milas nmilas@noa.gr wrote:
Hello,
We are running Dovecot 2.3.18 (together with Postfix) on CentOS 7. It uses a Maildir structure.
We have a user who has organized his mailbox as shows up at the end of this mail. The user had forgotten that he had renamed his "Grants Active \ European" (.Grants Active.European) folder to "Grants Active \ International" (.Grants Active.International), he thought that it was lost and requested a restore of "Grants Active \ European" (with all of its subfolders) from backup.
Since we did that (using a simple "cp -rp" from a backup, observing timestamps, ownership and permissions), mail client software won't see "European" mail folder in"Grants Active" mail folder; "International" mail folder shows up but only with two folders, those which do not exist in "European" branch (obviously, these were created later).
I have tried to run the command "doveadm index -u userx Grants\ Active" and likewise for each and every mail subfolder under "Grants\ Active"; I have also tried deleting the dovecot.index.cache and dovecot.index.log from the latter ("Grants\ Active") and then run:
doveadm -vD force-resync -u userx Grants\ Active but it didn't do the trick: Mail clients are still stuck as I explained.
In the end, I thought that the snag might be that mail folders that are not appearing have identical (duplicate) UIDs; As an example:
[root@mailx .Grants Active.European]# cat dovecot-uidlist 3 V1548680759 N1 G64e70a1130343f61003c0000715faa8d [root@mailx .Grants Active.European]# cd .. [root@mailx Maildir]# cd .Grants\ Active.International [root@mailx .Grants Active.International]# cat dovecot-uidlist 3 V1548680759 N1 G64e70a1130343f61003c0000715faa8d
If so, how should we overcome this issue?
I guess I could simply delete the restored folders to return to an acceptable state? If nevertheless we need to restore the ".European" mail folder from a backup (as it was before getting renamed), what would be the right way to do so?
Is there another way to resolve the issue without deleting the restored mail folders?
Here is the list of mail folders in this mailbox (I have intentionally removed lots of them, to reduce irrelevant content; this mailbox includes a large number of mail folders):
Can you enable mail_debug=yes, restart, ask the user to access the folder(s) and provide those logs?
Aki
On 21/2/2023 9:56 π.μ., Aki Tuomi wrote:
Can you enable mail_debug=yes, restart, ask the user to access the folder(s) and provide those logs?
Hi Aki,
Thank you for the reply.
I have done as you requested; I isolated the log lines for the user in question, and I pasted the log here:
https://pastebin.com/vMGyikpA
At the end of the txt file you can see a directory listing of the directories associated with the problem.
It seems to me that the folders in question do not get opened and there is no error message or other log entry about them. They seem as being totally ignored.
I remain at your disposal for any additional information you may require.
I look forward to your feedback.
(Note: I initially tried to post the log text as an attachment, but it seems it remains blocked due to a message size limit.)
Thanks again, Nick
Can you please try
doveadm exec imap -u username_of_the_user 1 LIST "" "*"
and see if it is there?
Aki
On 22/02/2023 14:28 EET Nikolaos Milas nmilas@noa.gr wrote:
On 21/2/2023 9:56 π.μ., Aki Tuomi wrote:
Can you enable mail_debug=yes, restart, ask the user to access the folder(s) and provide those logs?
Hi Aki,
Thank you for the reply.
I have done as you requested; I isolated the log lines for the user in question, and I pasted the log here:
At the end of the txt file you can see a directory listing of the directories associated with the problem. It seems to me that the folders in question do not get opened and there is no error message or other log entry about them. They seem as being totally ignored.
I remain at your disposal for any additional information you may require.
I look forward to your feedback. (Note: I initially tried to post the log text as an attachment, but it seems it remains blocked due to a message size limit.)
Thanks again, Nick
On 22/2/2023 2:30 μ.μ., Aki Tuomi wrote:
Can you please try
doveadm exec imap -u username_of_the_user 1 LIST "" "*"
and see if it is there?
Here is the output:
# doveadm exec imap -u userx
- PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA] Logged in as userx 1 LIST "" "*"
- LIST (\HasNoChildren \UnMarked) "." "IGARSS 2024"
- LIST (\HasNoChildren \UnMarked) "." IAC2022
- LIST (\HasNoChildren \UnMarked \Junk) "." Junk
- LIST (\HasNoChildren \UnMarked) "." "&A5UDwAO5A8QDwQO,A8ADrg- &A5kDwwPMA8QDtwPEA7EDwg-"
- LIST (\HasNoChildren) "." "&A50-OC CENTER NOA"
- LIST (\HasNoChildren \UnMarked) "." "Municipalities Interaction"
- LIST (\HasNoChildren \UnMarked) "." MEDINEVO
- LIST (\HasNoChildren \UnMarked) "." Personal
- LIST (\HasNoChildren \UnMarked) "." &A6ADwQO,A7wDrgO4A7UDuQO1A8I-
- LIST (\HasNoChildren \UnMarked) "." &A5UDmwOjA6QDkQOk-
- LIST (\HasNoChildren \UnMarked) "." &A5QDow-
- LIST (\HasNoChildren \UnMarked) "." &A5QDuQOxA7MDyQO9A7kDwwO8A78Drw-
- LIST (\HasChildren) "." "Vagg Personal"
- LIST (\HasNoChildren \UnMarked) "." "Vagg Personal.&A5oDzQPAA8EDvwPC-"
- LIST (\HasNoChildren \UnMarked) "." "Vagg Personal.&A5UDuwO1A7MDugPEA7kDugPM-"
- LIST (\HasNoChildren \UnMarked) "." "Vagg Personal.&A5oDsQO7A7EDvAOsA8QDsQ-"
- LIST (\HasNoChildren \UnMarked) "." "Vagg Personal.&A5UDkQOg-"
- LIST (\HasChildren \UnMarked) "." "Grants Finished"
- LIST (\HasNoChildren) "." "Grants Finished.PANACEA"
- LIST (\HasNoChildren \UnMarked) "." "Grants Finished.SIMPHAC"
- LIST (\HasNoChildren \UnMarked) "." "Grants Finished.Piraeus AQ"
- LIST (\HasNoChildren \UnMarked) "." "Grants Finished.&A6ADlQOjA6ADmgOR-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Finished.EMISSION"
- LIST (\HasNoChildren \UnMarked) "." "Grants Finished.INFRASTRESS"
- LIST (\HasNoChildren \UnMarked) "." MURAL
- LIST (\HasNoChildren \UnMarked) "." Travels
- LIST (\HasChildren \UnMarked) "." APCG
- LIST (\HasNoChildren \UnMarked) "." APCG.APCG_SEC
- LIST (\HasNoChildren \UnMarked) "." "APCG.APCG IT"
- LIST (\HasNoChildren \UnMarked) "." "ResCom Interaction"
- LIST (\HasNoChildren \UnMarked) "." Training
- LIST (\HasNoChildren \UnMarked) "." "Junk E-mail"
- LIST (\HasNoChildren) "." INBOX.InAIRquality
- LIST (\HasNoChildren) "." INBOX.EMISSION
- LIST (\HasNoChildren \UnMarked) "." "EU Login"
- LIST (\HasChildren \UnMarked) "." Unattached
- LIST (\HasNoChildren) "." Unattached.RuralHUB
- LIST (\HasChildren \UnMarked) "." "&A5gDrQO8A7EDxAOx- &A6ADwQO,A8MDyQPAA7kDugO,A80-"
- LIST (\HasNoChildren \UnMarked) "." "&A5gDrQO8A7EDxAOx- &A6ADwQO,A8MDyQPAA7kDugO,A80-.Emily"
- LIST (\HasNoChildren \UnMarked) "." "&A5gDrQO8A7EDxAOx- &A6ADwQO,A8MDyQPAA7kDugO,A80-.Kim"
- LIST (\HasNoChildren \UnMarked) "." "&A5gDrQO8A7EDxAOx- &A6ADwQO,A8MDyQPAA7kDugO,A80-.Jenny"
- LIST (\HasNoChildren \UnMarked) "." &A5UDwAO5A7sDtQO+A7kDvAPMA8QDtwPEA7E-
- LIST (\HasChildren \UnMarked) "." "&A5UDmwOaA5U- &A5QDuQOsA8YDvwPBA7E-"
- LIST (\HasNoChildren \UnMarked) "." "&A5UDmwOaA5U- &A5QDuQOsA8YDvwPBA7E-.&A6ADwQPMA8QDxQPAA7E- &A4gDswOzA8EDsQPGA7E-"
- LIST (\HasNoChildren) "." QA4EO
- LIST (\HasChildren \UnMarked \Trash) "." Trash
- LIST (\HasNoChildren \UnMarked) "." Trash.Equality
- LIST (\HasNoChildren \UnMarked) "." "Trash.&A50DsQPDA7kDsQ- PhD"
- LIST (\HasNoChildren) "." Trash.sadf
- LIST (\HasNoChildren \UnMarked) "." Trash.&A5wDnwO5A7oDpQ-
- LIST (\HasNoChildren) "." Trash.InAIRquality
- LIST (\HasChildren) "." Trash.&A5UDmwOZA5QDlQOa-
- LIST (\HasNoChildren) "." Trash.&A5UDmwOZA5QDlQOa-.InAIRquality
- LIST (\HasNoChildren \UnMarked) "." noa-spam
- LIST (\HasNoChildren \UnMarked) "." &A5UDmgORA5Q-3
- LIST (\HasNoChildren) "." &A6MDoAOVA5EDkQ-
- LIST (\HasNoChildren \UnMarked) "." "AirHelp Claim"
- LIST (\HasNoChildren \UnMarked) "." &A6ADsQPBA7EDwwPEA7EDxAO5A7oDrA-
- LIST (\HasNoChildren \Drafts) "." Drafts
- LIST (\HasChildren \UnMarked) "." GEO
- LIST (\HasChildren \UnMarked) "." GEO.GGO
- LIST (\HasNoChildren \UnMarked) "." "GEO.GGO.EuroGEO 2022"
- LIST (\HasNoChildren \UnMarked) "." "GEO.GGO.GGO MAIL"
- LIST (\HasNoChildren \UnMarked) "." GEO.ExCom
- LIST (\HasNoChildren \UnMarked) "." GEO.UHCO
- LIST (\HasChildren \UnMarked) "." "Grants Active"
- LIST (\HasChildren \UnMarked) "." "Grants Active.European"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.URBAN RELEAF"
- LIST (\HasChildren \UnMarked) "." "Grants Active.European.SMURBS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.SMURBS.In Kind"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.SMURBS.Final Reports"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.RI-URBANS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.QA4EO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.ATMO-ACCESS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.IGOSP"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.GAUSS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.E-SHAPE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.CIROCCO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.InCASE"
- LIST (\HasNoChildren) "." "Grants Active.European.EIFFEL"
- LIST (\HasNoChildren) "." "Grants Active.European.ARSINOE"
- LIST (\HasChildren \UnMarked) "." "Grants Active.International"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.India
- 2320"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.2324"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.GAUSS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.CIROCCO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.IGOSP"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.ATMO-ACCESS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.URBAN RELEAF"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.InCASE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.ARSINOE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.RI-URBANS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.E-SHAPE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.EIFFEL"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.QA4EO"
- LIST (\HasChildren \UnMarked) "." "Grants Active.International.SMURBS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.SMURBS.Final Reports"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.SMURBS.In Kind"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.Urban ReLeaf"
- LIST (\HasChildren \UnMarked) "." "Grants Active.National"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A5EDkw- &A6ADkQOhA5EDowOaA5UDpQOX-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A6ADlQOkA6EDnwOlA6ADnwObA5c-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.CLIMATTICA"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A50DkQOlA6ADmwOZA58-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A5UDlAOSA5w-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.PANGEA"
- LIST (\HasChildren \UnMarked) "." "Grants Active.National.&A5UDmwOZA5QDlQOa-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A5UDmwOZA5QDlQOa-.OXONIAN - &A5QDrQPDA8ADvwO5A70DsQ-"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.&A5UDmwOZA5QDlQOa-.&A50DsQPDA7kDsQ- PhD"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.National.CLIMPACT"
- LIST (\HasNoChildren \UnMarked \Sent) "." Sent
- LIST (\HasChildren \UnMarked) "." "&A5kDlQOgA5IDkQ- &A5QDmQORA6YDnwOhA5E-"
- LIST (\HasNoChildren \UnMarked) "." "&A5kDlQOgA5IDkQ- &A5QDmQORA6YDnwOhA5E-.&A6UDoAORA6QDmQOR-"
- LIST (\HasNoChildren \UnMarked) "." "&A5kDlQOgA5IDkQ- &A5QDmQORA6YDnwOhA5E-.&A5UDxAOuA8MDuQOx- &A5kDlQOgA5IDkQ- 2022"
- LIST (\HasNoChildren \UnMarked) "." "&A5kDlQOgA5IDkQ- &A5QDmQORA6YDnwOhA5E-.&A5UDxAOuA8MDuQOx- &A5kDlQOgA5IDkQ- 2021"
- LIST (\HasNoChildren \UnMarked) "." "&A5kDlQOgA5IDkQ- &A5QDmQORA6YDnwOhA5E-.EXT EVAL 2022"
- LIST (\HasNoChildren \UnMarked) "." "TECHCENTER NOA"
- LIST (\HasChildren \UnMarked) "." "Grant Hunting"
- LIST (\HasNoChildren) "." "Grant Hunting.&A6ADlQOkA6EDnwOlA6ADnwObA5c-"
- LIST (\HasNoChildren) "." "Grant Hunting.CLIMPACT II"
- LIST (\HasNoChildren) "." "Grant Hunting.IRISCC"
- LIST (\HasNoChildren) "." "Grant Hunting.Traction"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Cosmote"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.SmartMonNet"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.CARMINE"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.C-SHAPE"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.EOVerse"
- LIST (\HasChildren \UnMarked) "." "Grant Hunting.&A5UDvAOyA7sDtwO8A7EDxAO5A7oDrQPC- &A5MDkwOVA5o-"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.&A5UDvAOyA7sDtwO8A7EDxAO5A7oDrQPC- &A5MDkwOVA5o-.6-2 &A6ADwQOsA8MDuQO9A7c- &A50DsQPFA8QDuQO7A68DsQ-"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.&A6ADtQPBA7kDxg- &A5QDxQPE- &A5UDuwO7A6wDtAO,A8I-"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.&A5UDmwOZA5QDlQOa-"
- LIST (\HasChildren \UnMarked) "." "Grant Hunting.Rejected"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.GreenFund"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.ENRISK"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.SmartRegion"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.COP4HERITAGE"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.PortQast"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.MyFootPrint"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.ENRICH-TECH"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.AEOLIANS"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.CHOICE"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.NBS"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.ELEMENTAL"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.RESPIRATOR (NBS)"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.EUPHORIC"
- LIST (\HasNoChildren) "." "Grant Hunting.Rejected.UNABRIDGED"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.CHESEL"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.InAIRquality"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.EmergTech-To-Covid19"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.&A5wDnwO5A7oDpQ-"
- LIST (\HasNoChildren \UnMarked) "." "Grant Hunting.Rejected.GreenRide"
- LIST (\HasNoChildren) "." "Dissem Comm"
- LIST (\HasChildren) "." INBOX 1 OK List completed (0.976 + 0.000 + 0.975 secs).
So, yes, the Mail Folders in question are indeed listed above.
Nick
On 22/2/2023 2:56 μ.μ., Nikolaos Milas wrote:
On 22/2/2023 2:30 μ.μ., Aki Tuomi wrote:
Can you please try
doveadm exec imap -u username_of_the_user 1 LIST "" "*"
and see if it is there?
Here is the output:
# doveadm exec imap -u userx
- PREAUTH [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA] Logged in as userx 1 LIST "" "*" ...
- LIST (\HasChildren \UnMarked) "." "Grants Active"
- LIST (\HasChildren \UnMarked) "." "Grants Active.European"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.URBAN RELEAF"
- LIST (\HasChildren \UnMarked) "." "Grants Active.European.SMURBS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.SMURBS.In Kind"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.SMURBS.Final Reports"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.RI-URBANS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.QA4EO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.ATMO-ACCESS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.IGOSP"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.GAUSS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.E-SHAPE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.CIROCCO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.European.InCASE"
- LIST (\HasNoChildren) "." "Grants Active.European.EIFFEL"
- LIST (\HasNoChildren) "." "Grants Active.European.ARSINOE"
- LIST (\HasChildren \UnMarked) "." "Grants Active.International"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.India - 2320"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.2324"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.GAUSS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.CIROCCO"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.IGOSP"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.ATMO-ACCESS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.URBAN RELEAF"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.InCASE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.ARSINOE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.RI-URBANS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.E-SHAPE"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.EIFFEL"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.QA4EO"
- LIST (\HasChildren \UnMarked) "." "Grants Active.International.SMURBS"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.SMURBS.Final Reports"
- LIST (\HasNoChildren \UnMarked) "." "Grants Active.International.SMURBS.In Kind" ...
So, yes, the Mail Folders in question are indeed listed above.
Waiting for your feedback, I decided to remove the restored folders (Grants Active.European*) in case it makes any difference. After removing them I also did:
# doveadm -v force-resync -u userx Grants\ Active # doveadm -v
force-resync -u userx Grants\ Active.International
Then I asked the user to access his mailbox again, but it didn't make any difference. As in the beginning, the only two directories appearing in "Grants Active.International" folder are the following:
Grants Active.International.2324
Grants Active.International.India
which are the two newest ones (all the others are the same with those in the initial "Grants Active.European" folder which was renamed to "Grants Active.International").
I look forward to your advice and assistance. What may be causing the mailbox to not open the rest of the folders?
Thanks a lot, Nick
On 23/2/2023 1:20 μ.μ., Nikolaos Milas wrote:
... Waiting for your feedback, I decided to remove the restored folders (Grants Active.European*) in case it makes any difference. ...
After an investigation it turned out that for some reason the subscription to the mail folders in question was disabled. So, we simply restored the subscription to all folders and things are back to normal.
I didn't try things out with both the original and the restored folders, but there was no need for the latter in the end.
Case closed.
Thanks for your help; your troubleshooting guidance (together with some associated googling) was very important to help me diagnosing the problem.
All the best, Nick
participants (2)
-
Aki Tuomi
-
Nikolaos Milas