I noticed this behaviour also using pop3 mailbox on yesterdays' dev
snapshot evolution-1.1.2.99-snap.ximian.200210120601
and also on the 1.1.2 beta.

I use a "Source Account" filter on my "test4" account to move to another
folder and it doesn't work with incoming mail.  However if I select the
message and "Apply filters" afterwards it goes to the right directory. 
If I use "X-Evolution-Source" is
"pop:[EMAIL PROTECTED]/inbox" the filter works for incoming
mail and also with "apply filters".

Just for the kick I modified the filters.xml file set up with a "Source
Account" filter and modified the following line:

<uri>pop:[EMAIL PROTECTED]</uri>

added /inbox to the <uri>:

<uri>pop:[EMAIL PROTECTED]/inbox</uri>       


And now the "Source account" filter works!  It also works with "Apply
filters".

So this issue is probably only pop3 related and requires a fix in the UI
(I think) to include the /inbox part in the <uri>.  Or maybe fix the
filter code?

Shall I open a bug in bugzilla and provide the filters.xml file produced
by evolution?

Thanks,

Etienne


On Thu, 2002-09-26 at 20:50, Jeffrey Stedfast wrote:
> On Thu, 2002-09-26 at 16:36, John Schmidt wrote:
> > I'd like to filter all incoming mail from one
> > of my Pop3 accounts into a certain folder. If I
> > understand it correctly, it would appear that
> > filtering by "Source Account" should allow this.
> > I've placed that filter at the top of my filter
> > list, yet it doesn't seem to have any affect.
> 
> this filter has been fixed in 1.1.1.99 snaps.
> 
> > 
> > Is there a better way to do this?
> 
> yea:
> 
> [Specific Header][X-Evolution-Source][<account url>]
> 
> look at the message source from an account that you want to filter and
> look for the X-Evolution-Source header and just copy that value into the
> filter editor.
> 
> Jeff
> 
> -- 
> Jeffrey Stedfast
> Evolution Hacker - Ximian, Inc.
> [EMAIL PROTECTED]  - www.ximian.com
> 
> 
> _______________________________________________
> evolution maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/evolution
> 


<?xml version="1.0"?>
<filteroptions>
  <ruleset>
    <rule grouping="all" source="incoming">
      <title>Untitled</title>
      <partset>
        <part name="source">
          <value name="srcmatch-type" type="option" value="is"/>
          <value name="source" type="uri">
            <uri>pop:[EMAIL PROTECTED]</uri>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="move-to-folder">
          <value name="folder" type="folder">
            <folder uri="file:///home/tester/evolution/local/test4"/>
          </value>
        </part>
      </actionset>
    </rule>
  </ruleset>
</filteroptions>

Reply via email to