When messages are deleted from a folder they are not expunged

Bug #1391377 reported by chris pollock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned

Bug Description

When messages are deleted from a folder in Evolution they are moved to the 'Trash' folder however when looking at the 'Maildir' folder they still exist. For instance in my 'Spam' folder I use Spamassasin to daily report spam. Once that is done I delete the messages for they don't get reported again. I had 30 messages in the /Maildir/.Spam/cur folder, 27 of those were reported last night so I deleted 27 of them and they were moved to 'Trash'. I ran Spamassassin to report the 3 new ones and instead there were 30 messages reported. Looking in my /Maildir/.Spam/cur folder I have 27 messages, 24 which should not be there because they were deleted:

chris@localhost:~/Maildir/.Spam/cur$ ls -l
total 1092
-rw-r--r-- 1 chris chris 60987 Nov 6 04:15 1415273820.M175284P31647V0000000000000801I0000000000CE23D6_0.localhost,S=60987:2,ST
-rw------- 1 chris chris 10938 Nov 6 05:42 1415274123.32093_1.localhost:2,ST
-rw------- 1 chris chris 355951 Nov 7 04:57 1415357824.28882_1.localhost:2,ST
-rw------- 1 chris chris 17890 Nov 7 06:51 1415364669.1594_1.localhost:2,ST
-rw------- 1 chris chris 13255 Nov 7 08:03 1415368999.4874_1.localhost:2,ST
-rw------- 1 chris chris 13940 Nov 7 08:03 1415369022.4935_1.localhost:2,ST
-rw------- 1 chris chris 17106 Nov 7 08:56 1415372173.7191_1.localhost:2,ST
-rw------- 1 chris chris 12991 Nov 7 11:04 1415379823.12560_1.localhost:2,ST
-rw------- 1 chris chris 17926 Nov 7 15:15 1415394932.20209_1.localhost:2,ST
-rw------- 1 chris chris 9840 Nov 7 17:07 1415401610.23897_1.localhost:2,ST
-rw------- 1 chris chris 19604 Nov 7 17:19 1415402371.24295_1.localhost:2,ST
-rw------- 1 chris chris 19488 Nov 7 17:20 1415402396.24355_1.localhost:2,ST
-rw------- 1 chris chris 16078 Nov 7 17:20 1415402410.24416_1.localhost:2,ST
-rw------- 1 chris chris 17771 Nov 7 17:20 1415402423.24486_1.localhost:2,ST
-rw------- 1 chris chris 15925 Nov 7 17:20 1415402437.24541_1.localhost:2,ST
-rw------- 1 chris chris 28850 Nov 7 17:21 1415402451.24603_1.localhost:2,ST
-rw------- 1 chris chris 24183 Nov 7 17:21 1415402465.24660_1.localhost:2,ST
-rw------- 1 chris chris 36776 Nov 7 17:21 1415402481.24715_1.localhost:2,ST
-rw------- 1 chris chris 20264 Nov 7 17:21 1415402495.24797_1.localhost:2,ST
-rw------- 1 chris chris 10462 Nov 7 18:35 1415406911.27225_1.localhost:2,ST
-rw------- 1 chris chris 208770 Nov 7 20:00 1415412035.29705_1.localhost:2,ST
-rw------- 1 chris chris 9899 Nov 7 20:25 1415413509.30523_1.localhost:2,ST
-rw------- 1 chris chris 11164 Nov 8 07:16 1415452595.522_1.localhost:2,ST
-rw------- 1 chris chris 38928 Nov 9 10:59 1415552352.2130_1.localhost:2,ST
-rw------- 1 chris chris 13876 Nov 10 07:16 1415625369.20352_1.localhost:2,S
-rw-r--r-- 1 chris chris 17188 Nov 10 01:29 1415627978.M908680P19601V0000000000000801I0000000000CE282B_0.localhost,S=17188:2,FS
-rw------- 1 chris chris 32428 Nov 10 11:27 1415640436.28427_1.localhost:2,S

However as you can see in the attached screenshot there are only three messages showing in my Spam folder. Permissions for the folders under .Spam seem to be correct:

chris@localhost:~/Maildir/.Spam$ ls -l
total 24
-rw-r--r-- 1 chris chris 17 Dec 27 2008 courierimapacl
drwx------ 2 chris chris 4096 Jul 3 14:07 courierimapkeywords
-rw-r--r-- 1 chris chris 1085 Nov 10 20:18 courierimapuiddb
drwx------ 2 chris chris 4096 Nov 10 20:24 cur
-rwx------ 1 chris chris 0 Dec 27 2008 maildirfolder
drwx------ 2 chris chris 4096 Nov 10 11:29 new
drwx------ 2 chris chris 4096 Nov 10 20:56 tmp

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: evolution 3.12.7-0ubuntu1~trusty1 [origin: LP-PPA-gnome3-team-gnome3-staging]
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: GNOME
Date: Mon Nov 10 20:41:57 2014
InstallationDate: Installed on 2014-10-24 (17 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evolution
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
chris pollock (cpollock) wrote :
Revision history for this message
chris pollock (cpollock) wrote :

One thing I did forget to mention, if I remove the messages from the 'Trash' folder then and only then are they also removed from the .Spam folder. This, to me, is not the correct way for this to work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.