Entourage Applescript

H

hagrid

We are using Spamassassin to tag SPAM. It puts the word prepends the
word "SPAM:" to the subjust of suspect messages. In Entourage, we
have a Rule setup to Move all incoming messages that start with the
word "SPAM" to the Junk E-mail folder. I would like to find a way to
have the word "SPAM" removed from the subject line and moved to the
Inbox if the user clicks the "Not Junk" button.

Clicking "Not Junk" move the message to the Inbox, but I would like to
have the ability to remove the word "SPAM:" from the subject.

At this point, the users have to click on Reply to edit/remove the
word "SPAM:".

I was hoping to find a way to modify the Entourage script or write an
Applescript that can run as a Rule.

Any help would be appreciated.

....hagrid
 
D

Diane Ross

We are using Spamassassin to tag SPAM. It puts the word prepends the
word "SPAM:" to the subjust of suspect messages. In Entourage, we
have a Rule setup to Move all incoming messages that start with the
word "SPAM" to the Junk E-mail folder. I would like to find a way to
have the word "SPAM" removed from the subject line and moved to the
Inbox if the user clicks the "Not Junk" button.

I'm not familiar with Spamassassin, but check to see if there is a
preference to not include the work "SPAM".
Clicking "Not Junk" move the message to the Inbox, but I would like to
have the ability to remove the word "SPAM:" from the subject.

At this point, the users have to click on Reply to edit/remove the
word "SPAM:".

I was hoping to find a way to modify the Entourage script or write an
Applescript that can run as a Rule.

I don't know what version of Entourage you are using but the new Entourage
2004 has a greatly improved Junk Mail Filter. You might want to discontinue
Spamassassin and use the JMF.
 
P

Paul Berkowitz

We are using Spamassassin to tag SPAM. It puts the word prepends the
word "SPAM:" to the subjust of suspect messages. In Entourage, we
have a Rule setup to Move all incoming messages that start with the
word "SPAM" to the Junk E-mail folder. I would like to find a way to
have the word "SPAM" removed from the subject line and moved to the
Inbox if the user clicks the "Not Junk" button.

Clicking "Not Junk" move the message to the Inbox, but I would like to
have the ability to remove the word "SPAM:" from the subject.

At this point, the users have to click on Reply to edit/remove the
word "SPAM:".

I was hoping to find a way to modify the Entourage script or write an
Applescript that can run as a Rule.

There's no way to "intercept" the clicking of the Not Junk button to do
anything by AppleScript. It would be possible to have an AppleScript to use
_instead_ of the Not Junk button, which would remove the Junk category,
remove the "SPAM" and any brackets, colons, spaces, etc. from the subject
line, and move the message to the local Inbox. Unfortunately it could not be
made to work with IMAP or Hotmail Inboxes.

However, before going down that route, I'd echo Diane's advice and suggest
that you use the built-in Junk Mail Protection of Entourage 2004. (You're
obviously in 2004 because there's no Junk or Not Junk buttons in X.)

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top