By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

18
By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server

Transcript of By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Page 1: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

By:

E. Susheel Chandar

M. Guna Sekaran

Intranet Mail Server

Page 2: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Modules• Authentic Server

• SMTP Server

• POP3 Server

• Chat Server

Page 3: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Authentic ServerAuthentic Server• This Module is used for the user to connect

to the mail server and also acts as the main server that gives the user the services of the SMTP and POP3 for sending and receiving mails , i.e. connects the user with the SMTP and the POP3 Server

Page 4: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Data Flow Diagram

User Interface

ClientExisting Users

New Users

AuthenticServer

UsrName and Pwd

Acknowledge

Acknowledge

Registration Req

Incorrect User Info

DataStore

SMTP Server

POP3Server

ChatServer

User Information

Page 5: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

SMTP ServerSMTP Server• SMTP (Simple Mail Transfer Protocol) is

used for the purpose of sending mails to a particular user

• This SMTP Server implements the following set of the basic SMTP Commands which are sent from the host to send mails

Page 6: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Contd.. • HELO <domain>

– Returns identity of mail server.

• MAIL FROM <host> – Initiates a mail session from host.

• RCPT TO <user> – Designates who receives mail.

• DATA – Begins message composition.

• QUIT – Terminates the mail session.

• VRFY <user>– Verifies the identity of a user.

Page 7: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Contd..

• NOOP– Causes no action, except acknowledgement from server.

• RSET – Resets mail connection .

• The Response Codes from the server to the client for the requests are as follows

• 220 • Mail service ready.

• 250 • Mail transfer completed.

Page 8: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Contd..

• 354 – Start mail message, end with <CRLF><CRLF>.

• 221 – Mail service closing connection.

• 421 – Mail service unavailable.

• 450 – Mailbox unavailable.

• 500 – Unknown command.

• 501 – Bad parameter.

• 502 – Command not implemented.

Page 9: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Data Flow Diagram

ClientSMTP Server

HELO mgr.com

220

MAIL FROM <[email protected]>

RCPT TO <[email protected]>

250

250

DATA (Welcome-----.)250

QUIT221

Page 10: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

POP3 ServerPOP3 Server• POP3 (Post Office Protocol Version 3.0) is

used for the purpose of receiving or retrieving the mails for a particular user.

• The POP3 Server Implements the following set of basic Commands for the purpose of retrieval of mails

Page 11: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Contd..

• USER username– Sent by a client to identify the recipient.

• PASS password– Sent by a client to supply a password for the recipient.

• RETR index– Sent by a client to retrieve a specific message.

• DELE index– Sent by a client to delete a specific Message.

• QUIT– Sent by a client to sign off from the server.

Page 12: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Contd..

• Responses in a POP3 Server for the above requests or commands from the client is of only two types

• If the Request sent is correct the response usually begins with +OK <suffixes>

• If the Request sent is incorrect the response usually begins with –ERR < suffixes>

Page 13: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Data Flow Diagram

ClientPOP3Server

USER guna+OK password reqd for [email protected]

PASS cse+OK [email protected] has 2 message(s) ( 2000 octets)

RETR 2

+OK 340 octets Message ………….

DELE 1+OK Message 1 has been deleted

QUIT

+OK pop server at mgr.com signing off

Page 14: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Chat ServerChat Server

• This Module is used to implement a chat between two specific users who are online and also can initiate a conference chat between multiple users online

Page 15: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Data Flow Diagram

Client X Client Y

Server

Direct Connection Establishment

Chat Request

IP address of Client Y Chat Request

Response

Individual Chat :

Page 16: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Percentage of Completion

• Finished the Phases of analysis and Design of the Servers

• Implementation of SMTP and POP3 Servers in Process

• In Overall covered nearly 40 – 50 % of the Project

Page 17: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

Future Enhancement

• To add facility of Voice Chat

Page 18: By: E. Susheel Chandar M. Guna Sekaran Intranet Mail Server.

THANK YOUTHANK YOU