Bug 368501 - Data loss and filtering problems when running KMail2 remotely
Summary: Data loss and filtering problems when running KMail2 remotely
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.14.10
Platform: Other Linux
: NOR critical
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-09 14:57 UTC by Tristan Miller
Modified: 2022-11-23 05:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2016-09-09 14:57:09 UTC
I have KMail2 set to check mail from a local mbox in my /var/mail directory.  I have filters set up in KMail2 that automatically sort this mail into various local folders.  Everything works fine when running KMail2 locally.

However, when I first start KMail2 over an x2go or ssh connection, it fails to filter the incoming mail in the mbox account.  Basically, any mail that was already in the mbox account when I started KMail2 stays in the mbox account.  (But while KMail2 is running, any mail that *subsequently* gets delivered into the mbox account does get correctly filtered.)

If I select the mbox folder in KMail2 and try to manually move the new messages to a new folder, or try to manually apply the message filters, then sometimes this works and sometimes it doesn't.  When it doesn't work, the message I tried to move/filter remains in the message list of the mbox folder.  Sometimes I also get an error dialog that says "Invalid item retrieved".  If I quit KMail2, then sometimes I get an error dialog that says "Unknown error".  When I restart KMail2, sometimes the message appears in the folder I tried to move or filter it into, but sometimes it's completely gone -- it's neither in the original mbox folder nor in the folder that it should have been moved or filtered into.


Reproducible: Always

Steps to Reproduce:
1. Set up a local mbox account in KMail2, and some filters to process incoming messages in that account.
2. Quit Kmail2.
3. Have a bunch of messages delivered into the local mbox (via sendmail, fetchmail, etc.)
4. From a remote machine, use ssh or x2go to connect to the machine, and then run KMail2.

Actual Results:  
5. KMail2 shows the new messages in the mbox account, but doesn't filter them.
6. Attempting to manually move or filter the messages sometimes results in an "Invalid item retrieved" error dialog.  If this happens, then when closing KMail2, I sometimes get an "Unknown error" error dialog, and when restarting KMail2, the message I tried to move or filter is completely gone.

Expected Results:  
5. KMail2 should filter the new messages in the mbox acount.
Comment 1 Justin Zobel 2022-10-24 00:46:51 UTC
Thank you for reporting this bug 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!
Comment 2 Bug Janitor Service 2022-11-08 05:10:42 UTC
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!
Comment 3 Bug Janitor Service 2022-11-23 05:17:11 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!