[Bug 152009] New: Any (imap) filters break Gmail IMAP mail that does *not* trigger the filter.

Gabriel J.Wilkins contriver at gmail.com
Thu Nov 8 10:29:04 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152009         
           Summary: Any (imap) filters break Gmail IMAP mail that does *not*
                    trigger the filter.
           Product: kmail
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: contriver gmail com


Version:           1.9.6 (enterprise 0.20070907.709405) (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

no plugins, no traces, no dumps.
problem:
kmail moves messages out of the imap inbox without being asked to.
requires:
gmail imap enabled account, kmail
background:
now, gmail imap is a little.. quirky, but thunderbird and outlook 2007 both handle this fine, so it at least isn't exclusively a gmail problem, and more likely is just a kmail problem.
gmail provides a folder "inbox", and a folder "[Gmail]/All Mail".
Basically, as I understand it, most operations fail on the All Mail folder, as that's gmail's permanent archive. (without that, this would actually be a pretty serious data loss bug.)
All new messages are to be routed to inbox (barring other gmail-side filters, of which i have none, and this scenario requires none.)

how to reproduce:
use a gmail account.  make sure it's imap enabled through their web preferences panel.
configure kmail to check the account.
send a message to the account.  
shows up in inbox. also shows up in all mail. (this is expected behavior.)
now, create a filter.
i've tried From filters, and Subject filters, both cause this.
I have not tested the action being anything except "move message", but i have tried it with move message being to another folder on the same imap account, a folder on a different imap account, and a local folder.
It is important to note that this bug is seen when the filter rule is *not* triggered.
So, having created a valid filter, send this account another message.
The message momentarily shows up in the inbox and all mail folders, and then disappears from the inbox folder.  (this is the totally incorrect behavior).
Reproduced with 2 different gmail accounts, on 2 different PCs (unfortunately both same version of kubuntu/kde/kontact/kmail).

Other things to note:  exact same scenario tested with outlook 2007 and thunderbird 2.0.foo, and does not happen.  The mail continues to show up in the inbox and all mail folders.
Also, if filter is triggered, the mail is moved properly.  In that scenario, it shows up where ever you wanted it sent to, as well as in the all mail folder.
Also, perhaps obviously, but the bug does not occur when you change the filter (advanced tab) to not be applied to the gmail imap account.  (only checked accounts, uncheck the gmail account.)



More information about the Kdepim-bugs mailing list