This study reviews several popular spam filters and filtering approaches, and then propose and E-mail header based spam filter that takes advantages of both heuristic filtering and Bayesian filter. The experiment results showed that the proposed spam filter performs more stably than SpamAssassin, Bogofilter and SpamBayes. The proposed spam filter achieved an average precision rate above 88% and a false positive rate below 0.1%. Also the proposed spam filter is comparable to other spam filter in filtering efficiency.