<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="mail-filters-conditions" lang="zh-CN">

  <info>
    <desc>Available conditions for setting up filtering.</desc>

    <link type="seealso" xref="mail-filters"/>

    <revision pkgversion="3.6.4" version="0.3" date="2013-04-20" status="final"/>
    <credit type="author">
      <name its:translate="no">Andre Klapper</name>
      <email its:translate="no">ak-47@gmx.net</email>
    </credit>
 <credit type="author">
   <name its:translate="no">Novell, Inc</name> <!-- Content partially from https://help.gnome.org/users/evolution/2.32/usage-mail-organize-filters.html.en#usage-mail-org-filters-new -->
 </credit>
    
    <license xmlns="http://projectmallard.org/1.0/" href="https://creativecommons.org/licenses/by-sa/3.0/">

  <p>This work is licensed under a
  <link href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
  Attribution-ShareAlike 3.0 Unported License</link>.</p>

</license>
        
    
  </info>

  <title>Available Filter conditions</title>

<list>

<!-- As filter and search folder conditions share a fair amount of options, those ones are centrally in one file that's 
included by XInclude. See http://blogs.gnome.org/shaunm/2011/07/21/understanding-xinclude/ for how it works. -->
<item xmlns="http://projectmallard.org/1.0/"><p>发送者：</p>
<p>发信人的邮件地址或姓名。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>收信人：</p>
<p>邮件的接收者。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>CC:</p>
<p>Only the CC recipients of the message.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>BCC:</p>
<p>Only the BCC recipients of the message. Obviously this can only be applied to outgoing filters.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Sender or Recipients:</p>
<p>The sender's email address or the name of the sender or the recipients of the message.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>目标：</p>
<p>邮件的主题行。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>指定的邮件头：</p>
<p>Any header including <link xref="mail-composer-custom-header-lines">custom ones</link>.</p>
<p>If a message uses a header more than once, <app>Evolution</app> pays attention only to the first instance, even if the message defines the header differently the second time. For example, if a message declares the Resent-From: header as "engineering@example.com" and then restates it as "marketing@example.com", <app>Evolution</app> filters as though the second declaration did not occur. To filter on messages that use headers multiple times, use a regular expression.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>消息体：</p>
<p>在邮件的正文中搜索。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>表达式：</p>
<p>(For programmers only) Match a message according to an expression you write in the Scheme language used to define <link xref="mail-filters">filters</link> in <app>Evolution</app>.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Free Form Expression:</p>
<p>(For advanced users only) Combine numerous conditions by using a <link xref="mail-searching#free-form-expression">special syntax</link>.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Date sent:</p>
<p>Filters messages according to the date on which they were sent. First, choose the conditions you want a message to meet, such as before a given date or after a given date. Then choose the time. The filter compares the message's time stamp to the system clock when the filter is run, or to a specific time and date you choose from a calendar. You can also have it look for a message within a range of time relative to the filter, such as two to four days ago.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Date received:</p>
<p>与“发信日期”选项的工作方式相同，但它比较您收到邮件的时间和您指定的日期。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>标签：</p>
<p>Messages can have <link xref="mail-labels">labels</link> of Important, Work, Personal, To Do, or Later. You can set labels with other filters or manually.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>分数：</p>
<p>给邮件设置一个大于0的分数。您可以设置一个过滤或改变一个邮件分数，然后设置另一个过滤移动您已评分的邮件。邮件评分没有任何特殊的标准：它只是您给邮件标记的一个数字以便其它过滤器对它们进行操作。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Size (kB):</p>
<p>根据邮件大小排序，以千兆字节(KB)为单位。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>状态：</p>
<p>根据邮件状态过滤。邮件状态可以是回复，草稿，重要，已读或者垃圾邮件。</p></item><item xmlns="http://projectmallard.org/1.0/"><p>跟随：</p>
<p>Checks whether the message is <link xref="mail-follow-up-flag">flagged for follow-up</link> or completed (after a certain date).</p></item><item xmlns="http://projectmallard.org/1.0/"><p>附件：</p>
<p>Checks whether there is an attachment for the email.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>Mailing List:</p>
<p>Filters based on the mailing list the message came from. This filter checks for a variety of common mailing list related headers but might miss messages from some list servers if they use uncommon headers.</p></item><item xmlns="http://projectmallard.org/1.0/"><p>正则表达式匹配：</p>
<p>(For advanced users) If you know your way around a <link href="https://en.wikipedia.org/wiki/Regular_expression">regex</link>, or regular expression, this option allows you to search for complex patterns of letters, so that you can find, for example, all words that start with "a" and end with "m", and are between six and fifteen letters long, or all messages that declare a particular header twice. <app>Evolution</app> supports the Extended Regular Expression syntax (ERE).</p></item>

<item><p>来源账户：</p>
<p>根据邮件来源的服务器过滤邮件。如果您使用多个POP邮件账户，这很有用。</p></item>

<item><p>管道到程序：</p>
<p><app>Evolution</app> can use an external command to process a message, then process it based on the return value. Commands used in this way must return an integer. This is most commonly used to add an external junk mail filter.</p></item>

<item><p>垃圾测试：</p>
<p>Filters based on the results of the <link xref="mail-spam">junk mail</link> test.</p></item>

<item><p>Match All:</p>
<p>Applies an action always to any message, without further conditions. This could be useful at the end of the list of message filters to cover those emails that did not match any conditions for the preceding filters in the list.</p></item>

</list>
</page>
