<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Another Mail.app rule to catch image spam</title>
	<atom:link href="http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/</link>
	<description>Tips and add-ons to make Apple Mail / Mail.app even better</description>
	<lastBuildDate>Wed, 03 Feb 2010 23:59:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mark</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-102252</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 12 Mar 2007 16:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-102252</guid>
		<description>I just wrote an applescript and had it run whenever a message is not from someone in my address book. This way I can adjust the filter to only work emails that contain exactly one small gif image.

&lt;code&gt;
(*set theOutputFolder to (choose folder) as string
*)
using terms from application &quot;Mail&quot;
	on perform mail action with messages theSelectedMessages for rule theRule
		tell application &quot;Mail&quot;
			repeat with eachMessage in theSelectedMessages
				set theAttachments to every mail attachment of eachMessage
				set numAttachments to length of theAttachments
				
				if numAttachments is equal to 1 then
					
					set theAttachment to item 1 of theAttachments
					set attachmentType to (MIME type of theAttachment)
					set attachmentSize to (file size of theAttachment)
					
					if attachmentType is equal to &quot;image/gif&quot; then
						if attachmentSize is less than 100000 then
							move eachMessage to mailbox &quot;picspam&quot;
						end if
					end if
				end if
			end repeat
		end tell
	end perform mail action with messages
end using terms from
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I just wrote an applescript and had it run whenever a message is not from someone in my address book. This way I can adjust the filter to only work emails that contain exactly one small gif image.</p>
<p><code><br />
(*set theOutputFolder to (choose folder) as string<br />
*)<br />
using terms from application "Mail"<br />
	on perform mail action with messages theSelectedMessages for rule theRule<br />
		tell application "Mail"<br />
			repeat with eachMessage in theSelectedMessages<br />
				set theAttachments to every mail attachment of eachMessage<br />
				set numAttachments to length of theAttachments</p>
<p>				if numAttachments is equal to 1 then</p>
<p>					set theAttachment to item 1 of theAttachments<br />
					set attachmentType to (MIME type of theAttachment)<br />
					set attachmentSize to (file size of theAttachment)</p>
<p>					if attachmentType is equal to "image/gif" then<br />
						if attachmentSize is less than 100000 then<br />
							move eachMessage to mailbox "picspam"<br />
						end if<br />
					end if<br />
				end if<br />
			end repeat<br />
		end tell<br />
	end perform mail action with messages<br />
end using terms from<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Monster</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-96663</link>
		<dc:creator>Monster</dc:creator>
		<pubDate>Thu, 08 Mar 2007 08:10:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-96663</guid>
		<description>I created this rule, but now I cannot edit it nor can I edit any copies of it.

odd huh?

Using version 1.3.11 with mac osx 10.3.9
I can delete it so I&#039;m not that concerned, but it is curious.

any ideas?</description>
		<content:encoded><![CDATA[<p>I created this rule, but now I cannot edit it nor can I edit any copies of it.</p>
<p>odd huh?</p>
<p>Using version 1.3.11 with mac osx 10.3.9<br />
I can delete it so I&#8217;m not that concerned, but it is curious.</p>
<p>any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RikerJoe</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-61151</link>
		<dc:creator>RikerJoe</dc:creator>
		<pubDate>Wed, 10 Jan 2007 14:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-61151</guid>
		<description>Torben wrote:  &quot;Just minutes after I set up a rule like you have i received a spam message with matced excactly.

- It had a .gif
- I was multipart/related (Raw source read: Content-Type: multipart/related;)
- Was not in my address book

â€¦but Mail didnâ€™t catch it. I found it was the Content-Type because as I deleted that condition Mail caught it.

Any idea why ?&quot;


Here is my guess.  You did not include a &quot;Stop Evaluating Rules&quot; at the end, which actually should be added to the example above.  What may be happening is that a subsequent rule is overriding the actions of this rule.  Hope that helps.</description>
		<content:encoded><![CDATA[<p>Torben wrote:  &#8220;Just minutes after I set up a rule like you have i received a spam message with matced excactly.</p>
<p>- It had a .gif<br />
- I was multipart/related (Raw source read: Content-Type: multipart/related;)<br />
- Was not in my address book</p>
<p>â€¦but Mail didnâ€™t catch it. I found it was the Content-Type because as I deleted that condition Mail caught it.</p>
<p>Any idea why ?&#8221;</p>
<p>Here is my guess.  You did not include a &#8220;Stop Evaluating Rules&#8221; at the end, which actually should be added to the example above.  What may be happening is that a subsequent rule is overriding the actions of this rule.  Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flec</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-52867</link>
		<dc:creator>flec</dc:creator>
		<pubDate>Sat, 23 Dec 2006 00:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-52867</guid>
		<description>I use JunkMatcher (free, PPC only) and it has now learn to effectively catch all those image spams as well.</description>
		<content:encoded><![CDATA[<p>I use JunkMatcher (free, PPC only) and it has now learn to effectively catch all those image spams as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias s buckell</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-52837</link>
		<dc:creator>tobias s buckell</dc:creator>
		<pubDate>Fri, 22 Dec 2006 22:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-52837</guid>
		<description>Dude, best Christmas gift I&#039;ve gotten yet! Thank you so much.</description>
		<content:encoded><![CDATA[<p>Dude, best Christmas gift I&#8217;ve gotten yet! Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard5</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-52632</link>
		<dc:creator>Richard5</dc:creator>
		<pubDate>Fri, 22 Dec 2006 11:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-52632</guid>
		<description>I don&#039;t have image spam because I use DSpam, it is learning very quickly in adapting.  Together with the standard Junk rules in my mail program they train each other and are a perfect solution I&#039;m almost 99% free of spam. The only issue might be is that you need to run your own mailserver...</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have image spam because I use DSpam, it is learning very quickly in adapting.  Together with the standard Junk rules in my mail program they train each other and are a perfect solution I&#8217;m almost 99% free of spam. The only issue might be is that you need to run your own mailserver&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sigurdur Armannsson</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-51984</link>
		<dc:creator>Sigurdur Armannsson</dc:creator>
		<pubDate>Wed, 20 Dec 2006 23:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-51984</guid>
		<description>I have tried at least two other versions of similar rules to catch those boring spam messages. Then I tried for SpamSieve for two weeks and after it had cought every one of this kind of spam I bought it. I feel like a free man again. It&#039;s even fun to get spam now and see it stashed in one folder called Spam without me hardly moving a finger.</description>
		<content:encoded><![CDATA[<p>I have tried at least two other versions of similar rules to catch those boring spam messages. Then I tried for SpamSieve for two weeks and after it had cought every one of this kind of spam I bought it. I feel like a free man again. It&#8217;s even fun to get spam now and see it stashed in one folder called Spam without me hardly moving a finger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Plaid Cow</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-51519</link>
		<dc:creator>The Plaid Cow</dc:creator>
		<pubDate>Tue, 19 Dec 2006 22:04:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-51519</guid>
		<description>At the bottom of the rules drop down you can &quot;Edit Header List...&quot; and add it.</description>
		<content:encoded><![CDATA[<p>At the bottom of the rules drop down you can &#8220;Edit Header List&#8230;&#8221; and add it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miller</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-51451</link>
		<dc:creator>Miller</dc:creator>
		<pubDate>Tue, 19 Dec 2006 17:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-51451</guid>
		<description>I don&#039;t have an option for Content-Type in the selecting the rules. The only option I have for Content is Message Content and then whether it Contains, Does Not Contain, Begins With, Ends With, or Is Equal To. I&#039;m running version 2.1 (752/752.2) under OS X 10.4.7. Checks for software updates reveal there are none.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have an option for Content-Type in the selecting the rules. The only option I have for Content is Message Content and then whether it Contains, Does Not Contain, Begins With, Ends With, or Is Equal To. I&#8217;m running version 2.1 (752/752.2) under OS X 10.4.7. Checks for software updates reveal there are none.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Torben</title>
		<link>http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/comment-page-1/#comment-51389</link>
		<dc:creator>Torben</dc:creator>
		<pubDate>Tue, 19 Dec 2006 14:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hawkwings.net/2006/12/20/another-mailapp-rule-to-catch-image-spam/#comment-51389</guid>
		<description>Thanks

Just minutes after I set up a rule like you have i received a spam message with matced excactly.

- It had a .gif
- I was multipart/related (Raw source read: Content-Type: multipart/related;)
- Was not in my address book

...but Mail didn&#039;t catch it. I found it was the Content-Type because as I deleted that condition Mail caught it.

Any idea why ?</description>
		<content:encoded><![CDATA[<p>Thanks</p>
<p>Just minutes after I set up a rule like you have i received a spam message with matced excactly.</p>
<p>- It had a .gif<br />
- I was multipart/related (Raw source read: Content-Type: multipart/related;)<br />
- Was not in my address book</p>
<p>&#8230;but Mail didn&#8217;t catch it. I found it was the Content-Type because as I deleted that condition Mail caught it.</p>
<p>Any idea why ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.334 seconds -->
