<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: How to filter no entries in the &quot;To&quot; field]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in How to filter no entries in the &quot;To&quot; field of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 05 Feb 2005 19:40:12 +0200</lastBuildDateTag>		<item>
			<title>How to filter no entries in the &quot;To&quot; field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic890/message3852/">How to filter no entries in the &quot;To&quot; field</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			I'd go for 'match', but you've got to try for yourself what works best. I'm not sure about the difference between those two.<br /><br />Don't use <br />Header field &gt; To &gt; match &gt;<br />but use<br />Header &gt; match &gt; ^To:\s*\n <br />Due to a bug (that's being worked on) searching on the To: header will search in the CC: header too. <br />
			<i>05 February 2005 19:40:12, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic890/message3852/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic890/message3852/</guid>
			<pubDate>Sat, 05 Feb 2005 19:40:12 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>How to filter no entries in the &quot;To&quot; field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic890/message3837/">How to filter no entries in the &quot;To&quot; field</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Shall I put Header field &gt; TO &gt; matches all as RegExp<br /><br />or<br /><br />&gt; match <br />
			<i>05 February 2005 10:33:10, <a href="http://www.ritlabs.com/en/forums/">Michael Janik</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic890/message3837/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic890/message3837/</guid>
			<pubDate>Sat, 05 Feb 2005 10:33:10 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>How to filter no entries in the &quot;To&quot; field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic890/message3824/">How to filter no entries in the &quot;To&quot; field</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			Even with TB you can send messages without a valid address in the To: header, just enter something in the CC: or BCC: header.<br /><br />The only way to for empty To: headers is filtering the headers for this string:<br />^To:\s*\n<br />This looks for a line that starts with To: followed by any number of spaces and ends with a line break, because that's what an empty To: header is, rember to use the 'matches' condition and not 'contains', becayse regular expressions don't work with the latter. <br />
			<i>05 February 2005 05:42:42, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic890/message3824/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic890/message3824/</guid>
			<pubDate>Sat, 05 Feb 2005 05:42:42 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>How to filter no entries in the &quot;To&quot; field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic890/message3822/">How to filter no entries in the &quot;To&quot; field</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			The To: field contains the recipient's email address so I do not think an email with an empty or missing To: will reach you at all.<br />Maybe you mean Subject: ?<br />Anyway you may try a filter like<br />Message source|does not match|\bTo: .{5,}\b<br /><br />which should filter messages where there are less than 5 chars after the 'To: ' (note that there is a space after it)<br />Haven't tested the regex, please check. It can surely be written in a better way. <br />
			<i>05 February 2005 03:28:56, <a href="http://www.ritlabs.com/en/forums/">bigg one</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic890/message3822/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic890/message3822/</guid>
			<pubDate>Sat, 05 Feb 2005 03:28:56 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
		<item>
			<title>How to filter no entries in the &quot;To&quot; field</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum5/topic890/message3818/">How to filter no entries in the &quot;To&quot; field</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum5/">The Bat! - Filters</a>. <br />
			I got a hint that I can filter spam mails from people who leave the "TO" field blank. But how? <br />
			<i>04 February 2005 20:13:29, <a href="http://www.ritlabs.com/en/forums/">Michael Janik</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum5/topic890/message3818/</link>
			<guid>http://www.ritlabs.com/en/forums/forum5/topic890/message3818/</guid>
			<pubDate>Fri, 04 Feb 2005 20:13:29 +0200</pubDate>
			<category>The Bat! - Filters</category>
		</item>
	</channel>
</rss>
