Email 101 Derek Carter goozbach@friocorte.com - - PowerPoint PPT Presentation

email 101
SMART_READER_LITE
LIVE PREVIEW

Email 101 Derek Carter goozbach@friocorte.com - - PowerPoint PPT Presentation

Email 101 Derek Carter goozbach@friocorte.com http://www.friocorte.com/presentation/ http://www.friocorte.com/presentation/ TDM TLA (Too Damn Many Three Letter Acronyms) Protocols Services/Processes SMTP MTA Simple


slide-1
SLIDE 1

http://www.friocorte.com/presentation/

Email 101

Derek Carter goozbach@friocorte.com http://www.friocorte.com/presentation/

slide-2
SLIDE 2

http://www.friocorte.com/presentation/

TDM TLA

(Too Damn Many Three Letter Acronyms)

  • Protocols

– SMTP

  • Simple Message/Mail Transport

Protocol

– LMTP

  • Lightweight Message/Mail

Transport Protocol

– POP3

  • Post Office Protocol

– IMAP

  • Internet Message Access

Protocol

  • Services/Processes

– MTA

  • Message/Mail Transport Agent

– MUA

  • Mail User Agent

– MSP

  • Mail Submission Program

– MDA

  • Message/Mail Delivery Agent

– MLM

  • Mailing List Manager
slide-3
SLIDE 3

http://www.friocorte.com/presentation/

Email Life Cycle

MTA MUA SMTP MTA SMTP

0 or more times

MDA SMTP/LMTP/none

disk storage

IMAP / POP3 daemon MUA IMAP / POP3

slide-4
SLIDE 4

http://www.friocorte.com/presentation/

SMTP The Protocol that Powers It All

  • Simple

– 11 core commands – “Plain English” syntax – Testable using telnet

  • Extensible and Scalable

– Extend functionality easily – Fairly lightweight – Built in redundancy

slide-5
SLIDE 5

http://www.friocorte.com/presentation/

Implementations (MTA)

  • Sendmail – de facto standard MTA
  • Some surveys state up to 70% market share*
  • Somewhat difficult to configure
  • Compatible with thousands of add-on packages
  • Exim – sendmail replacement
  • Functions like sendmail, but has a better security record
  • Postfix – drop-in replacement for sendmail
  • Designed as a suite of daemons as opposed to a monolithic binary
  • Separation of privileges makes security breaches less likely
  • Many others
slide-6
SLIDE 6

http://www.friocorte.com/presentation/

Implementations (MDA)

  • Sendmail

– yes it functions as a MDA as well

  • Procmail
  • Spam assassin
  • Cyrus
  • others
slide-7
SLIDE 7

http://www.friocorte.com/presentation/

MDA Storage Formats

  • Mail messages are stored on disk

differently when using different MDAs

  • MBOX – the original

– One big flat file

  • Maildir – new and improved

– One message per file

  • MDA-specific formats

– BDB or other database or the like

slide-8
SLIDE 8

http://www.friocorte.com/presentation/

Implementations (IMAP/POP3)

  • UW – University of Washington

– Reference implementation

  • Courier

– First to use maildir format

  • Cyrus

– Enterprise-Level IMAP/POP, Scales well – Most difficult to configure

  • Dovecot

– Easy to use

slide-9
SLIDE 9

http://www.friocorte.com/presentation/

What Next?

  • Webmail
  • Mailing Lists
  • Fetchmail
  • Your own Mail server

– Own your own domain? – Remember the MX records