On 9/11/02 12:56 PM, "Dean Suhr" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I ran across what appears to be a great spam product, SpamSieve
> <www.c-command.com/spamsieve>. It uses personal Bayesian Analysis to develop
> a personal profile of what I believe to be spam, and what is not.
>
> The challenge is this ... it needs to run as a rule induced AppleScript on
> every incoming message. Once I run an AppleScript no other rules can be
> applied. I cannot afford to give up my rules-based filtering, filing and
> coding.
>
> Any thoughts on how to overcome this problem?
>
Usually you can just add the next action to the same rule. OK, you have
different actions depending on which sender, perhaps. so
1) You could set up several rules to run this script, not just one rule on
"All Messages". Use the same criteria as for the other rules that then move
the messages, and add their actions as a second action. So you'd have:
Rule 1:
Criteria: From contains <old spammer A> Or
From contains <very old spammer B> or
From contains <new spammer C>
Action: Run script SpamSieve
Move message to spamFolder 1
Rule 2:
Criteria: From contains <new spammer D> Or
From contains <dead spammer E> or
From contains <don't know>
Action: Run script SpamSieve
Move message to spamFolder 2
OR:
2) Open the script if it's not run-only and add the other rule stuff (which
messages go to which folder, I presume) as part of the script. That stuff is
pretty easy: it's basically like this. Let's say the scripter used the
variable 'theMsg' to represent the message being filtered, and perhaps he's
already used something like 'theSender' for the sender, or 'theAddress' for
the sender's address. If not (I'm sure he has), you'd have to add"
set theSender to sender of theMsg
set theAddress to address of theSender
--[probably already there, maybe different variables}.
Then you'd continue
if theAddress contains "oldSpammerA" or theAddress contains
"veryOldSpammerB" then
move theMsg to folder "spamFolder 1"
else if theAddress contains "newSpammerD" or theAddress contains
"dontknow" then
move theMsg to folder "spamFolder 2"
end if
etc.
--
Paul Berkowitz
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>