After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 562708 - Message Filters for IMAP point to local@local
Message Filters for IMAP point to local@local
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.24.x (obsolete)
Other All
: High major
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[filters]
: 563397 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-29 20:02 UTC by Jared Greenwald
Modified: 2009-01-03 21:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Jared Greenwald 2008-11-29 20:02:49 UTC
Please describe the problem:
When creating filters where the action is to move the message to a folder on an imap server, the account is not set correctly.  Rather, the account information is set to local@local in filters.xml instead of what should be there (#.#.#@host).  This results in the filter failing to properly apply, due to the destination folder not existing in local folders.

Steps to reproduce:
1. create a filter that moves the filtered message to a folder that resides on imap
2. look at filters.xml and see that the uri for the destination folder is set in correctly


Actual results:
filters fail to apply correctly

Expected results:
the filter should work as requested

Does this happen every time?
yes

Other information:
I have recently done two new installs of ubuntu 8.10 and setup evolution on both.  This behavior is exhibited in both instances.

I reported this issue to the evolution-list mailing list and someone named hggdh showed me a workaround which seems to work.  This is just to replace local@local with the proper account information.  Once this is done, the filters work correctly.
Comment 1 C de-Avillez 2008-11-30 01:56:43 UTC
I can confirm this behaviour, which I noted in trunk (2.25.x). When I set a new filter targeting an IMAP folder (via, say, a "move to folder" action), the resulting XML has a wrongly set URI.

This is the text from the evolution-list maillist about it:

Hi Jared,

Just a curiosity, since you said you are using IMAP: Can you please show
us the piece of the ./evolution/mail/filters.xml that has the rule?

I just noticed something, but I do not know since when this has
happened: the last filter I created (moving to an IMAP target) had the
target uri wrong, pointing to the local mail. For example:

<actionset>
 <part name="move-to-folder">
  <value name="folder" type="folder">
   <folder uri="email://local@local/Tests/Mail/URI"/>
  </value>
 </part>
 <part name="stop"/>
</actionset>


The actual target URI should have been

 uri="email://1176404371.15775.3@xango/Tests/Mail/URI"/>


Again, I do not know since when, and will run Evo 2.24 to see what
happens (I am running trunk).
Comment 2 Matthew Barnes 2008-12-05 05:24:07 UTC
I think this may be fixed now by the (final) patch for bug #552583.
Comment 3 C de-Avillez 2008-12-07 23:56:24 UTC
Indeed, I cannot repeat it anymore on trunk. So, marking it as fixed.
Comment 4 Matthew Barnes 2008-12-11 14:42:34 UTC
*** Bug 563397 has been marked as a duplicate of this bug. ***
Comment 5 Nikolas Valcarcel 2008-12-15 16:30:11 UTC
still present on 2.24.3
Comment 6 Matthew Barnes 2008-12-15 17:05:11 UTC
... 2.24.3 doesn't exist yet.
Comment 7 Nikolas Valcarcel 2008-12-15 17:19:40 UTC
right, but 2.24 branch says 2.24.3 when installing.
I meant gnome-2.24 branch
Comment 8 C de-Avillez 2008-12-18 19:25:16 UTC
@Nikolas: can you please give us more detais? I just tested it with evo-2.24 trunk, and it worked perfectly.

What exactly went wrong? What revision level is your 2.24 trunk?
Comment 9 Nikolas Valcarcel 2008-12-18 19:38:02 UTC
I compiled 2.24 trunk 2 days ago, open evolution, create a new filter, go to filters.xml, search for my new created filter and it had local@local on the uri intead of my account.
Comment 10 C de-Avillez 2008-12-18 19:46:11 UTC
Interesting. I can repeat the bug anytime I want on 2.24.2, but I simply cannot repeat it on 2.24 trunk.

Can you please start 2.24 trunk and, on a terminal, issue 'ps -ef | grep evo'? I wonder if you are still running with the EDS from 2.24.2... which would mean you did not stop & update the Bonobo configuration.
Comment 11 Nikolas Valcarcel 2008-12-18 20:05:43 UTC
i'm installing a new fresh vm to test.
Comment 12 C de-Avillez 2009-01-03 21:00:55 UTC
marking as fixed.