To train the Bayes recognition of Spamassassin you need to have a big amount of spam mails which you can…