SlideShare a Scribd company logo
1 of 14
Protocolos de E-mail
Diogo Rodrigues Lopes
Paulo Vitor Bischof
Agenda
1.
2.
3.
4.
5.

Introdução;
História;
Funcionamento;
Protocolos Seguros;
Considerações finais;
SMTP
• Protocolo padrão de envio de E-mail
• Criado em 1982, na Universidade do Sul da
Califórnia por Jon Postel
• Envia o e-mail do client para o server
SMTP Syntax
COMMAND
HELO <domain>
MAIL FROM:<reversepath>
RCPT TO:<forwardpath>
DATA
RSET
VRFY <string>
EXPN <string>
HELP [<string>]
NOOP [<string>]
QUIT

DESCRIPTION
(Hello) Connect to the server as specified in <domain>
Tell the server the sender’s identity as specified in <reversepath> [Mail-parameters]
(Recipient) Tell the server the intended recipient’s identity as
specified in [Rcpt-parameters] <forward-path>
Convey the message body to the server
(Reset) Reset the server connection
(Verify) Ask the receiver to confirm that a user has been
identified
(Expand) Ask the receiver to confirm that a mailing list has
been identified
Obtain help information
(No operation) Indicate no operation, but signify the sender is
still connected (i.e.,“alive”)
Close the server connection
POP
•
•
•
•

Criado em 1984
Protocolo de leitura
Copia as mensagens do server para o client
Possui problemas de sincronização, pois foi
projetado para deletar as mensagens do
servidor
POP
COMMAND
BASIC COMMANDS FROM RFC 918
USER <name>
PASS <password>
STAT
LIST [msg]
RETR <msg>
DELE <msg>
QUIT
NOOP
RSET

DESCRIPTION
Set username
Set password
Check the status of the mailbox, typically retrieves
number of messages
List messages in the mailbox; Optional argument for
message [msg]
Retrieve message <msg>
Delete message <msg>
Quit
No operation
Reset
POP
COMMAND
OPTIONAL COMMANDS FROM RFC 1939
TOP <msg> <n>
UIDL [msg]
APOP <name> <digest>
EXTENSION COMMAND FROM RFC 2449
CAPA

DESCRIPTION
Retrieve the top <n> lines of message <msg>
Retrieve unique id for [msg]
A more robust form of authentication than
USER/PASS
Retrieve a list of capabilities supported by the
POP3 server
IMAP
• Criado em 1988, para solucionar problemas
conhecidos do protocolo POP.
• Possui mais recursos que o POP
• Solucionou a sincronização de E-mail entre
server e clients.
• Permite pesquisar e-mails no servidor
IMAP
COMMAND
NOOP
STARTTLS
AUTHENTICATE <type>
LOGIN <user> <passwd>
LOGOUT
SELECT <mailbox>
EXAMINE <mailbox>
CREATE <mailbox>
DELETE <mailbox>
RENAME <mailbox>
<newmailbox>
SUBSCRIBE <mailbox>
UNSUBSCRIBE <mailbox>

DESCRIPTION
Perform no operation
Establish confidentiality and integrity protection
Choose authentication method
Login with username and password
Logout the current user
Select the desired mailbox to access
Same as SELECT except opens mailbox for read-only
Create a mailbox with the name <mailbox>
Delete selected mailbox
Rename mailbox
Subscribe to selected mailbox
Unsubscribe from selected mailbox
IMAP
COMMAND
LIST <reference> [pattern]
LSUB <reference> [pattern]
STATUS <mailbox> <item>
APPEND <mailbox> [flags] <msg>
CHECK
CLOSE
EXPUNGE
SEARCH <criteria>
FETCH <message> <item>
STORE <message> <item>
<newvalue>
COPY <message> <mailbox>
UID <command> [args]
CAPABILITY

DESCRIPTION
List contents of current reference based on an optional
pattern
List a set of mailboxes matching the pattern
Show the status of specific items in the selected
mailbox
Append a message to the selected mailbox
Perform a checkpoint on the currently selected mailbox
Close the currently selected mailbox
Expunge deleted messages from the mailbox
Search the mailbox based on certain criteria
Fetch the specified item from the selected message
Update the selected item in a message
Copy a message to the provided mailbox
Perform an operation on a message based on its UID
Query the server for its capabilities
Protocolos Seguros
•
•
•
•

Surgiram na década de 90
PGP
SSL
TLS
Considerações finais
• Posso usar SSL ou TLS?
• PGP ainda existe?
• Qual protocolo devo configurar no meu
smartphone?
• Se usar SSL a NSA pode ler meu e-mail?
Referência bibliográfica
KUROSE, James F. Redes de Computadores e a
Internet – 5ª Edição.
TANENBAUM, Andrew S.; Redes de
Computadores - 5ª Edição. Pearson Education
do Brasil, 2011.
Obrigado

Diogo Rodrigues Lopes
Paulo Vitor Bischof

More Related Content

What's hot

2009 1 - sistemas operacionais - aula 3 - processos
2009 1 - sistemas operacionais - aula 3 - processos2009 1 - sistemas operacionais - aula 3 - processos
2009 1 - sistemas operacionais - aula 3 - processos
Computação Depressão
 
Informática Básica - Introdução ao Microsoft Word 2010
Informática Básica - Introdução ao Microsoft Word 2010Informática Básica - Introdução ao Microsoft Word 2010
Informática Básica - Introdução ao Microsoft Word 2010
Joeldson Costa Damasceno
 
Comandos e dicas do prompt de comando (cmd)
Comandos e dicas do prompt de comando (cmd)Comandos e dicas do prompt de comando (cmd)
Comandos e dicas do prompt de comando (cmd)
marcosdcl
 
Sistemas de arquivos artigo
Sistemas de arquivos   artigoSistemas de arquivos   artigo
Sistemas de arquivos artigo
Daiana de Ávila
 
Excel Básico - Introdução
Excel Básico - IntroduçãoExcel Básico - Introdução
Excel Básico - Introdução
Cleber Ramos
 
Introdução à informática
Introdução à informáticaIntrodução à informática
Introdução à informática
Adeildo Telles
 
Processos threads senai
Processos threads senaiProcessos threads senai
Processos threads senai
Carlos Melo
 

What's hot (20)

Aula 2 - Sistemas operacionais - Windows
Aula 2 - Sistemas operacionais - WindowsAula 2 - Sistemas operacionais - Windows
Aula 2 - Sistemas operacionais - Windows
 
Patch Management on Windows with Puppet
Patch Management on Windows with PuppetPatch Management on Windows with Puppet
Patch Management on Windows with Puppet
 
Microcontroladores x microprocessadores
Microcontroladores x microprocessadoresMicrocontroladores x microprocessadores
Microcontroladores x microprocessadores
 
Lista de exercícios em Bash (resolvida)
Lista de exercícios em Bash (resolvida) Lista de exercícios em Bash (resolvida)
Lista de exercícios em Bash (resolvida)
 
Banco de Dados II Aula 14 - Projeto de Banco de Dados e Estudo de Caso (Postg...
Banco de Dados II Aula 14 - Projeto de Banco de Dados e Estudo de Caso (Postg...Banco de Dados II Aula 14 - Projeto de Banco de Dados e Estudo de Caso (Postg...
Banco de Dados II Aula 14 - Projeto de Banco de Dados e Estudo de Caso (Postg...
 
Gerencia e Administração de Redes
Gerencia e Administração de RedesGerencia e Administração de Redes
Gerencia e Administração de Redes
 
2009 1 - sistemas operacionais - aula 3 - processos
2009 1 - sistemas operacionais - aula 3 - processos2009 1 - sistemas operacionais - aula 3 - processos
2009 1 - sistemas operacionais - aula 3 - processos
 
Informática Básica - Introdução ao Microsoft Word 2010
Informática Básica - Introdução ao Microsoft Word 2010Informática Básica - Introdução ao Microsoft Word 2010
Informática Básica - Introdução ao Microsoft Word 2010
 
Comandos e dicas do prompt de comando (cmd)
Comandos e dicas do prompt de comando (cmd)Comandos e dicas do prompt de comando (cmd)
Comandos e dicas do prompt de comando (cmd)
 
01 - Microsoft Office Excel Básico
01 - Microsoft Office Excel Básico01 - Microsoft Office Excel Básico
01 - Microsoft Office Excel Básico
 
Sistemas de arquivos artigo
Sistemas de arquivos   artigoSistemas de arquivos   artigo
Sistemas de arquivos artigo
 
ERP VS DESARROLLOS A LA MEDIDA
ERP VS DESARROLLOS A LA MEDIDAERP VS DESARROLLOS A LA MEDIDA
ERP VS DESARROLLOS A LA MEDIDA
 
Sistemas de Arquivos do Windows
Sistemas de Arquivos do WindowsSistemas de Arquivos do Windows
Sistemas de Arquivos do Windows
 
Uml - Exemplos de Modelagem em UML
Uml - Exemplos de Modelagem em UMLUml - Exemplos de Modelagem em UML
Uml - Exemplos de Modelagem em UML
 
Excel Básico - Introdução
Excel Básico - IntroduçãoExcel Básico - Introdução
Excel Básico - Introdução
 
Introdução à informática
Introdução à informáticaIntrodução à informática
Introdução à informática
 
Introdução ao HTML
Introdução ao HTMLIntrodução ao HTML
Introdução ao HTML
 
Sistema operativo de rede
Sistema operativo de redeSistema operativo de rede
Sistema operativo de rede
 
Mendeley
MendeleyMendeley
Mendeley
 
Processos threads senai
Processos threads senaiProcessos threads senai
Processos threads senai
 

Viewers also liked

Travesías entre refugios
Travesías entre refugiosTravesías entre refugios
Travesías entre refugios
guiandosentidos
 
Un largo bertedero con barquitos de papel
Un largo bertedero con barquitos de papelUn largo bertedero con barquitos de papel
Un largo bertedero con barquitos de papel
Daniel Dagna
 
Del mito al logo
Del mito al logoDel mito al logo
Del mito al logo
naxo luz
 
Lesson plan 8 octavo basico question words in the present
Lesson plan 8 octavo basico question words in the presentLesson plan 8 octavo basico question words in the present
Lesson plan 8 octavo basico question words in the present
Rafael Alejandro
 

Viewers also liked (20)

Smtp (protocolo simple de
Smtp (protocolo simple deSmtp (protocolo simple de
Smtp (protocolo simple de
 
34 anni di e-mail: SMTP
34 anni di e-mail: SMTP34 anni di e-mail: SMTP
34 anni di e-mail: SMTP
 
Casa a venda Rio de Janeiro
Casa a venda Rio de JaneiroCasa a venda Rio de Janeiro
Casa a venda Rio de Janeiro
 
Curso SMTP
Curso SMTPCurso SMTP
Curso SMTP
 
Sesion7 enumeration smtp
Sesion7 enumeration smtpSesion7 enumeration smtp
Sesion7 enumeration smtp
 
Smtp
SmtpSmtp
Smtp
 
RTCP (RTP control protocol)
RTCP (RTP control protocol)RTCP (RTP control protocol)
RTCP (RTP control protocol)
 
Informe final metodología de la Investigación 2
Informe final metodología de la Investigación 2Informe final metodología de la Investigación 2
Informe final metodología de la Investigación 2
 
2015-Polyform Catalog
2015-Polyform Catalog2015-Polyform Catalog
2015-Polyform Catalog
 
Travesías entre refugios
Travesías entre refugiosTravesías entre refugios
Travesías entre refugios
 
Un largo bertedero con barquitos de papel
Un largo bertedero con barquitos de papelUn largo bertedero con barquitos de papel
Un largo bertedero con barquitos de papel
 
Minimum Vital - Alberto Masferrer
Minimum Vital - Alberto MasferrerMinimum Vital - Alberto Masferrer
Minimum Vital - Alberto Masferrer
 
Pediatric SPR Edition – Issue 57
Pediatric SPR Edition – Issue 57Pediatric SPR Edition – Issue 57
Pediatric SPR Edition – Issue 57
 
Cyber cafe
Cyber cafeCyber cafe
Cyber cafe
 
Diaposotivas proyecto futuro I Oscar David G.M
Diaposotivas proyecto futuro I Oscar David G.MDiaposotivas proyecto futuro I Oscar David G.M
Diaposotivas proyecto futuro I Oscar David G.M
 
IPAC Brochure
IPAC BrochureIPAC Brochure
IPAC Brochure
 
Del mito al logo
Del mito al logoDel mito al logo
Del mito al logo
 
Jakou učebnici fyziky pro 21. století?
Jakou učebnici fyziky pro 21. století?Jakou učebnici fyziky pro 21. století?
Jakou učebnici fyziky pro 21. století?
 
Lesson plan 8 octavo basico question words in the present
Lesson plan 8 octavo basico question words in the presentLesson plan 8 octavo basico question words in the present
Lesson plan 8 octavo basico question words in the present
 
Revenue architects blueleaf webinar 2013
Revenue architects blueleaf webinar 2013Revenue architects blueleaf webinar 2013
Revenue architects blueleaf webinar 2013
 

Similar to Protocolos de E-mail (SMTP, POP e IMAP) (7)

E-Mail - Technical Overview
E-Mail - Technical OverviewE-Mail - Technical Overview
E-Mail - Technical Overview
 
SMTP(simple mail transfer protocol).ppsx
SMTP(simple mail transfer protocol).ppsxSMTP(simple mail transfer protocol).ppsx
SMTP(simple mail transfer protocol).ppsx
 
Mail services
Mail servicesMail services
Mail services
 
Smtp
SmtpSmtp
Smtp
 
XMPP Intro 1101 - 2008
XMPP Intro 1101 - 2008XMPP Intro 1101 - 2008
XMPP Intro 1101 - 2008
 
Sending Email
Sending EmailSending Email
Sending Email
 
Lec 9(Emails)
Lec 9(Emails)Lec 9(Emails)
Lec 9(Emails)
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Protocolos de E-mail (SMTP, POP e IMAP)

  • 1. Protocolos de E-mail Diogo Rodrigues Lopes Paulo Vitor Bischof
  • 3. SMTP • Protocolo padrão de envio de E-mail • Criado em 1982, na Universidade do Sul da Califórnia por Jon Postel • Envia o e-mail do client para o server
  • 4. SMTP Syntax COMMAND HELO <domain> MAIL FROM:<reversepath> RCPT TO:<forwardpath> DATA RSET VRFY <string> EXPN <string> HELP [<string>] NOOP [<string>] QUIT DESCRIPTION (Hello) Connect to the server as specified in <domain> Tell the server the sender’s identity as specified in <reversepath> [Mail-parameters] (Recipient) Tell the server the intended recipient’s identity as specified in [Rcpt-parameters] <forward-path> Convey the message body to the server (Reset) Reset the server connection (Verify) Ask the receiver to confirm that a user has been identified (Expand) Ask the receiver to confirm that a mailing list has been identified Obtain help information (No operation) Indicate no operation, but signify the sender is still connected (i.e.,“alive”) Close the server connection
  • 5. POP • • • • Criado em 1984 Protocolo de leitura Copia as mensagens do server para o client Possui problemas de sincronização, pois foi projetado para deletar as mensagens do servidor
  • 6. POP COMMAND BASIC COMMANDS FROM RFC 918 USER <name> PASS <password> STAT LIST [msg] RETR <msg> DELE <msg> QUIT NOOP RSET DESCRIPTION Set username Set password Check the status of the mailbox, typically retrieves number of messages List messages in the mailbox; Optional argument for message [msg] Retrieve message <msg> Delete message <msg> Quit No operation Reset
  • 7. POP COMMAND OPTIONAL COMMANDS FROM RFC 1939 TOP <msg> <n> UIDL [msg] APOP <name> <digest> EXTENSION COMMAND FROM RFC 2449 CAPA DESCRIPTION Retrieve the top <n> lines of message <msg> Retrieve unique id for [msg] A more robust form of authentication than USER/PASS Retrieve a list of capabilities supported by the POP3 server
  • 8. IMAP • Criado em 1988, para solucionar problemas conhecidos do protocolo POP. • Possui mais recursos que o POP • Solucionou a sincronização de E-mail entre server e clients. • Permite pesquisar e-mails no servidor
  • 9. IMAP COMMAND NOOP STARTTLS AUTHENTICATE <type> LOGIN <user> <passwd> LOGOUT SELECT <mailbox> EXAMINE <mailbox> CREATE <mailbox> DELETE <mailbox> RENAME <mailbox> <newmailbox> SUBSCRIBE <mailbox> UNSUBSCRIBE <mailbox> DESCRIPTION Perform no operation Establish confidentiality and integrity protection Choose authentication method Login with username and password Logout the current user Select the desired mailbox to access Same as SELECT except opens mailbox for read-only Create a mailbox with the name <mailbox> Delete selected mailbox Rename mailbox Subscribe to selected mailbox Unsubscribe from selected mailbox
  • 10. IMAP COMMAND LIST <reference> [pattern] LSUB <reference> [pattern] STATUS <mailbox> <item> APPEND <mailbox> [flags] <msg> CHECK CLOSE EXPUNGE SEARCH <criteria> FETCH <message> <item> STORE <message> <item> <newvalue> COPY <message> <mailbox> UID <command> [args] CAPABILITY DESCRIPTION List contents of current reference based on an optional pattern List a set of mailboxes matching the pattern Show the status of specific items in the selected mailbox Append a message to the selected mailbox Perform a checkpoint on the currently selected mailbox Close the currently selected mailbox Expunge deleted messages from the mailbox Search the mailbox based on certain criteria Fetch the specified item from the selected message Update the selected item in a message Copy a message to the provided mailbox Perform an operation on a message based on its UID Query the server for its capabilities
  • 12. Considerações finais • Posso usar SSL ou TLS? • PGP ainda existe? • Qual protocolo devo configurar no meu smartphone? • Se usar SSL a NSA pode ler meu e-mail?
  • 13. Referência bibliográfica KUROSE, James F. Redes de Computadores e a Internet – 5ª Edição. TANENBAUM, Andrew S.; Redes de Computadores - 5ª Edição. Pearson Education do Brasil, 2011.