Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to forward spam to the FTC via Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to forward spam to the FTC via Mail
Authored by: tj2001 on Feb 23, '06 02:26:24PM

I got a nice command you can also throw in there!
After is sends it how about it deletes it also?? Thanks for the script.

---
--- www.macdynamix.com ---
:: Super Me I Am ::



[ Reply to This | # ]
An AppleScript to forward spam to the FTC via Mail
Authored by: tj2001 on Feb 23, '06 02:33:07PM
Okay I think I properly implemented the "delete" feature I was asking about:
tell application "Mail"
	set theMessages to the selection
	repeat with thisMessage in theMessages
		set newMessage to make new outgoing message at end of outgoing messages
		tell newMessage
			set content to thisMessage's source
			set subject to thisMessage's subject
			make new to recipient with properties {address:"spam@uce.gov"}
		end tell
		send newMessage
		set read status of thisMessage to true
		delete thisMessage
	end repeat
end tell
Also, you could probably remove the line:
set read status of thisMessage to true
Is this right or is there a better method? I'm not a keen Applescriptor this was just from opening the "Library" for Mail and adding that function :)

---
--- www.macdynamix.com ---
:: Super Me I Am ::

[ Reply to This | # ]

An AppleScript to forward spam to the FTC via Mail
Authored by: gabba1 on Feb 23, '06 04:13:43PM

How about a script that is even MORE useful?

How about a script that automatically backtracks EVERY incoming eMail to check to see if it is from a REAL eMail address. If it is, it lets the eMail through... if it is not and is a auto-generated address from a SPAM-bot... it automatically gets rejected and never even shows up in your inbox.

That would be much more helpful to me!



[ Reply to This | # ]
ineffective
Authored by: sjk on Feb 23, '06 07:59:12PM

Briefly, the two main problems with your suggestion:

• There's no consistently accurate, reliable, and efficient way to verify that sender addresses on mail you receive are "real".
• Spam typically uses forged, but "real" (valid, RFC-compliant), addresses.

There are plenty of tools for detecting and filtering suspected spam (using different techniques) before it ever reaches your inbox. Even Apple Mail's default junk filter can often do a fairly decent job.



[ Reply to This | # ]
An AppleScript to forward spam to the FTC via Mail
Authored by: TigerKR on Feb 27, '06 11:06:15AM

Try this hint:

"An AppleScript rule to check Mail against blackhole lists"

http://www.macosxhints.com/article.php?story=20030523090008320



[ Reply to This | # ]
RBL effectiveness
Authored by: sjk on Feb 27, '06 06:58:44PM

Regardless of arguments and politics about RBL, it's working quite effectively with server-side filtering for identifying most spam I receive. Messages are tagged with X-RBL-Warning headers and get dumped directly to a junk mailbox where I've rarely found false positives. And Apple Mail's junk filter has been reasonably effective with handling the small remainder of non-RBL spam.

I've been more satisfied with that server/client combination than when all spam filtering was handled on the server. It's turned out to be easier junking a couple false negatives a day than it used to be dredging through the junkbox looking for significantly more false positives that mistakenly ended up there. I'm still undecided whether it's worth using JunkMatcher to do a more thorough job catching what Mail's junk filter misses.



[ Reply to This | # ]
An AppleScript to forward spam to the FTC via Mail
Authored by: TigerKR on Feb 27, '06 10:30:08AM

I have Mail automatically delete email from "Junk" and "Trash" after one day (as insurance). Though, you can set it to delete on quit also.



[ Reply to This | # ]