Two main goals of our e-mail client system are filtering out junk e-mails and blocking e-mail sent out by malicious code.
Ranging from commercial offerings, fraud financial schemes to adult material, the overwhelming spam messages are causing both mental and financial losses to users. Therefore we design and implement an email send / receive system at the client level, which can filter out spam message and also act as a email firewall.
The Naïve Bayesian technique is proposed to design the spam filtering engine. The basic block diagram and sequence diagram are as follows:
Email client solution:
MAPI architecture has to be used by this application to send, receive, move mails et all. It should allow user to configure only one email id. It can be anything like gmail, yahoo, personal corporate email ids etc.
A user interface has to be provided for displaying folders, incoming emails and to compose emails. Also settings screen has to be provided.
Settings screen should contain email settings. Email address, user name / password settings, Incoming / outgoing mail server settings, server port numbers details etc. It should look like in Microsoft outlook settings.
The folders required are Inbox, Outbox, Draft and Spam folder. Inbox is used to store clean mails. Outbox to be used while sending emails and Spam folder for storing spam emails. Any mail should be allowed to save in Draft folder.
When a new mail is received, that mail has to be checked for spam. If the mail is identified as spam, it should be moved to Spam folder. The clean mails have to be moved to Inbox folder.
Spam mail algorithm:
This is the important part of this project. Naïve Bayesian algorithm should be used to identify spam mails. The related information is available in [url removed, login to view] I will also update more information later.
Outgoing emails has to be composed from New mail compose screen. When send button is clicked it should go to outbox folder and then should go to the corresponding email id. Also user should be allowed to save composed email in draft folder.
A firewall has to be provided in the application that should only allow emails composed from this email client in port 25 to go out. Other email created by worm application shouldn’t be allowed to send out. This firewall should monitor port 25 for outgoing emails.