160 likes | 350 Views
INTRANET MAIL SERVER (DESIGN OF SMTP and POP3). Developed by: E. Susheel Chandar M. Guna Sekaran. About the Project. The Project comes under the area of Design of Communication Protocols The main aim of the project is to design the two application level protocols SMTP & POP3
E N D
INTRANET MAIL SERVER(DESIGN OF SMTP and POP3) Developed by: E. Susheel Chandar M. Guna Sekaran
About the Project • The Project comes under the area of Design of Communication Protocols • The main aim of the project is to design the two application level protocols SMTP & POP3 • This Project implements the Intranet Mail Server by using the design of SMTP and POP3 protocols • Functionalities implemented • Plain Text Mails • Mails with attachment • Personal one-to-one chat • Voice Chat
System Analysis • SMTP (Simple Mail Transfer Protocol) • SMTP is a system for sending messages to the server computer users based on e-mail addresses. HELO or EHLO merit.edu SMTP CLIENT SMTP SERVER 220 MAIL FROM <guna@merit.edu> 250 RCPT TO <susheel@merit.edu> 250 DATA 354, end with "." on a line by itself (Welcome------------.) 250 Mail accepted for delivery QUIT 221
POP3 (Post Office Protocol Version 3.0) • POP3is used to download messages from the server to the client systems USER susheel@merit.edu POP3 CLIENT POP3 SERVER +OK susheel@merit.edu PASS ******** +OK 1 Message(s) 563 Octets LIST 1 +OK 1 563 RETR 1 +OK 563 Octets DELE 1 +OK Message 1 Deleted QUIT +OK Bye
User Agent (UA) • The UA is a program to send and receive a mail. The UA prepares the message, creates the envelope, and puts the message in the envelope. • Mail Transfer Agent (MTA) • The MTA transfers the mail across the internet. • Multipurpose Internet Mail Extensions (MIME) • A standard for multi-part, multimedia electronic mail messages and World-Wide Web hypertext documents on the Internet. MIME provides the ability to transfer non-textual data, such as graphics, audio and fax.
System Design and Implementation • MODULES • Authentication Server Module • SMTP Server Module • POP3 Server Module • Chat Server Module
AUTHENTICATION SERVER MODULE • Functionalities • New User creation • Storage of user details in database • Password Encryption • Using Message Digest 5 Algorithm • Creation of User Mail Box • User Authentication • SMTP, POP3 and CHAT Server Integration
SMTP SERVER DESIGN MODULE • Functionalities of SMTP Server • Response to basic SMTP Commands from Client such as • HELO or EHLO • MAIL FROM <USER> • RCPT TO <USER> • DATA • RSET • QUIT • Storage of e-mail message from client in the appropriate Mail Box • Unread Flag updation for mails in database
Functionalities of SMTP Client • Transfer of commands to SMTP Server and receiving the responses from the Server. • Creation of MIME Message Headers • Creation of body part for plain text mails and attachments • Packing the Header and the Body part of the mail into a MIME Message. • Transfer of the email to the server to be stored in the appropriate
POP3 SERVER DESIGN MODULE • Functionalities of POP3 Server • Response to basic POP3 Commands from client such as • USER username • PASS password • STAT index • LIST index • TOP message linesinbody • RETR index • QUIT • Retrieval of email message(s) from the mail box of the user and send it to client. • Updation of Read Flag when retrieval of message
POP3 Client Functionalities • Transfer of Commands to the POP3 Server and receiving the appropriate responses. • Getting the size of the email messages • Getting the Number of messages in the user mail box • Seperation of header part from the message • Seperation of the multiple body parts such as • Text • Attachments
Chat Server Module • Functionalities • Maintains the online users list • Public Chat • The message input to this window is reflected in all other client windows online • Personal Text Chat • Enables a separate chat window in both the client systems and the message access is prevented for other users • Voice Chat • Similar to personal chat, initiates two voice chat windows in the client ends and transmits voice.
Future Enhancements • To include the facility of attachment of folders with the electronic mail, which is not in use in the present systems.