Rule to Delete Junk from Deleted Items

R

Rob Teichman

Somehow I have been targeted by a virus infected computer or group of
computers. Because of this I get about a hundred messages a day containing
either a virus EXE file or a "Microsoft Security Update". The junk mail
filter works fine and I have it going straight into the "Deleted Items"
however, I want to purge these at the end of the day from the deleted Items
folder. I still want to hold on to the other deleted items though.

I can't figure out how to get a rule that deletes from deleted items only
those messages with a category of "junk". Any ideas? I would so it using
AppleScript, but I can't find a reference for the Entourage AppleScript
commands.
 
B

Barry N. Wainwright

Somehow I have been targeted by a virus infected computer or group of
computers. Because of this I get about a hundred messages a day containing
either a virus EXE file or a "Microsoft Security Update". The junk mail
filter works fine and I have it going straight into the "Deleted Items"
however, I want to purge these at the end of the day from the deleted Items
folder. I still want to hold on to the other deleted items though.

I can't figure out how to get a rule that deletes from deleted items only
those messages with a category of "junk". Any ideas? I would so it using
AppleScript, but I can't find a reference for the Entourage AppleScript
commands.

You could set up a rule with the criteria 'is junk' and the action 'delete',
but you would need to select the mail in the deleted items folder and run
this rule manually for it to work.

For details on the applescript commands available you only need to open the
entourage dictionary in your script editor. There is a command to 'open
dictionary' (or similar wording, depending what editor you use). Select that
and navigate to the entourage app. There are a great many entourage
applescripts at www.scriptbuilders.net where you can examine the code and
see how things are done. If you get stuck, ask here and any one of several
people will help you out.


--
Barry Wainwright
Microsoft MVP (see http://mvp.support.microsoft.com for details)
Seen the Entourage FAQ pages? - Check them out:
<http://www.entourage.mvps.org/toc.html>

Please post responses to this newsgroup. If I ask you to contact me
off-list, remove '.INVALID' from email address before replying.
 
D

Diane Ross

Somehow I have been targeted by a virus infected computer or group of
computers. Because of this I get about a hundred messages a day containing
either a virus EXE file or a "Microsoft Security Update". The junk mail
filter works fine and I have it going straight into the "Deleted Items"
however, I want to purge these at the end of the day from the deleted Items
folder. I still want to hold on to the other deleted items though.

I can't figure out how to get a rule that deletes from deleted items only
those messages with a category of "junk". Any ideas? I would so it using
AppleScript, but I can't find a reference for the Entourage AppleScript
commands.

I use the script Nuke Messages, but rather than send to deleted items I do
it from my Junk folder.

This script that will permanently delete from a folder rather than sending
messages to the trash.

You can download the free AppleScript from SomeDude
Software; make sure you download the Entourage
version.

<http://www.avernus.com/~phil/OEStuff.html>
 
Top