Bug 2910 - moved or deleted mails occur in program again but mbox-file itself shows correct mails
Summary: moved or deleted mails occur in program again but mbox-file itself shows corr...
Status: NEW
Alias: None
Product: Claws Mail
Classification: Unclassified
Component: Plugins/mailMBOX (show other bugs)
Version: 3.9.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-04-17 12:03 CEST by Saskia
Modified: 2013-05-17 13:39 CEST (History)
0 users

See Also:


Attachments
Entry of Mail-List and noncorresponding mail-headers which are content of the bugreport (37.63 KB, image/png)
2013-04-17 12:03 CEST, Saskia
no flags Details
Whole Claws-window (privat parts cleared) (138.19 KB, image/png)
2013-04-23 13:33 CEST, Saskia
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Saskia 2013-04-17 12:03:34 CEST
Created attachment 1254 [details]
Entry of Mail-List and noncorresponding mail-headers which are content of the bugreport

Hello,

I changed to Claws Mail a few days ago from Thunderbird and I have the mbox-Plugin active to be able to import all my old mails to Claws.
The import worked fine.
I use the filtering of Claws and also I am filtering manually by moving mails from one to another folder or by deleting them.

Now the problem:

Account A, Inbox it contained about 30 Mails, 20 are left after filtering and deleting of 10 Mails.
When I now receive a new mail in Account A it could happen that I only see the former mail again, but only in the preview-window (and if I open the mail), the Listing of the mails shows the received from and subject.
If I change to the mbox-file itself, I can see and read the original received mail (if it is plaintext enough).
Also the filtering will do wrong if I activate it on that folder but I can't tell where the mail will be moved to I have not found it out jet.

Is it possible to make a new button or menue-entry to reinitiate the mbox when that error occures?

I also can tell that that Problem did not occure once, I have hat it sometimes jet and in different Accounts and folders.

It also happend to the "confirm account"-mail. I checked the mbox with a normal editor and took the link of to be able to create the account and to be able to post this bug.
I have a screenshot added from the "confirm account"-mail.

First I hat the suspicion that it only happens, when the mbox-file was imported and afterwards the filtering was done and that mails will occure again. But then I created a new Inbox for one of my accounts and the same error occured also, so it is not (only) a problem of imported mbox-files.
Comment 1 Paul 2013-04-23 10:43:10 CEST
First, I don't really fully understand what you are saying.

The mailMBOX plugin is not required to import mbox files, /File/Import mbox file is built into Claws and not a feature of the plugin.

If the display gets out of sync, right-click the top-level mailbox folder, e.g. '[MyMBOX] (mbox)' and choose 'Rebuild folder tree', and/or 'Check for new messages' and 'Check for new folders'. This, I presume is what you mean by a button to 'reinitiate the mbox'.

Finally, I cannot reproduce the problem you describe, and all manipulations of the mbox mailbox and its messages works correctly here.
Comment 2 Ricardo Mones 2013-04-23 10:51:26 CEST
I'm sorry but from your description we fail to understand where the problem is, and without being able to reproduce the problem will be very difficult to fix it.

Could you post a detailed list of the steps required to make this bug appear from the very beginning? (menu options selected, every action performed in the interface, and so on).

It may be long, but don't worry, we cannot see your screen and we must be able to reproduce the problem from your list, so don't omit anything.

Thanks in advance,
Comment 3 Saskia 2013-04-23 11:27:42 CEST
Okay, I try to explain what I have done, what I expect the program to do and what the program had done.

I imported my Thunderbird mbox-files into mbox-files in Claws. I have about 14 Mail-Accounts in use in Claws, included the one which I use for this bugreport.

After importing the files, I mentioned that I have mails for example in my web.de-Inbox which I do not need anymore and so I deleted this files. I have the "Check for new messages"-automatically activated so I get all 5 minutes new mails if available.

Usually I expect that a new mail in the list on top right (I use the standard-view of Claws) occured but when I click on it, in the preview on bottom right and even if I double-click on the mail to open it in a new preview-window I get an old mail to be shown. When I open the mbox-file in vi or another texteditor I can read the new mail and I do not find the mail of the preview anymore because I deleted it by clicking on the delete-key and confirmed the deleting of the mail.

This occured in differend mail-accounts and I also tried to make a new mbox-subfolder and moved the Inbox to the new subfolder but also there it happened that new mails take in preview the place of a moved or deleted mail and only be shown in the list but or the texteditor but not in the preview of Claws.

Actions that occur or do not occure clicking on these menues:
'[MyMBOX] (mbox)' and choose 'Rebuild folder tree'
seems that nothing happens, because the wrong mails still are wrong mails, no matter if the cursor stood on the wrong mail when I clicked on the 'MyMBOX (mbox)' and choose 'Rebuild folder tree' or if I put the cursor on a mail that was correct shown.
Perhaps the 'Rebuild folder tree' works afterwards for new arriving mails but not on existing.

If I click on 'Check for new messages' the server will be contacted and the download of new mails gets started (if available) but the new mail will often not be shown correct (list Okay, preview wrong).
If I click on 'Check for new folders' nothing happens, because I did not insert new folders.

I hope it is explained in a better way than the way before. If not do not hestitate to ask me again.
If screenshots can help I try to make some more which are neutral (according to personal data) and also show the problem.
But if you take a look on my added screenshot you can see at top one item of the list (my confirmation mail to this account) and you can see the wrong mail in the preview, a mail which I got 2 days before the confirmation mail to this account and which was deleted before I got the confirmation mail to this account.
Comment 4 Paul 2013-04-23 11:32:42 CEST
Try '/View/Update summary' when the folder is selected. Does this help?
Comment 5 Paul 2013-04-23 11:40:59 CEST
You said:

"If I click on 'Check for new messages' the server will be contacted and the download of new mails gets started ..."

But this does not make sense. When you use 'Check for new messages' from the context menu of an MBOX mailbox no server will be contacted. The only type of mailbox where 'check for new messages' will trigger a connection to ther server is an IMAP mailbox. Are you sure you are talking about an MBOX mailbox and not an IMAP mailbox?
Comment 6 Saskia 2013-04-23 11:59:37 CEST
Hi Paul,

no even that does not work.
But it seems that if I rebuild folder tree every time after I moved or deleted mails from the list-view, that the next time the new mails show in the correct way.

But that does not solve the problem with the mails, that are jet incorrect in my inbox.

If I move an incorrect shown mail from the inbox the following happens:
I move the old mail from the preview to the another folder and in the other folder the list also shows the header information of the preview-mail, the new mail from the list will be shot to nirvana.

Perhaps you have another idea how I can solve the problem. Everythime to click and rebuild the folder tree is a little tricky becaus I could forget it sometimes.


According to your "check new mails" I am shure that my web.de-Account is not an IMAP-Account, I use the pop3.web.de-Server for getting mails via POP and I do not use a IMAP-Server at web.de nor at any other of my accounts on my PC (only on my smartphone but there with K9-Mail and my google-account).
I checked the network-protokol of Claws and "check new mails" really does not connect to the Server but it lookes like that, because in Claws the "Fetch Mail"-Button (I do not know the exact english label of the icon-menu-button on top left) turns inactive for a little while.
Comment 7 Paul 2013-04-23 12:10:52 CEST
maybe it would help a little if you attach a screenshot of the whole window.
Comment 8 Saskia 2013-04-23 13:33:47 CEST
Created attachment 1258 [details]
Whole Claws-window (privat parts cleared)

On the left you see all accounts as seperate mbox folders, all are prepared the way, that incoming mails are put in Inbox and outgoing mails are put in Outbox of the used account.
In my web.de-account I only have newsletter and I use it for the bugreports and I delete old newsletter often, so in the upper area you can see the list of the mails and the marked mail and in the lower area you can see the "corresponding" preview which does not correspont really, because that is one of the wrong previews.
Comment 9 Paul 2013-04-23 13:40:21 CEST
Can you tell me which setting you have for the 'Open message when selected' option on /Configuration/Preferences/Display/Summaries

(Also, although not related, I wonder why you want to use MBOX instead of MH for your mailboxes.)
Comment 10 Saskia 2013-04-23 13:56:06 CEST
(In reply to comment #9)
> Can you tell me which setting you have for the 'Open message when selected'
> option on /Configuration/Preferences/Display/Summaries
> 
> (Also, although not related, I wonder why you want to use MBOX instead of MH
> for your mailboxes.)

Hi Paul,

I just changed the settings two minutes before I got the message that you wrote the question to me here for "open message when selected" from "never" to "if visible in preview" (labels can differ again because of translation from German to English).

Also "discussion uses subject additional to standard headlines" and "do immediately move or delete of messages" are activated.

I hope that helps you figuring out where my problem is based on.

And why I us mbox instead of MH? It is more flexible for me, because I sometimes take a mbox for example from my Windows-PC at company and copy it for home office to my Linux-PC or the other way. In all the years I use Linux mbox did the best job for me from switching from one to the other distri and also by switching from one mail-client to the next, when anything did not work the way I needed it (or if the past mail-client based on KDE-environment and I moved to Unity or something like that). I hope I could explain it well, why I a prefer to use mbox.
Comment 11 Paul 2013-04-23 14:00:16 CEST
What about if you set that option to 'Always'?
Comment 12 Saskia 2013-04-23 14:08:19 CEST
(In reply to comment #11)
> What about if you set that option to 'Always'?

Same, former wrong displayed mails appear still wrong displayed.
Also every kind of recreation/refreshing we talked about jet did not help.
Comment 13 Paul 2013-04-23 14:11:48 CEST
impossible to reproduce here.
Can you send me (privately) the whole MBOX file, or even the whole mailbox compressed?
Comment 14 Paul 2013-04-23 14:28:51 CEST
Just a thought - what WM/desktop do you use? Is it Unity?
Comment 15 Saskia 2013-04-23 14:37:09 CEST
(In reply to comment #13)
> impossible to reproduce here.
> Can you send me (privately) the whole MBOX file, or even the whole mailbox
> compressed?
Zip is on its way to you.

(In reply to comment #14)
> Just a thought - what WM/desktop do you use? Is it Unity?

Yes, at the moment I use Unity. Why? Does it caus any problems?
Comment 16 Paul 2013-04-23 14:41:06 CEST
Yes, Unity has been the cause of different problems before.

Is it possible for you to use something other than Unity for a short test, just to see if you can reproduce this when not using Unity?
Comment 17 Paul 2013-04-23 14:44:16 CEST
I should add, please try a non-Gnome desktop/WM
Comment 18 Saskia 2013-04-23 14:54:36 CEST
(In reply to comment #16)
> Yes, Unity has been the cause of different problems before.
> 
> Is it possible for you to use something other than Unity for a short test,
> just to see if you can reproduce this when not using Unity?


I can install and use another desktop but not jet.
Can you advice a desktop that normally works without problems with Claws?
Because I have to install one, I am flexible (but I would prefer a small one and not one of the biggest, if possible).

(In reply to comment #17)
> I should add, please try a non-Gnome desktop/WM

Which do you suggest?
Comment 19 Paul 2013-04-23 14:59:23 CEST
every other dekstop works with Claws without problems!

I only say to avoid gnome to be sure there's nothing lurking there from ubuntu modifications, probably over-cautious!
Comment 20 Saskia 2013-05-17 13:39:52 CEST
Sorry for the delay, but I had some other stuff to do.

But I have a new Info.

I installed LXDE and I am using LXde it since Wednesday this week and I still have the same problems also I did the update of claws mail yesterday.

When I delete some mails for example from my inbox and receive new mails I still do not see the subject and mailcontent.
When I delete some mails for example from my inbox and directly right-click on the top-level mailbox folder and click all these 'Rebuild folder tree', 'Check for new messages' and 'Check for new folders', then the new received mails mostly are correct shown only sometimes it does not work.

I do not know why but it happens.

If I can help to find the cause of bug, please tell.