• Tidak ada hasil yang ditemukan

SMTP Email Sistem [Compatibility Mode]

N/A
N/A
Protected

Academic year: 2017

Membagikan "SMTP Email Sistem [Compatibility Mode]"

Copied!
42
0
0

Teks penuh

(1)

Upon completion you will be able to:

Electronic Mail:

Electronic Mail:

SMTP, POP, and IMAP

SMTP, POP, and IMAP

Objectives

Upon completion you will be able to:

Understand four configurations of email architecture

Understand the functions and formats of a user agent

Understand MIME and its capabilities and data types

Understand the functions and commands of an MTA

(2)

20.1 ARCHITECTURE

To

To explainexplain thethe architecturearchitecture ofof email,email, wewe givegive fourfour scenariosscenarios.. WeWe beginbegin with

with thethe simplestsimplest situationsituation andand addadd complexitycomplexity asas wewe proceedproceed.. TheThe fourthfourth scenario

scenario isis thethe mostmost commoncommon inin thethe exchangeexchange ofof emailemail..

The topics discussed in this section include: The topics discussed in this section include:

(3)
[image:3.842.218.588.209.375.2]
(4)

When the sender and the receiver of

an email are on the same system, we

need only two user agents.

Note:

Note:

(5)
[image:5.842.64.745.82.442.2]
(6)

When the sender and the receiver of

an email are on different systems, we

need two UAs and a pair of MTAs

Note:

Note:

(7)
[image:7.842.79.700.61.529.2]
(8)

When the sender is connected to the

mail server via a LAN or a WAN, we

need two UAs and two pairs of MTAs

Note:

Note:

(9)
[image:9.842.93.719.100.526.2]
(10)
[image:10.842.108.680.80.456.2]
(11)

When both sender and receiver are

connected to the mail server via a LAN

or a WAN, we need two UAs, two pairs

Note:

Note:

or a WAN, we need two UAs, two pairs

of MTAs (client and server), and a pair

(12)

20.2 USER AGENT

The

The useruser agentagent (UA)(UA) providesprovides serviceservice toto thethe useruser toto makemake thethe processprocess ofof sending

sending andand receivingreceiving aa messagemessage easiereasier..

The topics discussed in this section include: The topics discussed in this section include:

Services Provided by a User Agent Services Provided by a User Agent User Agent Types

(13)
[image:13.842.82.736.88.352.2]
(14)

Some examples of command-driven

user agents are

mail

,

pine

, and

elm

(15)

Some examples of GUI-based user

agents are

Eudora

,

Outlook

, and

Netscape

.

Note:

Note:

(16)
[image:16.842.199.735.116.537.2]
(17)
(18)
[image:18.842.96.686.100.472.2]
(19)
[image:19.842.147.633.135.400.2]
(20)
[image:20.842.110.735.163.393.2]

Table 20.1

(21)
[image:21.842.113.731.107.442.2]

Table 20.1

(22)
[image:22.842.114.703.113.344.2]

Table 20.2

(23)
[image:23.842.103.701.134.504.2]
(24)
[image:24.842.88.758.127.457.2]

Table 20.3

(25)
[image:25.842.96.717.142.470.2]
(26)

20.3 MESSAGE TRANSFER AGENT:

SMTP

The

The actualactual mailmail transfertransfer requiresrequires messagemessage transfertransfer agentsagents (MTAs)(MTAs).. TheThe protocol

protocol thatthat definesdefines thethe MTAMTA clientclient andand serverserver inin thethe InternetInternet isis calledcalled Simple

Simple MailMail TransferTransfer ProtocolProtocol (SMTP)(SMTP)..

The topics discussed in this section include: The topics discussed in this section include:

Commands and Responses Commands and Responses Mail Transfer Phases

(27)
[image:27.842.97.739.172.417.2]
(28)
(29)
(30)
[image:30.842.223.610.65.527.2]

Table 20.4

(31)
[image:31.842.199.663.63.526.2]

Table 20.5

(32)
[image:32.842.136.710.49.492.2]

Table 20.5

(33)
[image:33.842.159.627.144.384.2]
(34)
[image:34.842.266.598.84.556.2]
(35)
[image:35.842.171.632.147.366.2]
(36)

$ telnet mail.adelphia.net 25

Let us see how we can directly use SMTP to send an email and simulate the commands and responses we described in this section. We use TELNET to log into port 25 (the well-known port for SMTP). We then use the commands directly to send an email. In this example, forouzanb@adelphia.net is sending an email to himself. The first few lines show TELNET trying to connect to the adelphia mail server.

$ telnet mail.adelphia.net 25

Trying 68.168.78.100...

Connected to mail.adelphia.net (68.168.78.100).

(37)

================== Connection Establishment ================

220 mta13.adelphia.net SMTP server ready Fri, 6 Aug 2004 . . .

HELO mail.adelphia.net

250 mta13.adelphia.net

===================== Envelope ===================

MAIL FROM: forouzanb@adelphia.net

250 Sender <forouzanb@adelphia.net> Ok 250 Sender <forouzanb@adelphia.net> Ok

RCPT TO: forouzanb@adelphia.net

250 Recipient <forouzanb@adelphia.net> Ok

=================== Header and Body ==================

DATA

354 Ok Send data ending with <CRLF>.<CRLF>

From: Forouzan TO: Forouzan

(38)

============= Connection Termination===============

250 Message received: adelphia.net@mail.adelphia.net

QUIT

221 mta13.adelphia.net SMTP server closing connection

(39)

20.4 MESSAGE ACCESS AGENT:

POP AND IMAP

The

The thirdthird stagestage ofof mailmail deliverydelivery usesuses aa messagemessage accessaccess agentagent;; thethe clientclient must

must pullpull messagesmessages fromfrom thethe serverserver.. CurrentlyCurrently twotwo messagemessage accessaccess protocols

protocols areare availableavailable:: PostPost OfficeOffice Protocol,Protocol, versionversion 33 (POP(POP33)) andand Internet

Internet MailMail AccessAccess Protocol,Protocol, versionversion 44..

The topics discussed in this section include: The topics discussed in this section include:

(40)
[image:40.842.99.744.196.442.2]
(41)
[image:41.842.186.655.75.527.2]
(42)

20.5 WEB-BASED MAIL

Some

Some websiteswebsites suchsuch asas HotmailHotmail andand YahooYahoo provideprovide emailemail serviceservice toto anyone

anyone whowho accessesaccesses thethe sitesite.. MailMail transfertransfer andand retrievalretrieval requiresrequires thethe useuse of

Gambar

Figure 20.1First scenario
Figure 20.2Second scenario
Figure 20.3Third scenario
Figure 20.4Fourth scenario
+7

Referensi

Dokumen terkait

Tujuan penelitian ini adalah untuk mengetahui kadar protein dalam kacang-kacangan yang dikalengkan secara spektrofotometri sinar tampak dan apakah ada perbedaan dengan kadar

Apabila penampung destilasi digunakan asam borat maka banyak asam borat yang bereaksi dengan ammonia dapat diketahui dengan titrasi menggunakan asam klorida 0,1 N

Selain itu KUH Perdata juga mengenal adanya bagian mutlak bagi ahli warisnya (legitime portie), sedangkan menurut Hukum Adat Tionghoa kedudukannya berbeda,

Penelitian ini bertujuan untuk menganalisis kandungan informasi yang tersaji pada laporan pemerintah daerah yang terdiri dari Laporan Keuangan Pemerintah Daerah

masing-masing sudah ditambah zat warna sebanyak 70% dari resep dan menurut pengamatan organoleptik dari 5 orang ahli hasil ketuaan warna hitam dan merah yang diperoleh

perusahaan sejak awal untuk menghindari kemungkinan terjadinya kebangkrutan atau likuidasi pada perusahaan yang selanjutnya akan mengakibatkan perusahaan didelisting dari

Secara umum tujuan yang diharapkan dicapai pada modul ini adalah peserta memahami pengembangan sarana kegiatan, sumber, media, dan materi bermain sambil belajar di TK

Tinjauan tentang Antibiotik Infeksi Saluran Kemih Menurut Standar Diagnosa Dan Terapi Rumkital Dr.Ramelan Surabaya .... Tinjauan tentang Antibiotik Menurut