[haiku-commits] Re: r41071 - haiku/trunk/src/servers/mail

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 21 Mar 2011 22:47:43 +0100

Hi Clemens,

On 2011-03-21 at 21:02:48 [+0100], clemens.zeidler@xxxxxxxxxxxxxx wrote:
> Author: czeidler
> Date: 2011-03-21 21:02:48 +0100 (Mon, 21 Mar 2011)
> New Revision: 41071
> Changeset: https://dev.haiku-os.org/changeset/41071
> Modified:
>    haiku/trunk/src/servers/mail/MailDaemon.cpp
> Log:
> Create an index for MAIL:account_id. If you using POP3 update to this 
> revision! POP3 queries for this attribute and if no mails are found with 
> this id it will delete the missing mails on the server (if the option is 
> ticked).

Are you sure this is a good idea?

If someone would download a couple of mails with Beam and then starts MDR 
afterwards, all those mails would get wiped on the server, wouldn't they?

Instead of relying on a specific index, I'd rather introduce some persistent 
storage for IDs of mails that were deleted and then purge those from the 
server in the next session.


Other related posts: