Docsity

Email Systems: Understanding Mail Servers, Clients, and Commands - Prof. John Robert Arras, Study notes of Computer Science

Toggle sidebar
bg1
Slide 1
1
Using email
• Messages sent from machine to machine
and stored for later reading.
• You will use a client to read email:
– Type mail or pine in UNIX to read email.
– Use programs like Outlook on Windows.
• Different mail servers use the same
protocols to communicate with each other.
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
Slide 2
2
Mail Servers
• SMTP (Simple Mail Transfer Protocol) transfers
mail between servers.
• The mail server runs a program (daemon) that
listens for clients connecting so people can read or
write mail.
• On UNIX this program is called sendmail.
• A single protocol helps to ensure that different
servers can communicate with each other.
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
Slide 3
3
Mail Clients
• POP -- Post Office Protocol
– Downloads all mail at once.
– IMAP -- Interactive Mail Access Protocol, adds
features to POP
• Some Clients
– ELM
– PINE (PINE Is Not Elm)
– Outlook
– Eudora
– Netscape Mailer
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
___________________________________
pf3
pf4
pf5

Partial preview of the text

Download Email Systems: Understanding Mail Servers, Clients, and Commands - Prof. John Robert Arras and more Study notes Computer Science in PDF only on Docsity!

1

Using email

  • Messages sent from machine to machine

and stored for later reading.

  • You will use a client to read email:
    • Type mail or pine in UNIX to read email.
    • Use programs like Outlook on Windows.
  • Different mail servers use the same

protocols to communicate with each other.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 2

2

Mail Servers

  • SMTP (Simple Mail Transfer Protocol) transfers mail between servers.
  • The mail server runs a program (daemon) that listens for clients connecting so people can read or write mail.
  • On UNIX this program is called sendmail.
  • A single protocol helps to ensure that different servers can communicate with each other.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 3

3

Mail Clients

  • POP -- Post Office Protocol
    • Downloads all mail at once.
    • IMAP -- Interactive Mail Access Protocol, adds features to POP
  • Some Clients
    • ELM
    • PINE (PINE Is Not Elm)
    • Outlook
    • Eudora
    • Netscape Mailer

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

4

Parts of an Email

  • Body -- This is the actual message.
  • Header -- information at the top of the message.
    • From: or Received: who sent the mail.
    • To: Where the mail goes.
    • Cc: Other people who will receive this mail.
      • Bcc: Blind carbon copy -- a list of people who get a copy of the message but don’t get listed.
    • Subject: What the mail is about.
    • Date: When the mail was sent.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 5

5

The mail command

  • You can use the mail command in several ways:
    • mail -- by itself, it opens your messages and lets you read them
    • mail person@address -- lets you compose a message to someone at a certain address.
    • mail message to someone at an address, with a certain - s (subject) person@address -- lets you send a subject.
    • mail - s (subject) person@address < text_file -- lets you send a message to someone with text_file as the body of the email.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 6

6

Using mail

  • When you are writing the mail message

body, use ^D or . to end

editing and send the message.

  • If cc: shows up, this is a list of other

addresses you can enter if you wish to send

a message to other people.

  • ^C will kill a mail message you are typing.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

10

Header Editing

  • While editing a message you may use…
  • ~h -- lets you edit the header (to, subject,

cc, bcc)

  • These may also work:
    • ~s -- edit the subject.
    • ~t -- edit the to list.
    • ~c -- edit the cc (carbon copy) list.
    • ~b -- edit the bcc (blind carbon copy) list.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 11

11

Other Features

  • alias -- combine addresses
  • .forward file – send mailto another address.
    • Forward to self to get a copy on the sending machine.
  • Listservs -- automatic mailing lists.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

Slide 12

12

PINE

  • A menu-driven client
  • Uses pico as an editor
  • Allows MIME attachments
  • Main Menu
    • C - Compose to write a message
    • I or L - View messages
    • Q - Quit

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________

13

MIME Attachments

  • Multipurpose Internet Mail Extension
  • Add pictures, files to emails
  • Can be dangerous with executables.
  • Pine uses MIME instead of plain inclusion.
  • Filename on attachment line when writing.

___________________________________

___________________________________

___________________________________

___________________________________

___________________________________