for me, one of the most annoying things in this great mail client is its inability to keep the folder settings (also in filters and identities) when something changes in the mail server configuration (i.e., same account but new URL). i have a *lot* of filters, configured various folders so they move mail to local folders after a certain time, and use custom folders for sent mail and drafts -- and all of that is silently "forgotten" when you reconfigure the mail server. the filters are still present, but inactive since they lost all target folder information, and i have to manually reconfigure each and every filter, folder, and identity. there certainly are cases where it is preferable to remove all folder specific configuration. but when a user applies changes *within* a configured account, i would assume it's supposed to remain that same account. the current behaviour is a bad way to deal with it: resetting various folder settings without even informing the user. at the very least, kmail should *ask* you if it's ok to lose all folder specific configuration. it could check whether the same folder structure is present and suggest to leave everything as it was configured before. i wouldn't even mind to be presented with a short dialog for each folder/filter/identity that is affected, so that i can confirm that the new folder remains the old one, or adjust some config only if it is really necessary (e.g., if some folders are no longer there).
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
i currently don't see how i could check this without the risk of losing my configuration again, or setting things up in a new VM which unfortunately i don't have the time to ATM. however, assuming that kmail still behaves the same so the issue persists, i'd propose a different approach to it. currently the import/export dialog for KDE-PIM data only offers a very general selection of data to store. if there was an option to store configuration data on a per-account basis, so that you could export all relevant configuration before changing the server and import your config again, that would do it for me. i'll set this to REPORTED as it is likely still a thing.
Confirmed still an issue with current PIM. The problem is that internally and in config files folders are identified by Akonadi ID, which can change if the mail server or configuration is changed, even if it is still effectively the same as far as the user sees. See also bugs 311112 and 332358.