Presentation on theme: "INTRANET MAIL SERVER (DESIGN OF SMTP and POP3)"— Presentation transcript:
1 INTRANET MAIL SERVER (DESIGN OF SMTP and POP3) Developed by:E. Susheel ChandarM. Guna Sekaran
2 About the ProjectThe Project comes under the area of Design of Communication ProtocolsThe main aim of the project is to design the two application level protocols SMTP & POP3This Project implements the Intranet Mail Server by using the design of SMTP and POP3 protocolsFunctionalities implementedPlain Text MailsMails with attachmentPersonal one-to-one chatVoice Chat
3 System Analysis SMTP (Simple Mail Transfer Protocol) SMTP is a system for sending messages to the server computer users based on addresses.HELO or EHLO merit.eduSMTPCLIENTSMTPSERVER220MAIL FROM250RCPT TO250DATA354, end with "." on a line by itself(Welcome )250 Mail accepted for deliveryQUIT221
4 POP3 (Post Office Protocol Version 3.0) POP3is used to download messages from the server to the client systemsUSERPOP3CLIENTPOP3SERVER+OKPASS ********+OK 1 Message(s) 563 OctetsLIST 1+OK 1 563RETR 1+OK 563 OctetsDELE 1+OK Message 1 DeletedQUIT+OK Bye
5 Mail Transfer Agent (MTA) 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.
6 System Design and Implementation MODULESAuthentication Server ModuleSMTP Server ModulePOP3 Server ModuleChat Server Module
7 AUTHENTICATION SERVER MODULE FunctionalitiesNew User creationStorage of user details in databasePassword EncryptionUsing Message Digest 5 AlgorithmCreation of User Mail BoxUser AuthenticationSMTP, POP3 and CHAT Server Integration
8 SMTP SERVER DESIGN MODULE Functionalities of SMTP ServerResponse to basic SMTP Commands from Client such asHELO or EHLOMAIL FROM <USER>RCPT TO <USER>DATARSETQUITStorage of message from client in the appropriate Mail BoxUnread Flag updation for mails in database
9 Functionalities of SMTP Client Transfer of commands to SMTP Server and receiving the responses from the Server.Creation of MIME Message HeadersCreation of body part for plain text mails and attachmentsPacking the Header and the Body part of the mail into a MIME Message.Transfer of the to the server to be stored in the appropriate
10 POP3 SERVER DESIGN MODULE Functionalities of POP3 ServerResponse to basic POP3 Commands from client such asUSER usernamePASS passwordSTAT indexLIST indexTOP message linesinbodyRETR indexQUITRetrieval of message(s) from the mail box of the user and send it to client.Updation of Read Flag when retrieval of message
11 POP3 Client Functionalities Transfer of Commands to the POP3 Server and receiving the appropriate responses.Getting the size of the messagesGetting the Number of messages in the user mail boxSeperation of header part from the messageSeperation of the multiple body parts such asTextAttachments
12 Chat Server Module Functionalities Maintains the online users list Public ChatThe message input to this window is reflected in all other client windows onlinePersonal Text ChatEnables a separate chat window in both the client systems and the message access is prevented for other usersVoice ChatSimilar to personal chat, initiates two voice chat windows in the client ends and transmits voice.