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


Click here to return to the 'An AppleScript rule to check Mail against blackhole lists' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript rule to check Mail against blackhole lists
Authored by: DaveCC on May 27, '03 10:26:57PM

Found out why this behavior is occuring. You must have this filter script BEFORE the built in Junk filter for the message to be moved to the Junk folder by the Junk rule. Apparently, the AppleScript I'm using to move a message over to the Junk folder ISN'T working and the Junk rule is finding the message flagged as Junk and doing the job of moving it over.

Not Ideal as I would prefer this rule to execute after the default Junk filter to avoid excessive RBL lookups. Oh well, back to the drawing board. Anyone have any ideas on how to code this? I've already tried:

set mailbox of CurrentMessage to mailbox "Junk"
set mailbox of CurrentMessage to junk mailbox

Both seem to check out syntax wise, but don't seem to do anything.

Dave Chen

---
I'm much calmer now that I don't use WinBlow$ anymore.



[ Reply to This | # ]
An AppleScript rule to check Mail against blackhole lists
Authored by: jason mark on May 28, '03 07:19:10AM

Try:

set storage of current message to folder spamFolderName


You might want to also take a look at Spam Sieve. It has some nifty applescripts with it. Spam Sieve puts a junkmail filter in Entourage, for those of us who aren't on Mail.

You can find more info, including a shareware download of the tool, including some nifty Applescripts.

http://www.c-command.com/spamsieve/



[ Reply to This | # ]
An AppleScript rule to check Mail against blackhole lists
Authored by: jonahlee on May 29, '03 02:37:42PM
Nope

set storage of current message to folder spamFolderName

doesn't check syntax wise in script runner. I am trying the following now to see if it works.

set storageCurrentMessage to mailbox "Junk"

And no matter if I put the original script before or after the Junk filter I still get the SPAM's left in my inbox. Hopefully this will fix it.

---
- Jonah Lee

[ Reply to This | # ]

An AppleScript rule to check Mail against blackhole lists
Authored by: andyland on May 29, '03 05:10:29PM

I cannot get any of these scripts to move the mail to the Junk mailbox either. Doesn't matter if the rule is before or after the Junk rule, or any of the syntax that has been posted here. They do get labeled as Junk, but they are still sitting in my In box. Can someone please confirm that the are having the mails identified with this script actually moved to their Junk mailbox?

thanks,
Andy



[ Reply to This | # ]
An AppleScript rule to check Mail against blackhole lists
Authored by: jonahlee on May 31, '03 03:32:54PM

Even with these changes, it is still not moving the SPAM to the JUNK Mailbox. It just isn't working. Anyone have any ideas?

---
- Jonah Lee



[ Reply to This | # ]