<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>414839</bug_id>
          
          <creation_ts>2019-12-04 22:14:51 +0000</creation_ts>
          <short_desc>Folder expiration not automatic</short_desc>
          <delta_ts>2019-12-08 14:31:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmail2</product>
          <component>folders</component>
          <version>5.12.3</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Thiago Macieira">thiago</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>auxsvr</cc>
    
    <cc>montel</cc>
          
          <cf_commitlink>https://commits.kde.org/mailcommon/50c4c271080a144fd645892081c0f623aee2e6b2</cf_commitlink>
          <cf_versionfixedin>5.13.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1894983</commentid>
    <comment_count>0</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2019-12-04 22:14:51 +0000</bug_when>
    <thetext>SUMMARY
I have two folders set to expire all emails in 30 days. There are emails in the folder older than that, the expiration is not happening automatically as it used to.

If I got to the Folder Properties dialog and click &quot;Save Settings and Expire Now&quot;, then KMail does expire.

STEPS TO REPRODUCE
1. Move some old emails to a folder
2. Set an expiry timeline shorter than the age of those emails
  (note: I&apos;m using Move expired messages to folder option)
3. Wait 24 hours

OBSERVED RESULT
Emails are still in the folder.

EXPECTED RESULT
Emails got expired.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20191128
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1
Akonadi: 5.12.3

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895061</commentid>
    <comment_count>1</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-12-05 15:57:04 +0000</bug_when>
    <thetext>I will investigate soon</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1895148</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-12-06 07:51:00 +0000</bug_when>
    <thetext>Git commit 50c4c271080a144fd645892081c0f623aee2e6b2 by Laurent Montel.
Committed on 06/12/2019 at 07:50.
Pushed by mlaurent into branch &apos;release/19.12&apos;.

Fix Bug 414839 - Folder expiration not automatic

FIXED-IN: 5.13.0

M  +3    -3    src/folder/foldercollectionmonitor.cpp

https://commits.kde.org/mailcommon/50c4c271080a144fd645892081c0f623aee2e6b2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>