Message Filters targeting IMAP folders point to local@local

Bug #303528 reported by Jared Greenwald
80
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
High
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Intrepid
Won't Fix
High
Unassigned

Bug Description

1) 8.10
2) evolution-2.24.2-0ubuntu1
3) I created a filter based on a mailing list whose action is to move the message to a folder on an imap. When attempting to apply the filter manually (via ctrl+y), the filter fails to apply resulting in an error in the status bar.
4) What is actually happening is that in the filter.xml file the filter is not being recorded with the proper account information. Rather than having the proper account id in the uri, the local@local account is used instead. I imagine if the requested folder existed in the local folders, the filter would not fail, but this is not the case.

Also forgot to mention that I've reported this to bugs.gnome.org resulting in bug number http://bugzilla.gnome.org/show_bug.cgi?id=562708.

Latest versions tested:
Evo 2.24.2 (Intrepid): impacted
Evo 2.24 trunk (soon to be 2.24.3/2.24.2.1): resolved
Evo 2.25 trunk (soon to be 2.25.3): resolved

WORKAROUND:

1. Look at the ~./evolution/mail/filters.xml; the wrongly-created filters has a target URI pointing to local@local, instead of the correct IMAP account. Be careful not to change the real local email filters!

2. Stop Evolution and, on a terminal, issue 'evolution --force-shutdown'

3. You can find the correct IMAP account by running on a terminal:

 gconftool-2 -g /apps/evolution/mail/accounts

Or (if you do not want to browse through all of the output, this:

 gconftool-2 -g /apps/evolution/mail/accounts | awk -F '=' '{print $2 $3}'

4. Select the correct account, and edit ~/.evolution/mail/filters.xml, and replace the 'local@local' with the correct account strings.

5. start Evolution again.

description: updated
Revision history for this message
C de-Avillez (hggdh2) wrote :

I can confirm, and I am marking it as triaged. I noticed it some time ago on trunk, but never really paid attention until Jared sent an email to evolution-list.

So, at least it affects 2.24.2 onwards.

Jared's explanation is pretty much it: set a filter targeting an IMAP folder (action "move to folder"). Save it. Look at the ./evolution/mail/filters.xml, and the newly-created filter has a target URI pointing to local@local, instead of the correct IMAP account.

You can find the correct IMAP account by running on a terminal:

 gconftool-2 -g /apps/evolution/mail/accounts

Or (if you do not want to browse through all of the output, this:

 gconftool-2 -g /apps/evolution/mail/accounts | awk -F '=' '{print $2 $3}'

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
C de-Avillez (hggdh2) wrote :

This was fixed by http://bugzilla.gnome.org/show_bug.cgi?id=552583 upstream on trunk.

Changed in evolution:
status: Triaged → Fix Committed
Revision history for this message
C de-Avillez (hggdh2) wrote :

Correction: fix has been committed to both trunk and stable.

Revision history for this message
Klaus Heinrich Kiwi (klauskiwi) wrote :

I can confirm this is still happening on up-to-date intrepid. Is someone pulling the upstream fix to get it updated in 8.10?

Revision history for this message
Chris Cheney (ccheney) wrote :

This bug also appears to keep setups from being able to store drafts and sent messages to imap accounts.

This really needs to be backported to intrepid-updates as it is a major usability issue in evolution. I may have to convert back to Hardy otherwise as Thunderbird is so broken for imap I can't even consider moving over to it. :-\

Changed in evolution:
importance: Undecided → High
milestone: none → intrepid-updates
status: New → Triaged
Revision history for this message
Chris Cheney (ccheney) wrote :

Marking back to triaged since it isn't actually Fix Committed anywhere in Ubuntu, bzr, etc. Just in the upstream codebase.

< slangasek> calc: sounds like an incorrect use of that state to me, yeah

Changed in evolution:
status: Fix Committed → Triaged
Revision history for this message
C de-Avillez (hggdh2) wrote :

@Klaus: no, we are not cherry-picking this fix. On the other hand, upstream is getting ready to release a new 2.24 base with this fix, and others. This new 2.24 will be packaged for Intrepid.

@Chris: I guess you are talking about the other impacts from http://bugzilla.gnome.org/show_bug.cgi?id=552583, not from this bug.

description: updated
Changed in evolution:
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in evolution:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream rolled a new stable version today which has been uploaded as a candidate update to intrepid now

Revision history for this message
Chris Roddy (cmr) wrote :

the new package from intrepid-proposed resolved this problem for me. thanks!

Revision history for this message
John Mylchreest (jmylchreest) wrote :

Using the updated packages from intrepid-proposed this problem still occurs with exchange folders (using the exchange plugin). It is exactly as described. Has anyone else tested this using exchange?

Revision history for this message
ubunturox (ubunturox-kk) wrote :

I can confirm on 8.10 32-bit w/Exchange.

Evolution 2.24.3

I manually edited the filter.xml as described here:
https://bugzilla.redhat.com/show_bug.cgi?id=474695

However, how do I fix the drafts and sent folder issue?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in jaunty now

Changed in evolution:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

does anybody has the issue non using exchange?

Revision history for this message
Christopher (chris-kemp-turner) wrote :

I have this problem w/exchange, with a current Jaunty system.

I also managed to fix it by editing the filter.xml file as described in https://bugzilla.redhat.com/show_bug.cgi?id=474695

So the bug...is still a bug. ;-)

Revision history for this message
Matteo Beniamino (m-beniamino) wrote :

I've just met this bug on a 9.04, but in my case the target folder is in an account whose protocol is "maildir".
I get this line in the filters.xml file:

<folder uri="email://local@local/trash"/>

Changing it to something like this:

<folder uri="email://1243060330.4383.0@benji2/trash"/>

fixes the issue.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Thank you for reporting this bug to Ubuntu. Intrepid Ibex 8.10 reached EOL on 30 March 2010.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Please feel free to report any other bugs you may find.
Thank you.

Changed in evolution (Ubuntu Intrepid):
status: Triaged → Won't Fix
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I've just realized I made a mistake, Intrepid Ibex 8.10 "will reach" EOL on 30 "APRIL" 2010.

Sorry for this.

Anyway, I think that one month doesn't make any difference now.

Changed in evolution:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.