<?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>308008</bug_id>
          
          <creation_ts>2012-10-07 09:43:55 +0000</creation_ts>
          <short_desc>Filtering from checked accounts only not working for POP3 accounts</short_desc>
          <delta_ts>2013-07-27 07:57:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>Mail Filter Agent</component>
          <version>4.9</version>
          <rep_platform>unspecified</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>4.9</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Graeme Hewson">bugs</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>amantia</cc>
    
    <cc>christiandehne</cc>
    
    <cc>montel</cc>
          
          <cf_commitlink>http://commits.kde.org/kdepim/e7d6cb4cafaf19af5e9a00bcbefc30262cdbd763</cf_commitlink>
          <cf_versionfixedin>4.11</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1303875</commentid>
    <comment_count>0</comment_count>
    <who name="Graeme Hewson">bugs</who>
    <bug_when>2012-10-07 09:43:55 +0000</bug_when>
    <thetext>In Filter Rules, Advanded tab, there&apos;s a radio button to apply the filter to incoming messages from checked accounts only. However, the filter is not applied to any POP3 accounts, only to Local Folders (type maildir).

Reproducible: Always

Steps to Reproduce:
1. In Advanced tab of a filter, select &quot;Apply this filter to incoming messages:&quot; and &quot;from checked accounts only&quot;.
2. Select a POP3 account. Unselect all other accounts, including Local Folders.
3. Test filter while viewing filter log.
Actual Results:  
Filter isn&apos;t applied.


I don&apos;t know if it&apos;s relevant, but I have several POP3 accounts. I have no IMAP accounts. The Local Folders account was created automatically when I installed kmail; the folder is the default ~/.local/share/local-mail. I also have another maildir account using my subdirectory in /var/spool/maildir.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309486</commentid>
    <comment_count>1</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2012-10-26 09:07:15 +0000</bug_when>
    <thetext>Just curious, how could you report this for KMail2/Filtering, when that product is not enabled for new bug reports (as they should go to akonadi/mail filter agent).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309510</commentid>
    <comment_count>2</comment_count>
    <who name="Graeme Hewson">bugs</who>
    <bug_when>2012-10-26 09:58:01 +0000</bug_when>
    <thetext>The Filtering component is in https://bugs.kde.org/enter_bug.cgi?product=kmail2&amp;format=guided. Guess I didn&apos;t notice the warning in green not to report filter bugs in kmail2 (or it wasn&apos;t there at the time).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1309520</commentid>
    <comment_count>3</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2012-10-26 10:05:51 +0000</bug_when>
    <thetext>Thanks, indeed it is still possible to report in such way, seems to be some bugzilla bug/misconfiguration. :( The warning was not there, I added the text to guide the users today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1363362</commentid>
    <comment_count>4</comment_count>
    <who name="Graeme Hewson">bugs</who>
    <bug_when>2013-04-23 13:28:34 +0000</bug_when>
    <thetext>Still happening in 4.10.2.

Filter log has only one line for a message:
 
[time] Begin filtering on message &quot;&lt;subject&gt;&quot; from &quot;&lt;from&gt;&quot; at &quot;&lt;date&gt;&quot;

No rules are evaluated when automatically filtering with &quot;from checked accounts only&quot; checked, and one POP3 account checked.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1363415</commentid>
    <comment_count>5</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-04-23 16:43:46 +0000</bug_when>
    <thetext>I confirm it.
it can&apos;t work in KMail2, filtering is apply after that mail is moved in local folder
=&gt; account == local folder , we don&apos;t know which account add emails in local folder.

=&gt; so it will never work with actual method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1375476</commentid>
    <comment_count>6</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-06-10 11:27:49 +0000</bug_when>
    <thetext>Git commit e7497d686dfa0679059882a84cc7ecc4acd9a466 by Montel Laurent.
Committed on 10/06/2013 at 13:27.
Pushed by mlaurent into branch &apos;master&apos;.

Fix Bug 308008 - Filtering from checked accounts only not working for POP3 accounts

FIXED-IN: 4.11

M  +1    -0    resources/pop3/CMakeLists.txt
M  +5    -0    resources/pop3/pop3resource.cpp
A  +82   -0    resources/pop3/pop3resourceattribute.cpp     [License: GPL (v2)]
A  +45   -0    resources/pop3/pop3resourceattribute.h     [License: GPL (v2)]

http://commits.kde.org/kdepim-runtime/e7497d686dfa0679059882a84cc7ecc4acd9a466</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1375477</commentid>
    <comment_count>7</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2013-06-10 11:28:29 +0000</bug_when>
    <thetext>Git commit e7d6cb4cafaf19af5e9a00bcbefc30262cdbd763 by Montel Laurent.
Committed on 10/06/2013 at 13:28.
Pushed by mlaurent into branch &apos;master&apos;.

Fix Bug 308008 - Filtering from checked accounts only not working for POP3 accounts

FIXED-IN: 4.11

M  +1    -0    mailfilteragent/CMakeLists.txt
M  +10   -1    mailfilteragent/mailfilteragent.cpp
A  +82   -0    mailfilteragent/pop3resourceattribute.cpp     [License: GPL (v2)]
A  +45   -0    mailfilteragent/pop3resourceattribute.h     [License: GPL (v2)]

http://commits.kde.org/kdepim/e7d6cb4cafaf19af5e9a00bcbefc30262cdbd763</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1385744</commentid>
    <comment_count>8</comment_count>
    <who name="Christian Trippe">christiandehne</who>
    <bug_when>2013-07-24 17:37:00 +0000</bug_when>
    <thetext>This bug is only partially fixed for me with KDE 4.11 RC1.

It works if the destination folder of the pop3 resource is the inbox, but not if it is another folder. Should I open a new report for this or should this one get reopened?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386034</commentid>
    <comment_count>9</comment_count>
    <who name="András Manţia">amantia</who>
    <bug_when>2013-07-26 04:59:28 +0000</bug_when>
    <thetext>That is a different issue, indeed right now only inbox is filtered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386036</commentid>
    <comment_count>10</comment_count>
    <who name="Graeme Hewson">bugs</who>
    <bug_when>2013-07-26 05:22:10 +0000</bug_when>
    <thetext>Is that literally &quot;inbox&quot;, or the destination folder (which might be something other than the default)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1386229</commentid>
    <comment_count>11</comment_count>
    <who name="Christian Trippe">christiandehne</who>
    <bug_when>2013-07-27 07:57:49 +0000</bug_when>
    <thetext>(In reply to comment #9)
&gt; That is a different issue, indeed right now only inbox is filtered.

Thanks for the fast reply. I now opened bug 322871	for this issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>