Benches Uncategorized

10

A question about spamtrainer

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

I have installed spamtrainer.

In AppleMail I have a junkbox with some 70.000 junkmessages.

So I was wondering if I could use those to teach spamtrainer about spam messages by simply copying the folder containing them to the server and point spamtrainer to that folder?

And could I then perhaps use the same method for messages that are not spam?

Or are they perhaps not in the right format?

TIA
Hans

10 replies

Sign in or join Beachball Help to reply.

  1. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Wow. You must like spam

    I wouldn't do it. It will take days to digest and won't give any good results.

    Best to just redirect spam that hasn't been detected as it comes in. Same goes for HAM. Also, only redirect false postives to "notjunkmail". It makes no sense to redirect all HAM to it.

    HTH,
    Alex

  2. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Spam is my life...

    I think you are misunderstanding me, maybe...

    When I first learned of spamtrainer I started collecting spam by using the spam function in AppleMail with the idea to later use it to teach spamtrainer. And then time just past and I never got around

    I also have some 3 or 4 hundred thousand good messages which I have been collecting with the same intent.

    I did this because at some point I thought this was the way to go. It was my intention to place some of the spam messages into spamtrainers spam folder and some of the good messages into spamtrainers ham folder. And then start the learning process.

    If I'm misunderstanding something here please let me know.
    Or even better point me to some reading material that explains the correct method...

    Kind regards
    Hans

  3. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Do not mass feed junkmail or notjunkmail. It is pointless.
    Spam changes continuously. Feeding tons of old spam will only take ages to process and not give any proper results.

    Just feed it as it comes in.

  4. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    My mistake.

    I always thought that the idea behind spamtrainer was to feed it several hundred "good" and "bad" messages to make it set up Spamassassins knowledgebase.

    Kind regards
    Hans

  5. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You need to have a minimum of 200 HAM and SPAM before it considers the Bayes DB for evaluation.
    By simply redirecting as you go, you will reach 200 quickly.

  6. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    hi, a stupid question about feeding ham/spam folders...
    I setup a spam account (named [email protected]) and redirect all in it,
    an ham account ([email protected]) with some good mails.
    For a different account (example: from one of my users in lan) how to feed spam/ham folders? Doing a Redirect from Mail application?
    Of course i use spamtrainer to update db...

  7. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ok I found the redirect option in the mail client but I wonder...

    In order to teach spamassassin I need to redirect the spammessages to the spamfolder. Correct?

    If so do I need to create users on the servers with the names "ham" and "spam" or what is the procedure?

    I don't quite see how I can redirect messages to the ham and spam folders without actually create those users first.

    Please advise.

    Hans

  8. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    You need to create those two mailboxes. The default names would be junkmail and notjunkmail.
    If you use Apple's learnjunkmail script, you need to use the default names or modify the script. If you use spamtrainer you can use any name as long as you tell spamtrainer with the -n and -j options.

  9. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Ok.
    So I just create two users on the server called junkmail and not junkmail, enable mail for them and redirect messages accordingly.

    Sorry for being so persistent but I need to know exactly what I'm doing before actually doing it.

    Kind regards
    Hans

  10. 0

    Apple Support Community member

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Yes.