Re: [Evolution] filtering to assign color




You probably want to use only "contains" rather than "ends with AND
starts with".

There's no need to test for bcc either (by definition bcc wont be
included in incoming mails).

Also note that with imap colour wont necessarily be preserved unless the
server supports uid+ (and even then i'm not sure).  i.e. if it works
when you select a message and do ctrl-y, but it doesn't otherwise.

On Mon, 2005-07-11 at 09:48 +0200, Patrick Pichon wrote:
Hello,

I would like to set all of the incoming mail to me and only to me (I'm
alone in the To, no CC, no Bcc) in Red.

I did a filter  see here after, but doesn't work. Any hints ?

      <title>Mail to me</title>
      <partset>
        <part name="header">
          <value name="header-field" type="string">
            <string>to</string>
          </value>
          <value name="header-type" type="option" value="starts with"/>
          <value name="word" type="string">
            <string>patrick pichon hp com</string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>to</string>
          </value>
          <value name="header-type" type="option" value="ends with"/>
          <value name="word" type="string">
            <string>patrick pichon hp com</string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>cc</string>
          </value>
          <value name="header-type" type="option" value="not exists"/>
          <value name="word" type="string">
            <string></string>
          </value>
        </part>
        <part name="header">
          <value name="header-field" type="string">
            <string>bcc</string>
          </value>
          <value name="header-type" type="option" value="not exists"/>
          <value name="word" type="string">
            <string></string>
          </value>
        </part>
      </partset>
      <actionset>
        <part name="colour">
          <value name="colour" type="colour" red="ffff" green="a5a5"
blue="0000" alpha="ffff"/>
        </part>
      </actionset>
    </rule>

_______________________________________________
evolution maillist  -  evolution lists ximian com
http://lists.ximian.com/mailman/listinfo/evolution




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