close
Comments you submit will be routed for moderation. If you have an account, please log in first.
Modify

Opened 7 months ago

Closed 7 months ago

#563 closed enhancement (fixed)

Use a mail's receive date instead of the compose date when deleting old mails

Reported by: tboeckel Owned by: tboeckel
Priority: normal Milestone: YAM 2.10
Component: mail filtering Version:
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

Problem

Currently too old mails in a folder are deleted on basis of their Date: header line, which usually is the date when they were originally written. If one does not receive mails for a longer period (due to vacation, illness, etc) it might happen that YAM will delete freshly downloaded mails immediately again if the folder's maximum age is quite narrow and the new mails' compose date exceeds this age.

Enhancement recommendation

A better approach would be to use the mails' receive date instead of the compose date. This way received mails would really spend exactly the amount of "max. age" days on the user's system before they finally get deleted automatically. This also ensures that possibly important mails don't get deleted immediately if their Date: header line could not be parsed correctly and their compose date will be pushed back to January 1st 1978. The receive date will always be "today" and as such should never exceed a folder's maximum mail age immediately.

Attachments (0)

Change History (2)

comment:1 Changed 7 months ago by tboeckel

  • Owner set to tboeckel
  • Status changed from new to assigned

comment:2 Changed 7 months ago by tboeckel

  • Resolution set to fixed
  • Status changed from assigned to closed

In 7974:

  • mui/YAMApplication.c: changed the deletion of mails older than the folder's maximum age to chech the current date against the mails' receive/send date instead of their compose date. Thus mails are really kept for the desired amount of days on the system. This closes #563.

Add Comment

Modify Ticket

Action
as closed The owner will remain tboeckel.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber

  • Thore Böckelmann(Reporter, Owner, Participant)