Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!

An enclosure blocker rule for Mail Apps
I have created a new, relatively simple rule that traps most of the new image spam and virus-enclosure email messages in their tracks, so I thought I'd share. In Mail, create a new rule (in Mail -> Preferences -> Rules), with this setup:
  • Choose All on the conditions line.
  • Change the first condition line to: Any Attachment Name - Contains - then type a period in the last box.
  • Click the + button to add a second condition, and set it to Sender is not in my Address Book.
  • Set the Action for this new rule to Move message to mailbox Junk.
I know it seems simple, but it's been very effective in stopping the new breed of image spam *and* all of those spam messages with an enclosed .pif file. Rather than picking through over 100 emails per day in my inbox, I just scan the mail in the old Junk folder and delete them all in one step.

[robg adds: This should work well for most people, who tend not to receive attachments from non-regular correspondents. If, like me, you do receive such attachments, you might wish to modify the 'attachment contains' portion of the rule -- specify .PIF, for instance, instead of just a period.]
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[6,688 views]  

An enclosure blocker rule for Mail | 5 comments | Create New Account
Click here to return to the 'An enclosure blocker rule for Mail' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
An enclosure blocker rule for Mail
Authored by: BMarsh on Mon, Dec 18 2006 at 8:11AM PST
if you put this rule after other rules, or have the rule ignore any people in your addressbook, it should catch all of the spam in the same way, without taking out mail you do want.

[ Reply to This | # ]
coloured backgrounds; separate rules for .gif, .jpg
Authored by: hayne on Mon, Dec 18 2006 at 8:55AM PST
I haven't yet encountered the .pif attachments in spam, but I have been getting a lot of spam with .gif and .jpg attachments.
So I have been using similar rules (separate ones for .gif and .jpg) for classifying such messages as Junk.

My rules have a very useful additional action - they set the colour of the background to something that stands out (e.g. purple) so that I can easily see which of the messages in my Junk mail box were classified via these rules.
That makes it easier to check that none of them were misclassified - especially useful when first testing a rule.

[ Reply to This | # ]
Good call
Authored by: lullabud on Mon, Dec 18 2006 at 10:58AM PST
I'm defintiely going to have to give this one a try.

[ Reply to This | # ]
An enclosure blocker rule for Mail
Authored by: simsamsep on Mon, Dec 18 2006 at 3:04PM PST
These are the rules I have set for image spam. It works perfectly for me so far:

- If [all] of the following conditions are met:

- [Content-Type] [Contains] [multipart/related]
(Use "Edit Header List" at the bottom of the menu to create this rule.)

- [Any Attachment Name] [Contains] [.gif]

- [Sender is not in my Address Book]

- [Sender is not in my Previous Recipients]

Perform the following actions:

- [Move Message] to mailbox: [Junk]


[ Reply to This | # ]
An enclosure blocker rule for Mail
Authored by: Bassman59 on Thu, Dec 21 2006 at 3:40PM PST
This is very useful.

The mail preference "PreferPlainText" used to block images, but at some point Mail was updated and now sometimes embedded images (not images hosted on a remote server) are displayed. Since anyone who isn't in my address book shouldn't be sending me pictures (or any other attachments), this new hint is useful as it assumes mail with attachments from unknown senders is junk.

[ Reply to This | # ]