An expert system for classifying mails (spam)