Zoha Afzal 035 PDF
Zoha Afzal 035 PDF
Zoha Afzal 035 PDF
Topic
“Mail Server and its implementation”
Submitted To:
Ma’am Rabail Shafique
Submission Date:
August 10, 2020
Submitted By:
Zoha Afzal
(2017-BCS-035)
pg. 1
Contents
Introduction: ................................................................................................................................. 3
Literature review: ......................................................................................................................... 4
Problem statement: ....................................................................................................................... 4
Project objectives: ......................................................................................................................... 4
Project methodology: .................................................................................................................... 4
Algorithm: SMTP Protocol Monitoring. ................................................................................ 5
Technique................................................................................................................................... 5
Implementation: ............................................................................................................................ 5
Email server network: .................................................................................................................. 6
......................................................................................................................................................... 6
DNS Configuration: ...................................................................................................................... 9
MAIL server: ............................................................................................................................... 10
PC’s configuration: ..................................................................................................................... 11
Working: ...................................................................................................................................... 29
Flowchart: .................................................................................................................................... 29
Conclusion: .................................................................................................................................. 30
pg. 2
Introduction:
Mail servers assume a significant job in the data society today. As the Internet client public proceed
to develop exponentially, there is an expanding interest for superior mail server. These days the
utilization of electronic administrations and Internet correspondences are progressively normal
among residents and along these lines the interest for better administrations and better
arrangements is continually developing.
Mailing server is customized by which you can send messages to your companions, who are
enlisted with that server. It permits a client to move text and information like picture, video, mp3,
and so forth. In any case, it has a few confinements for the size of the connection, yet you can
transform it for your server and according to business needs.
Ongoing years have seen the rise of new frameworks and registering stages just as the
improvement of the current ones. The need to improve administrations and electronic
correspondences is convincing and it requires consistent checking and concentrating new
arrangements towards new foundations and stages.
Protocols used most commonly in mail server are SMTP and POP. SMTP for transferring mail
and POP for mail access. Delivery of mail to the server from the client and to the destination from
the originating server is done through SMTP (simple mail transfer protocol).
In this project we configured a mail server on a cisco packet tracer. Cisco is a platform that provides
its user the features of virtually building a network to check if it’s okay to implement it in real life
or not. In this project we used basically three servers DNS (domain name server) DHCP (dynamic
host control protocol) and mail server.
The central part of the internet is domain name server or DNS which basically provides us a route
to match names (websites you are questioning) to the digits (websites’ address). DNS further
contains list of public IP addresses along with their hostnames and in majority of cases translate
those names to IP addresses. It’s like phonebook of internet.
Next comes DHCP (dynamic host control) used on IP networks DHCP is a network protocol that
spontaneously assigns an IP address and other information including DNS, default gateway, subnet
mask to every other host on the network for their efficient communication with other endpoints.
Further while designing our network on cisco we used a switch router and different PC’s to make
a network. Then we configured each device as documented in implementation section along with
screenshots of each step. And then mail server network is established.
In this project we further used C# as a programing language to design a mail server on visual
studio. We used SMTP (simple mail transfer protocol) to send email. Also we used different
libraries like using system.net.mime, using system.net etc. to design email server. We used build
in functions of visual studio like windows form and different controls of C# windows form like
text box, buttons and labels have been used. Mail from was designed properly using listed build in
tools of C# so it was quite easy to implement mail server.
pg. 3
Literature review:
Being the main procedure of communication in offices and for different academic purposes mail
server is most important topic in computer networking so there has been a lot of work been done
on it. There has been several papers published on this topic titled as performance of mail server,
mail server drawbacks, and mail server advancements etc. which have been listed in reference
sections. All these papers focused on designing a mail server network on different platforms using
different techniques. Some of the papers also discussed working of mail servers its different
protocols and how it delivers message and only few focused on designing a mail server or coding
for it. While others focused on email server protocols and their algorithms. In our project we
documented all the steps we performed while implementing mail server and a code file has been
attached with it.
Problem statement:
Design a network for communication among different networks using POP and SMTP protocols
of mail server using different platforms so that it provides all the basic features like composing an
email, send mail, receive email, showing details of received mail, secured by password and
recovered by password etc.
Project objectives:
The present world is all rely on email framework. It likewise turns into a huge need of the
organizations. It is one of the safe and quick imparting modes for an advanced time. The mail
worker is additionally a decent source to interface with your companions; it causes individuals to
be dynamic in public activity.
That is the place, experts must know mailing framework and mindful with that, how it works, by
what method can to make a self-facilitated mailing framework and other specialized perspectives.
Project methodology:
In this project we used cisco packet tracer and visual studio to design email server. Using various
build in tools of both these platforms we designed a network. In cisco packet tracer it’s a simple
drag and drop tool we just have to configure all the components used and turn on their services
and ports and then configure them accordingly. In visual studio we used C# to understand the
working of SMTP and created a network credential. Then using visual studio I sent an email to my
account. All the screen shots of the projects are listed below in implementation section.
pg. 4
Algorithm: SMTP Protocol Monitoring.
Implementation:
pg. 5
Email server network:
Router 0:
pg. 6
Interface configuration:
pg. 7
DHCP configuration:
pg. 8
DNS Configuration:
pg. 9
MAIL server:
pg. 10
PC’s configuration:
pg. 11
pg. 12
PC 2:
pg. 13
pg. 14
PC 3:
pg. 15
PC 4:
PC 5:
pg. 16
PC 6:
pg. 17
PC 7:
pg. 18
PC 8:
pg. 19
PC 9:
pg. 20
PC 10:
pg. 21
PC 11:
pg. 22
Communication among same network:
pg. 23
pg. 24
Communication among different networks:
pg. 25
pg. 26
Visual studio:
Output:
pg. 27
Email sent and received:
pg. 28
Working:
Our project was mail server so let’s discuss how it works although I have attached complete demo
of my project along with presentation. When a client wants to send an email or when client comes
online in our project he/she requests DHCP server to assign him/her an IP address and relevant
information. DHCP and DNS are configured properly in order to avoid any errors. So after DHCP
assigns client IP address, DNS and all related information then we move to desktop to configure
mail. Before configuring mail, we configured routers to connect two different networks and mail
server we added all the users in mail servers along with their password it’s just like registering
yourself to the mail. Then we turned on all the services of mail server. Now after all these steps if
user wants to compose mail first he/she has to configure mail and after that he/she will be allowed
to compose mail, send mail and receive mail.
I also implemented this project in C# using visual studio. In C# we first designed the layout of our
form then we started coding for it importing libraries like system.net and system.net.mime and
used SMTP protocol to send an email over the network.
Flowchart:
Sender Client PC
Receiver PC
DHCP
Configure POP3
mail DNS
protocol
Reply
Send mail
(SMTP)
Exit
pg. 29
Conclusion:
In this project we learned how to design an email server on cisco packet tracer and also how to
code for it in visual studio. Email framework is one of the most universal
Web based applications today. It empowers clients to send and get E-mail messages among each
other inside and from outside of the neighborhood arrange. Email framework is utilized each day
in nearly all associations as a specialized device between chiefs, workers, clients, and accomplices
for better data stream and lead business which requires correspondence with individuals outside
the association, or from various geological areas. The E-mail framework offers a quick,
dependable what's more, simple answer for such correspondence. SMTP (Basic Mail Transfer
Protocol) is a transportation convention used to move E-mail messages over the Web.
pg. 30