Bayesian spam filtering is a method that uses statistical analysis of an incoming email header and content to estimate the likelihood that it is spam. Bayesian spam filtering compares the frequency of the occurrence of particular words in an incoming message with the frequency of those words occurring in spam and legitimate email.