Re: [Evolution] What is the format for rules in filters.xml? How can I alter or creat rules?



On Tue, 2016-06-21 at 21:46 -0400, Jim Beard wrote:
But it would be much easier if someone could simply provide a 
copy of the specifications on how to put together rules and use 
a vi editor to create and modify them.

        Hi,
there is no such specification, the format is more or less private
thing of the application. That you can read it, as it's an XML format,
is rather matter of luck. It could be a binary file too.

Nonetheless, if you'd have a backtrace of the crash, a pointer to the
place with a fix could be provided to you and you could patch the
distribution version and use the UI for filter editing. Thus not
diverge too much from the distribution version.

You can see all the possible rules and actions in
   /usr/share/evolution/filtertypes.xml
but how to transform it into something what the evolution can use
without too much headache is quit far from this list purpose (and my
ability). A doable workaround would be to create the filter on a
machine (even virtual) where the filter can be saved and then copy the
resulting filters.xml into the destination machine. The only obstacle
is to provide correct folder URLs, which contain account UIDs, which
can differ between machines.

Action: Stopped processing
 
What makes it stop processing?

It's the action in the rule, it corresponds to:

      <actionset>
        ...
        <part name="stop"/>
      </actionset>

By the way, did you try to move away (delete) the
   ~/.config/evolution/mail/filters.xml
and create one from scratch? You mentioned that you tried to create
a new rule, but I'm unsure whether you also tried with absolutely no
filter rules.
        Bye,
        Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]