Bug 372315 - Unable to compact /var/mail/<username> mbox file
Summary: Unable to compact /var/mail/<username> mbox file
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: MBox Resource (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 23:59 UTC by ptitpierrecalimero
Modified: 2022-11-08 18:46 UTC (History)
1 user (show)

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 ptitpierrecalimero 2016-11-10 23:59:09 UTC
When I try to compact manually my mbox file.
The akonadiconsole just said : AgentBase(akonadi_mbox_resource_0): Échec d'enregistrement du fichier « mbox » dans /var/mail/myname

And the log doesn't provides many lights :
akonadi_mbox_resource_0 (0x563214a5c880) 197 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "15" Name: "Pierre Téchoueyres" Parent ID: "0" Remote ID: "file:///var/mail/ptechoueyres" Remote Revision: "" Resource: "akonadi_mbox_resource_0" Mimetypes: "(message/rfc822)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "(ALL)" } Ancestors: { } Attributes: "QMap((AccessRights, wcdW)(DeletedMboxItems, 245777,1160081,166839,860321,568683,993300,513082,1301955,1104521,519917,0,931466,23211,1099378,816148,112294,766422,58533,1031471,1111802,213783,801204,1271239,206178,324150,835808,1091775,383329,1291425,1164782,142330,1281439)(ENTITYDISPLAY, ("Pierre Téchoueyres" "message-rfc822" "" ())))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 197 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "-1" Name: "" Parent ID: "-1" Remote ID: "" Remote Revision: "" Resource: "" Mimetypes: "()" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "()" } Ancestors: { } Attributes: "QMap()" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 198 { Command: "FetchCollections" Collections: "RID (file:///var/mail/ptechoueyres)" Depth: "0" Resource: "" Mimetypes: "()" Ancestors Depth: "0" Ancestors Attributes: "QSet()" Enabled: "true" Sync: "false" Display: "false" Index: "false" Status: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 198 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "15" Name: "Pierre Téchoueyres" Parent ID: "0" Remote ID: "file:///var/mail/ptechoueyres" Remote Revision: "" Resource: "akonadi_mbox_resource_0" Mimetypes: "(message/rfc822)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "(ALL)" } Ancestors: { } Attributes: "QMap((AccessRights, wcdW)(DeletedMboxItems, 245777,1160081,166839,860321,568683,993300,513082,1301955,1104521,519917,0,931466,23211,1099378,816148,112294,766422,58533,1031471,1111802,213783,801204,1271239,206178,324150,835808,1091775,383329,1291425,1164782,142330,1281439)(ENTITYDISPLAY, ("Pierre Téchoueyres" "message-rfc822" "" ())))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 198 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "-1" Name: "" Parent ID: "-1" Remote ID: "" Remote Revision: "" Resource: "" Mimetypes: "()" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "()" } Ancestors: { } Attributes: "QMap()" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 199 { Command: "FetchCollections" Collections: "UID " Depth: "2" Resource: "akonadi_mbox_resource_0" Mimetypes: "()" Ancestors Depth: "2" Ancestors Attributes: "QSet()" Enabled: "false" Sync: "false" Display: "false" Index: "false" Status: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 199 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "15" Name: "Pierre Téchoueyres" Parent ID: "0" Remote ID: "file:///var/mail/ptechoueyres" Remote Revision: "" Resource: "akonadi_mbox_resource_0" Mimetypes: "(message/rfc822)" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "(ALL)" } Ancestors: { { ID: "0" Remote ID: "" Name: "" Attributes: "QMap()" } } Attributes: "QMap((AccessRights, wcdW)(DeletedMboxItems, 245777,1160081,166839,860321,568683,993300,513082,1301955,1104521,519917,0,931466,23211,1099378,816148,112294,766422,58533,1031471,1111802,213783,801204,1271239,206178,324150,835808,1091775,383329,1291425,1164782,142330,1281439)(ENTITYDISPLAY, ("Pierre Téchoueyres" "message-rfc822" "" ())))" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
akonadi_mbox_resource_0 (0x563214a5c880) 199 { Response: "FetchCollections" Error Code: "0" Error Msg: "" ID: "-1" Name: "" Parent ID: "-1" Remote ID: "" Remote Revision: "" Resource: "" Mimetypes: "()" Statistics: { Count: "-1" Unseen: "-1" Size: "-1" } Search Query: "" Search Collections: "QVector()" Cache Policy: { Inherit: "true" Interval: "-1" Cache Timeout: "-1" Sync on Demand: "false" Local Parts: "()" } Ancestors: { } Attributes: "QMap()" Display: "Undefined" Sync: "Undefined" Index: "Undefined" Enabled: "true" Virtual: "false" Referenced: "false" }
Comment 1 Fab Stz 2017-08-19 18:15:07 UTC
Same problem here with akonadi 5.2.2 on Debian9 (stretch=stable)
Comment 2 Justin Zobel 2022-11-08 06:50:13 UTC
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!
Comment 3 ptitpierrecalimero 2022-11-08 18:43:36 UTC
The situation is now worst than when I first reported. Now the "Compress now" button is always grayed. So you can never clean up the file and it's size is always growing !

FYI :
Kontact Version 5.21.1 (22.08.1)
-- 
kontact.x86_64                                                  22.08.1-1.fc36                                      @updates
kontact-libs.x86_64                                          22.08.1-1.fc36                                       @update
akonadi.x86_64                                                1.13.0-120.fc36                                     @fedora 
akonadi-calendar-tools.x86_64                     22.08.1-1.fc36                                       @updates
akonadi-import-wizard.x86_64                     22.08.1-1.fc36                                       @updates
akonadiconsole.x86_64                                  22.08.1-1.fc36                                       @updates
Comment 4 ptitpierrecalimero 2022-11-08 18:46:25 UTC
Also
kmail.x86_64                                                        22.08.1-1.fc36                                          @updates
kmail-account-wizard.x86_64                           22.08.1-1.fc36                                          @updates
kmail-libs.x86_64                                                22.08.1-1.fc36                                          @updates