<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>闲来无空 &#187; 布尔</title>
	<atom:link href="http://www.sogg.name/archives/tag/%e5%b8%83%e5%b0%94/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sogg.name</link>
	<description>简单生活，简单记录</description>
	<lastBuildDate>Thu, 24 Feb 2011 06:22:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>利用Gmail高级搜索操作符设立邮件过滤器</title>
		<link>http://www.sogg.name/archives/2008/0317225831.html</link>
		<comments>http://www.sogg.name/archives/2008/0317225831.html#comments</comments>
		<pubDate>Mon, 17 Mar 2008 14:58:31 +0000</pubDate>
		<dc:creator>sogg</dc:creator>
				<category><![CDATA[你可知道]]></category>
		<category><![CDATA[布尔]]></category>
		<category><![CDATA[过滤器]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.sogg.name/archives/2008/0317225831.html</guid>
		<description><![CDATA[我用Gmail订阅了几个邮件列表，并已经通过过滤器分别为这些列表添加了标签（label)。后来为了统一多个邮箱，想将gmail帐号下除了邮件列表外的邮件都转寄到另一个Gmail帐号，于是提这么一个问题： 在Gmail中，已经建立了若干个过滤器。但能不能再建立一个过滤规则：把不符合这些过滤器的邮件都转发到其他地址？ 11:34 AM February 22, 2008 当时Plus兄还给我留言，我们的结论是行不通。但今天再次看Plus留言中的“Not”，还有过滤器搜索选项中的“不包含”栏位，让我突然想起似乎Gmail是支持布尔操作符。查阅Gmail帮助文档，果然有我需要的内容。 Gmail支持在指定字段的布尔逻辑搜索，只要在高级搜索框的“包含字词:”栏位填上表达式即可。比如“-”表示逻辑非，“OR”表示逻辑或，“Subject”表示限定在邮件主题字段，“()”用来组合字词以改变运算次序。依照我的要求，大致可以这样书写表达式来创建新的过滤器： -subject:(web4lib OR ngc4lib) 意思是，转发主题不包含有web4lib或者ngc4lib短语所有邮件。 可以仔细看看Gmail高级搜索操作符，会觉得妙用无穷的。 参见： 在Gmail的搜索和过滤器中使用布尔操作符？ Gmail的高级搜索操作符 标签：布尔, 过滤器, gmail, 技巧 相关日志： 用Gmail统一管理多个邮箱 (16)]]></description>
			<content:encoded><![CDATA[<p>我用Gmail订阅了几个邮件列表，并已经通过过滤器分别为这些列表添加了标签（label)。后来为了统一多个邮箱，想将gmail帐号下除了邮件列表外的邮件都转寄到另一个Gmail帐号，于是提这么一个问题：</p>
<blockquote><p>在Gmail中，已经建立了若干个过滤器。但能不能再建立一个过滤规则：把不符合这些过滤器的邮件都转发到其他地址？               				     				    					 <a href="https://twitter.com/sogg/statuses/742149082">11:34 AM February 22, 2008</a></p></blockquote>
<p>当时<a href="http://www.sogg.name/archives/2008/0222235959.html#comment-2280">Plus兄还给我留言</a>，我们的结论是行不通。但今天再次看Plus留言中的“Not”，还有过滤器搜索选项中的“不包含”栏位，让我突然想起似乎Gmail是支持布尔操作符。查阅Gmail帮助文档，果然有我需要的内容。</p>
<p>Gmail支持在指定字段的布尔逻辑搜索，只要在高级搜索框的“包含字词:”栏位填上表达式即可。比如“-”表示逻辑非，“OR”表示逻辑或，“Subject”表示限定在邮件主题字段，“()”用来组合字词以改变运算次序。依照我的要求，大致可以这样书写表达式来创建新的过滤器：</p>
<blockquote><p><strong>-subject:(web4lib OR ngc4lib)</strong></p></blockquote>
<p>意思是，转发主题不包含有web4lib或者ngc4lib短语所有邮件。</p>
<p>可以仔细看看Gmail<font face="Arial, Helvetica, sans-serif" size="-1">高级搜索操作符，会觉得妙用无穷的。</font></p>
<p>参见：</p>
<ol>
<li><a href="https://mail.google.com/support/bin/answer.py?answer=8931&amp;topic=12859">在Gmail的搜索和过滤器中使用布尔操作符？</a></li>
<li><a href="https://mail.google.com/support/bin/answer.py?answer=7190">Gmail的高级搜索操作符</a></li>
</ol>

	标签：<a href="http://www.sogg.name/archives/tag/%e5%b8%83%e5%b0%94" title="布尔" rel="tag nofollow">布尔</a>, <a href="http://www.sogg.name/archives/tag/%e8%bf%87%e6%bb%a4%e5%99%a8" title="过滤器" rel="tag nofollow">过滤器</a>, <a href="http://www.sogg.name/archives/tag/gmail" title="gmail" rel="tag nofollow">gmail</a>, <a href="http://www.sogg.name/archives/tag/%e6%8a%80%e5%b7%a7" title="技巧" rel="tag nofollow">技巧</a><br />

	<h4>相关日志：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.sogg.name/archives/2008/0430060913.html" title="用Gmail统一管理多个邮箱 (2008年04月30日)">用Gmail统一管理多个邮箱</a> (16)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.sogg.name/archives/2008/0317225831.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

