After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 201824 - More options for deleting messages from POP server
More options for deleting messages from POP server
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal enhancement
: ---
Assigned To: Shreyas Srinivasan
Evolution QA team
: 201986 203546 205638 209028 218621 219831 219959 220095 220272 226153 227933 227972 228894 230162 236436 237855 249581 320912 336334 356557 357114 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-03-14 08:35 UTC by Richard Zach
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Initial Patch which implements the "Delete older than x days feature" (5.62 KB, patch)
2006-06-08 19:31 UTC, Shreyas Srinivasan
reviewed Details | Review
Fixes the issue Jhonny had (5.64 KB, patch)
2006-07-10 05:54 UTC, Shreyas Srinivasan
none Details | Review

Description Richard Zach 2001-03-14 08:35:56 UTC
It would be nice if in addition to the option "Leave mail on server" for a POP
mailbox, there would be the following suboptions:

- Delete from server if deleted locally
- Delete from server after n days

This needs to be added to the Account Configuartion UI, and also in the backend.

RH 6.2 2001.03.06
Comment 1 Dan Winship 2001-03-14 15:34:59 UTC
"delete after __ days" might be in 0.10. It will definitely be in 1.0. (It's
easy to do, there's just nowhere to add the configuration option for it at
the moment.)

We will most likely not support "only download __k of the message at first"
until after 1.0, if ever. We may never support "delete from server if
deleted locally". It doesn't mesh at all with the way things work in
evolution, and we'd rather spend time making the real IMAP support kick ass
than making it possible to use POP as pseudo-IMAP.
Comment 2 Luis Villa 2001-06-25 20:24:26 UTC
*** bug 203546 has been marked as a duplicate of this bug. ***
Comment 3 Jeffrey Stedfast 2001-07-16 18:41:22 UTC
danw: are we still plainning on implementing this before 1.0?
Comment 4 Dan Winship 2001-07-16 18:43:34 UTC
No, it missed the freeze
Comment 5 Dan Winship 2001-09-06 17:00:40 UTC
*** bug 209028 has been marked as a duplicate of this bug. ***
Comment 6 Eric Lambart 2001-09-06 18:01:03 UTC
augh!
quoting DanW: "It's easy to do"
Comment 7 Luis Villa 2001-09-06 19:05:50 UTC
freeze. period. Have a nice day :/
Comment 8 Eric Lambart 2001-09-13 05:58:58 UTC
*** bug 201986 has been marked as a duplicate of this bug. ***
Comment 9 Pablo Coronel 2002-02-01 15:20:18 UTC
Are you planning this feature in future releases?
This is very useful and long time EUdora users like myself miss it.
Comment 10 Jeffrey Stedfast 2002-02-01 18:26:20 UTC
*** bug 219831 has been marked as a duplicate of this bug. ***
Comment 11 Jeffrey Stedfast 2002-02-03 21:57:17 UTC
*** bug 218621 has been marked as a duplicate of this bug. ***
Comment 12 Jeffrey Stedfast 2002-02-03 22:03:14 UTC
*** bug 205638 has been marked as a duplicate of this bug. ***
Comment 13 israel 2002-02-06 22:20:59 UTC
*** bug 220095 has been marked as a duplicate of this bug. ***
Comment 14 Jim Hazen 2002-02-07 01:26:22 UTC
I would also vote to add the above enhancements.  Of course I'd use
IMAP if I could.  But when I'm forced to use POP (like with this Yahoo
account), I'd like to be able to delete from the server via Evolution.
 This is a very common feature to have in a POP mail reader.

It may not be "an easy thing to do" (although I don't understand why
it would be that hard), but I think it would give valuable usability
to POP users.

Anyway, just a vote from a user.
Comment 15 Gerardo Marin 2002-06-12 15:13:15 UTC
*** bug 226153 has been marked as a duplicate of this bug. ***
Comment 16 Gerardo Marin 2002-07-18 15:45:53 UTC
*** bug 227933 has been marked as a duplicate of this bug. ***
Comment 17 Gerardo Marin 2002-07-18 19:49:45 UTC
*** bug 227972 has been marked as a duplicate of this bug. ***
Comment 18 Gerardo Marin 2002-08-13 17:57:16 UTC
*** bug 228894 has been marked as a duplicate of this bug. ***
Comment 19 Gerardo Marin 2002-09-11 15:17:17 UTC
*** bug 230162 has been marked as a duplicate of this bug. ***
Comment 20 Fred Goldstein 2002-10-26 23:42:17 UTC
This topic has been open an awfully long time, with an awful lot of
duplicate entries.  DanW essentially said he'd fix it (after x days,
not when deleted locally), a year and a half ago!  Is there any plan
to address it?
Comment 21 Gerardo Marin 2002-10-28 18:03:12 UTC
Not in 1.2 neither 1.4. As matter of fact, this is marked as
"contrib", meaning that we won't address this problem in a foreseable
future, but it's open to volunteers.
Comment 22 Gerardo Marin 2003-01-08 19:09:38 UTC
*** bug 236436 has been marked as a duplicate of this bug. ***
Comment 23 Gerardo Marin 2003-01-09 19:43:36 UTC
*** bug 219959 has been marked as a duplicate of this bug. ***
Comment 24 Gerardo Marin 2003-01-09 20:48:20 UTC
*** bug 220272 has been marked as a duplicate of this bug. ***
Comment 25 Gerardo Marin 2003-02-11 18:01:34 UTC
*** bug 237855 has been marked as a duplicate of this bug. ***
Comment 26 Indy Wanton 2003-09-02 17:39:32 UTC
I am a new evolution user, and decided to give evolution a try. 
Unfortunately, I realized I can't use Evolution because of this 
bug. So unless this bug is fixed, I can't become an evolution user.
I'm surprised that evolution is now onto release 1.4.4 and this bug
still hasn't been addressed.

I have read evolution mailing lists and it seems people have argued
that if one needs this functionality, they should use IMAP. I should
mention that servers like Yahoo don't offer IMAP. In my case, I am not
using Evolution for this very reason - I need to leave my Yahoo mail
on the server as I read it from both my home as well as office.
Another argument that I've seen on the mailing lists was that POP was
not designed for this - my counter-argument is that this is something
that most other decent mail clients support. So Evolution should too.
Otherwise, Evolution is eliminating a large user base from using it.
Comment 27 Jeffrey Stedfast 2003-09-02 18:13:18 UTC
this isn't a bug
Comment 28 chemist109 2003-10-04 00:20:47 UTC
Evolution needs this feature, if only to keep feature parity with
other e-mail packages.  I check my e-mail at work and at home so this
is particularly important to me.  This same feature is one of the most
popular bugs in Mozilla and is fixed in 1.5.

http://bugzilla.mozilla.org/show_bug.cgi?id=107883
Comment 29 Gerardo Marin 2003-10-13 20:53:02 UTC
*** bug 249581 has been marked as a duplicate of this bug. ***
Comment 30 marguet 2004-01-21 22:03:04 UTC
I have recently unsubscribed to a mailing list that brought a huge
flood of e-mail to my account.  My server does not offer IMAP. 
However, I must delete these messages to stay under quota.  As I
access my e-mail from multiple places, I would like to keep my old
messages too.  

But it looks like either lazyness or ideological opposition has kept
this feature out of evolution for nearly three years.

It also looks like, for now, this will cost you yet another user.

However, I'll keep this bug bookmarked, with my fingers crossed.  So,
please?
Comment 31 Bill Daniels 2005-03-06 02:37:55 UTC
When retrieving mail from my earthlink POP account with the "Leave
messages of server" box unchecked in the "Receiving Options/Message
Storage" dialog box, I get the following error:  "Evolution  Error. 
Error while Fetching Mail.  Cannot get POP summary.  Operation now in
progress."
Of course, what I want the software to do is erase email from my
server once it is retrieved.  Checking the box eliminates the error
message.  I think this is a bug along the lines of bug 201824.
billdaniels
Comment 32 Russell Cook 2005-04-10 23:48:08 UTC
Any news on if and when this feature request will be implemented? It is sorely
needed and holding evolution back from more mass acceptance.
Comment 33 francesco fullone 2005-06-08 10:07:11 UTC
I add a 25$ bounty for this, it isn't a big sum but I'm not novell or google... 
I want the "delete after ___ days!!!" features
Comment 34 André Klapper 2005-11-08 00:53:14 UTC
*** Bug 320912 has been marked as a duplicate of this bug. ***
Comment 35 Karsten Bräckelmann 2006-03-28 15:03:42 UTC
*** Bug 336334 has been marked as a duplicate of this bug. ***
Comment 36 Sebastien Bacher 2006-05-16 16:48:31 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evolution/+bug/40484
Comment 37 Shreyas Srinivasan 2006-05-29 17:11:00 UTC
Ok, so i am fixing this. 
Comment 38 Shreyas Srinivasan 2006-06-08 19:31:24 UTC
Created attachment 66998 [details] [review]
Initial Patch which implements the "Delete older than x days feature"

Just an initial patch which implements the "Delete all mails older than x days" feature. Works nicely for me, may need a little bit of testing. Would appreciate it if some brave soul did some testing ;)

I am moving on to the delete messages on server when deleted locally next.
Comment 39 Johnny Jacob 2006-06-15 06:14:22 UTC
Patch crashes during folder sync.

  • #7 <signal handler called>
  • #8 camel_pop3_engine_command_new
    at camel-pop3-engine.c line 253
  • #9 camel_pop3_store_expunge
    at camel-pop3-store.c line 381
  • #10 pop3_sync
    at camel-pop3-folder.c line 351
  • #11 camel_folder_sync
    at camel-folder.c line 273
  • #12 fetch_mail_fetch
    at mail-ops.c line 345
  • #13 mail_msg_received
    at mail-mt.c line 570
  • #14 thread_dispatch
    at e-msgport.c line 987
  • #15 start_thread
    from /lib/libpthread.so.0
  • #16 clone
    from /lib/libc.so.6

Comment 40 Harish Krishnaswamy 2006-06-22 03:57:18 UTC
Per discussion in IRC
Shreyas : This patch change the UI - hence you may commit it to HEAD only - after   an approval from one of the mailer maintainers. Also, post the updated patch to the bugzilla for anyone who may be interested to try it out on his own.
Comment 41 Shreyas Srinivasan 2006-06-22 05:29:47 UTC
Harish: The ui change is just one check box. As you can see by the thread this feature is wanted by many, committing just to head means people have to wait forever to get this feature on their distros. 

The ui rules are just guidelines they are not lines in concrete. If the change is small enough and has wide impact i think there is no problem in committing to the stable branch. 

I leave it your discretion anyway. 
Comment 42 André Klapper 2006-06-22 14:12:44 UTC
shres: we will not get string freeze break approval for adding a feature - this should only go into HEAD in my opinion. if distros want to you use, they are free to backport the patch to 2.6 - once the updated patch is attached here. ;-)
Comment 43 Shreyas Srinivasan 2006-07-10 05:54:24 UTC
Created attachment 68701 [details] [review]
Fixes the issue Jhonny had
Comment 44 Shreyas Srinivasan 2006-07-11 06:32:20 UTC
Can someone commit this please, my head build is rather borked. 
Comment 45 Harish Krishnaswamy 2006-07-11 06:45:39 UTC
I'm still waiting for one of the mailer guys to approve this patch - including for the trunk.
Varadhan/Sankar: ?
Comment 46 Shreyas Srinivasan 2006-07-11 06:48:05 UTC
Harish, Jhony said its ok and i thought he maintained pop but sure if sankar or varadhan want to have a look at it again. Thats ok with me, can they look at it asap. Thanks
Comment 47 Shreyas Srinivasan 2006-07-12 10:15:25 UTC
New info: Since that string already existed and was only commented out in the code it already has translations. Does this change anything wrt to committing it to the stable branch?
Comment 48 parthasarathi susarla 2006-07-13 08:53:38 UTC
it breaks ABI. It has gone into the head not the stable branch
Comment 49 André Klapper 2006-07-13 09:26:48 UTC
s/It has gone into the head/It has to go into the head/ - don't confuse me :-)
Comment 50 Shreyas Srinivasan 2006-07-13 09:37:36 UTC
yes it breaks the abi but who links to camel-pop3-folder ?

Anyway, i think its fine to go into head but a re-think on abi breakage maybe necessary. This abi break wont hurt anyone. 
Comment 51 Harish Krishnaswamy 2006-07-13 10:27:52 UTC
(In reply to comment #47)
> New info: Since that string already existed and was only commented out in the
> code it already has translations. Does this change anything wrt to committing
> it to the stable branch?
> 
* UI freeze break as pointed out in comment #40. 
* It is a feature addition - so this is unlikely to go into the stable branch.
* As I pointed out in the same comment, distros that are interested to use the patch in the bug are free to do so.


(In reply to comment #45)
> I'm still waiting for one of the mailer guys to approve this patch - including
> for the trunk.
> Varadhan/Sankar: ?
> 
Poke.
Comment 52 parthasarathi susarla 2006-07-14 05:13:22 UTC
This has been committed to HEAD. I have tested it enough to commit to HEAD. No issues so far. Once on head, a lot more people (andre/guenther) can take a shot at testing it. :)
I have not committed this to any other branch(es) - its for the maintainer to decide.
Am not closing this bug either. 
Varadhan/Harish/Sankar: please take a call - and close the bug.
Thanks.
Comment 53 Harish Krishnaswamy 2006-07-14 05:26:09 UTC
Resolving the bug as fixed.
Comment 54 francesco fullone 2006-07-21 16:18:22 UTC
great news! now a deal is a deal.. to who I've to pay <a href="http://bugzilla.gnome.org/show_bug.cgi?id=201824#c33">my bounty</a>? :D
Comment 55 André Klapper 2006-07-21 17:11:47 UTC
francesco: Shreyas Srinivasan (shres) wrote this code. please discuss the money transfer here in public. thanks in advance.
Comment 56 Shreyas Srinivasan 2006-07-21 18:20:29 UTC
francesco: I wrote the code, Ah, i forgot about the bounty. Mail me at sshreyas at gmail dot com and we can discuss how you can transfer money. 

Weeeee. my first bounty :-D
Comment 57 Shreyas Srinivasan 2006-07-24 08:49:46 UTC
Ok, so looks like i am bounty winner now :-D
Thanks a lot francesco. 
Comment 58 francesco fullone 2006-07-24 08:56:26 UTC
my pleasure :)

the bounty is officially closed, yuppie! :D
Comment 59 Karsten Bräckelmann 2006-09-18 22:58:57 UTC
*** Bug 356557 has been marked as a duplicate of this bug. ***
Comment 60 Karsten Bräckelmann 2006-09-23 15:12:17 UTC
*** Bug 357114 has been marked as a duplicate of this bug. ***
Comment 61 Peter Husen 2007-12-11 16:40:48 UTC
Bug 201824 has been marked a duplicate of this bug, which has now been marked as
resolved. However, the part that bug is a duplicate of has not been fixed.
Only  the "other" feature, namely "Delete after N days" was implemented.

I still really want to see "Delete when deleted locally", which every other
mail client can do. The reason I want this:
 - About once a year, I clear out the mailbox on my server manually, because it
gets full. I still want to keep the mail locally, however. Therefore I want to
use  POP.
 - I read my mail from many computers and OS's, therefore I want to keep the
mail on the server.
 - I want to be able to delete specific mails, such as spam or mails with large
attachments, from the convenience of my mail client. Therefore I want this
feature.

Yes, I know, I could use IMAP and then make a local archive folder to download
my mail to, before I delete it from the server, but the other scheme works well
in Outlook Express, Thunderbird, others...