Results 1 to 7 of 7

Thread: How can I execute "Train as Spam" from a rule in Apple Mail?

  1. #1

    Default How can I execute "Train as Spam" from a rule in Apple Mail?

    I want the "Train as Spam" script to perform some additional steps in addition to moving the message to the Junk Folder. For example, I would like change background color.

    I know how to do this as a rule in Entourage but how do I do this in Apple Mail?

    Thanks.

  2. #2

    Default

    Quote Originally Posted by LTOTH View Post
    I want the "Train as Spam" script to perform some additional steps in addition to moving the message to the Junk Folder. For example, I would like change background color.
    Could you tell me more about what you’re trying to do? The “SpamSieve - Train as Spam” menu command already changes the background color.

  3. #3

    Default

    That's the problem...if a new email is auto-detected as spam it changes the background color to gray. If I manually tell it to "Train as Spam" it's not changing the background color.

    I have a smart filter that shows me all inbound mail (both spam and good mail). It is difficult to differentiate the the good mail from the junk that I have trained because they both have white backgrounds.

    So it there a way to apply "train as spam" as a rule...as I could in Entourage?

  4. #4

    Default

    Quote Originally Posted by LTOTH View Post
    That's the problem...if a new email is auto-detected as spam it changes the background color to gray. If I manually tell it to "Train as Spam" it's not changing the background color.
    It should because the script and rule use the same preference to determine whether to set the color. I’ve not heard any other cases of this not working. Which version of Mac OS X are you using?

    Quote Originally Posted by LTOTH View Post
    So it there a way to apply "train as spam" as a rule...as I could in Entourage?
    No, but I don’t see any reason that you would need to do that. You should only train as spam messages that you’ve specifically identified as spam and that were not caught by SpamSieve. Attaching the training script to a rule would cause too many other messages to be trained as spam.

  5. #5

    Default

    I am running Yosemite 10.10.5

  6. #6

    Default

    Quote Originally Posted by LTOTH View Post
    I am running Yosemite 10.10.5
    Please click this link to enable some debug logging. Then quit and relaunch SpamSieve and then Mail. If you now train a message as spam, there should be some additional information logged to Console. Does it say “Trained message as spam” and then “Changed backround color to gray”?

  7. #7

    Default

    Thanks. I ran the "SpamSieve - Change Settings" script again it appears to have corrected the problem.

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2014, 11:53 AM
  2. Replies: 5
    Last Post: 12-19-2012, 05:29 PM
  3. Replies: 16
    Last Post: 02-08-2012, 02:45 PM
  4. Apple Mail rule to add spam to corpus
    By vocaro in forum SpamSieve
    Replies: 11
    Last Post: 04-08-2008, 10:44 AM
  5. Rule in apple mail
    By turk123 in forum SpamSieve
    Replies: 1
    Last Post: 11-09-2006, 10:38 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •