Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Preview

DS 2.16: Email protocols, ports and secure settings

This is the first page of the lesson. Read it and have a go at the activities. The rest is in the full lesson.

60 minutes

Mail on the laptop, gone from the phone

Sofia reads her work email on her laptop. Later she opens her phone, and the messages are not there. The laptop took them and removed them from the server.

One wrong setting caused it. The right setting would have kept her mail in both places.

Key words

WordWhat it means
Protocola set of rules that computers follow to talk to each other
POP3a protocol that downloads email from the server to one program
IMAPa protocol that keeps email on the server and shows it to many devices
SMTPa protocol that sends email and passes it between mail servers
S/MIMEa standard for sending encrypted and signed email
Porta numbered door on a computer that a service listens at
SSLan older way to make a connection secure
TLSthe newer way to make a connection secure, which replaced SSL

The cells students fill in are left blank in this preview.

By the end of this lesson

Note

I can say what POP3, IMAP, SMTP, S/MIME, ports, SSL and TLS do, and set up a mail account.

Starter

Have a go

Starter

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Getting mail: POP3 and IMAP

POP3 downloads mail from the server to a program on one device. The mail is usually removed from the server after. It suits one PC with a small mailbox.

IMAP keeps the mail on the server. Each device shows what is on the server. A message read on the phone shows as read on the laptop. It suits people with many devices.

Sending mail: SMTP

SMTP sends mail. Your mail program hands a message to your mail server by SMTP. Then the servers pass it on, by SMTP too, until it reaches the mail server of the person you wrote to.

So a mail account needs two sets of settings: one to get mail (POP3 or IMAP) and one to send it (SMTP).

The three protocols and their ports

ProtocolJobNormal portSecure port
POP3Download mail to one program110995
IMAPRead mail kept on the server143993
SMTPSend mail and pass it between servers25 (server to server)587 with TLS, or 465

The cells students fill in are left blank in this preview.

Look up standard port names

Command
grep -E '^(smtp|submission|pop3|pop3s|imaps)[[:space:]]' /etc/services

A command for the lesson’s lab terminal. It is shown here and not run.

Check: the protocols

Have a go

Check: the protocols

4 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Your answers are marked here and are not kept. A college account keeps every student’s marks.

The lesson goes on

6 more parts of this lesson are in the full curriculum, with the tasks, the final check and the labs. A college account gives your students all of it.