Title: Re: Rule for Delete from Server
On 8/17/06 6:17 PM, "Barbara Alfors" <[EMAIL PROTECTED]> wrote:
> As I hope I clarified above, I currently leave my messages on the server
> (even when deleted) so that I can get all legit mail both at home and at the
> office. I also currently delete office mail from home and personal mail
> from the office and still leave it on the server in order to get it in the
> other location. BUT I want my junk mail filter to automatically delete junk
> mail from the server so that I don't have to download it twice OR manually
> "delete from server" for all my junk mail.
>
> Anyone know how to get a rule to "delete message from server?"
You can do it by AppleScript. Copy, paste and save the following script in Script Editor (in /Applications/AppleScript) as a Script. to the Entourage Script Menu Items folder in your Microsoft User Data folder. Name it "Remove Junk from Server" or whatever:
tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
if category of theMsg contains {category "Junk"} then set connection action of theMsg to remove at next connection
end tell
Now make a Rule with criterion "Is Junk email" and an action to (only, nothing else) Run AppleScript, click the Script... button, and navigate to this "Remove Junk from Server" script.
Then, in your Rules list. move this rule to below any rule that Changes Status to Junk E-mail or Not Junk E-mail, but above all other rules (especially any that move messages). You can uncheck the "Do not apply other rules" box if you wish.
--
Paul Berkowitz
- Rule for Delete from Server Barbara Alfors
- merge/import of Entourage Keith Johnson
- Re: Rule for Delete from Server Diane Ross
- Re: Rule for Delete from Server Barbara Alfors
- Re: Rule for Delete from Server Paul Berkowitz
- Re: Ent-Talk:Re: Rule for Delete from Server Barbara Alfors
