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

Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Dhruv Sharma
 
CCNAS :Multi Area OSPF
CCNAS :Multi Area OSPFCCNAS :Multi Area OSPF
CCNAS :Multi Area OSPFrooree29
 
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021Alphorm
 
CCNA Lab 2-Configuring a Switch Part II
CCNA Lab 2-Configuring a Switch Part IICCNA Lab 2-Configuring a Switch Part II
CCNA Lab 2-Configuring a Switch Part IIAmir Jafari
 
AAA & RADIUS Protocols
AAA & RADIUS ProtocolsAAA & RADIUS Protocols
AAA & RADIUS ProtocolsPeter R. Egli
 
TACACS Protocol
TACACS ProtocolTACACS Protocol
TACACS ProtocolNetwax Lab
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01Irsandi Hasan
 
Switch configuration
Switch configurationSwitch configuration
Switch configurationMuuluu
 
Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands sandeep kumar
 
ISO 27001 Bilgi Güvenliği Yönetim Sistemi
ISO 27001 Bilgi Güvenliği Yönetim SistemiISO 27001 Bilgi Güvenliği Yönetim Sistemi
ISO 27001 Bilgi Güvenliği Yönetim SistemiEmre ERKIRAN
 
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...Stephen Salama
 
Access Control List 1
Access Control List 1Access Control List 1
Access Control List 1Kishore Kumar
 
AGRO - Segurança Cibernética no Campo
AGRO - Segurança Cibernética no CampoAGRO - Segurança Cibernética no Campo
AGRO - Segurança Cibernética no CampoTI Safe
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFVuz Dở Hơi
 

What's hot (20)

Why Do I Need an SBC
Why Do I Need an SBCWhy Do I Need an SBC
Why Do I Need an SBC
 
Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE Tacacs+ with ise 2.4_ CCIE
Tacacs+ with ise 2.4_ CCIE
 
CCNAS :Multi Area OSPF
CCNAS :Multi Area OSPFCCNAS :Multi Area OSPF
CCNAS :Multi Area OSPF
 
Le codage de huffman
Le codage de huffmanLe codage de huffman
Le codage de huffman
 
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021
Alphorm.com Formation Microsoft Azure : Azure Active Directory 2021
 
CCNA Lab 2-Configuring a Switch Part II
CCNA Lab 2-Configuring a Switch Part IICCNA Lab 2-Configuring a Switch Part II
CCNA Lab 2-Configuring a Switch Part II
 
AAA & RADIUS Protocols
AAA & RADIUS ProtocolsAAA & RADIUS Protocols
AAA & RADIUS Protocols
 
TACACS Protocol
TACACS ProtocolTACACS Protocol
TACACS Protocol
 
CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01CCNA v6.0 ITN - Chapter 01
CCNA v6.0 ITN - Chapter 01
 
Cisco: QoS
Cisco: QoSCisco: QoS
Cisco: QoS
 
Switch configuration
Switch configurationSwitch configuration
Switch configuration
 
Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands Junos vs ios Troubleshooting comands
Junos vs ios Troubleshooting comands
 
Web uygulama açıklıklarından faydalanarak sistem ele geçirme
Web uygulama açıklıklarından faydalanarak sistem ele geçirmeWeb uygulama açıklıklarından faydalanarak sistem ele geçirme
Web uygulama açıklıklarından faydalanarak sistem ele geçirme
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 
Sécurité des réseaux
Sécurité des réseauxSécurité des réseaux
Sécurité des réseaux
 
ISO 27001 Bilgi Güvenliği Yönetim Sistemi
ISO 27001 Bilgi Güvenliği Yönetim SistemiISO 27001 Bilgi Güvenliği Yönetim Sistemi
ISO 27001 Bilgi Güvenliği Yönetim Sistemi
 
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...
Securisation de la VoIP sous Asterisk: solution avec Asterisk, OpenVPN et Ope...
 
Access Control List 1
Access Control List 1Access Control List 1
Access Control List 1
 
AGRO - Segurança Cibernética no Campo
AGRO - Segurança Cibernética no CampoAGRO - Segurança Cibernética no Campo
AGRO - Segurança Cibernética no Campo
 
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPFCCNAv5 - S3: Chapter6 Multiarea OSPF
CCNAv5 - S3: Chapter6 Multiarea OSPF
 

Viewers also liked

34 anni di e-mail: SMTP
34 anni di e-mail: SMTP34 anni di e-mail: SMTP
34 anni di e-mail: SMTPAntonio Prado
 
Casa a venda Rio de Janeiro
Casa a venda Rio de JaneiroCasa a venda Rio de Janeiro
Casa a venda Rio de JaneiroMansarda_Imoveis
 
Sesion7 enumeration smtp
Sesion7 enumeration smtpSesion7 enumeration smtp
Sesion7 enumeration smtpmirojo
 
RTCP (RTP control protocol)
RTCP (RTP control protocol)RTCP (RTP control protocol)
RTCP (RTP control protocol)Edgar Guerra
 
Travesías entre refugios
Travesías entre refugiosTravesías entre refugios
Travesías entre refugiosguiandosentidos
 
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 papelDaniel Dagna
 
Minimum Vital - Alberto Masferrer
Minimum Vital - Alberto MasferrerMinimum Vital - Alberto Masferrer
Minimum Vital - Alberto MasferrerJeoEstudioso
 
Pediatric SPR Edition – Issue 57
Pediatric SPR Edition – Issue 57Pediatric SPR Edition – Issue 57
Pediatric SPR Edition – Issue 57Jhon Arriaga Cordova
 
Del mito al logo
Del mito al logoDel mito al logo
Del mito al logonaxo 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 presentRafael Alejandro
 
Revenue architects blueleaf webinar 2013
Revenue architects blueleaf webinar 2013Revenue architects blueleaf webinar 2013
Revenue architects blueleaf webinar 2013John Stone III
 

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)

E-Mail - Technical Overview
E-Mail - Technical OverviewE-Mail - Technical Overview
E-Mail - Technical OverviewVenkatesh Iyer
 
SMTP(simple mail transfer protocol).ppsx
SMTP(simple mail transfer protocol).ppsxSMTP(simple mail transfer protocol).ppsx
SMTP(simple mail transfer protocol).ppsxanjubala996089
 
XMPP Intro 1101 - 2008
XMPP Intro 1101 - 2008XMPP Intro 1101 - 2008
XMPP Intro 1101 - 2008Steffen Larsen
 

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

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

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.