Email Services Flashcards

Email services in Linux

1
Q

Name 4 popular Linux MTA email packages?

A

postfix, send mail, exim, email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name 3 Linux MDA mail packages used for local email delivery and filtering

A

Procmail, sieve, binmail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name the 3 agent functions of a mail server

A

MTA, MDA, MUA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does MTA stand for and what does it do?

A

Message Transfer Agent, handles incoming and outgoing email

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does MDA stand for and what does it do?

A

Message Delivery Agent, it handles the local delivery step. Common local delivery agents include procmail, binmail and sieve. Mail delivery agents commonly also handle mail filtering and automatic message replying.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does MUA stand for?

A

Message User Agent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does SMTP stand for?

A

Simple Mail Transfer Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the 3 types of user mailboxes commonly used on linux?

A

The mbox method (the /var/spool/mail file)
$HOME/mail files
Maildir mailbox directories

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name 3 common MUA’s on Linux

A

binmail, Evolution, thunderbird

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does POP stand for?

A

Post Office Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does IMAP stand for?

A

Internet Message Access Protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Name some basic SMTP Commands

A
HELO - opening greeting
MAIL - identify message sender
RCPT - identify message recipients
DATA - start of message
SEND - sends message to terminal
SOML - send or mail
SAML - send and mail
RSET - reset connection
VRFY - Verify username on system
EXPN - query for lists and aliases
HELP - Request list of commands
NOOP - No operation, does nothing
QUIT - Stop SMTP session
TURN - Reverses the SMTP roles
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe how you would manually send a basic SMTP message

A

telnet to mail host on port 25. Issue commands: HELO, MAIL FROM, MAIL TO, DATA, QUIT

For example:
telnet mail.mymailhost.com 25
HELO localhost
MAIL FROM: ted@localhost
RCPT TO: frank
DATA
This is a tests message
.
QUIT
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SMTP response codes are 3 digit codes in reply to command. The first digits denote the category of the response, these can be 50x, 21x, 22x, 25x, 45x, 55x. What categories of response codes are each of these?

A
50x Error
21x Information
22x Service
25x Action
45x Action
55x Action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is ESMTP?

A

Extended SMTP it adds extra commands and features to SMTP, ESMTP sessions are initiated with EHLO instead of the HELO greeting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the 3 types of authentiction used the the POP protocol?

A

USER/PASS - plain text (bad idea nowadays)
APOP - username in plain text, MD5 hashed password
AUTH - negotiates secure auth between client and server

17
Q

Name some POP3 client commands

A
STAT - mailbox status
LIST - list messages
RETR - return a specific message
DELE - delete a message
UIDL - provides UID for each message
TOP - lists most recent mesages
NOOP - no operation, does nothing
RSET - Resets the session
QUIT - terminates the session
18
Q

What are the two authentication methods available in IMAP?

A

LOGIN - Allows the client to use plain text usernames and passwords.

AUTHENTICATE - the client and server negotiate a common encrypted method.

19
Q

Name some of the IMAP Client Commands

A

There are many, not expected to remember all…
APPEND - Append a message
CAPABILITY - list imap servers capabilities
CHECK - create a checkpoint
CLOSE - Close the mailbox
COPY - copy a message between mailboxes
CREATE - creates a new mailbox
DELETE - Deletes a mailbox
EXAMINE - open mailbox in read-only
EXPUNGE - delete messages flagged for deletion
FETCH - Retrieve specified message
LIST - Lists all mailboxes
LOGOUT - Logout from the IMAP server
LSUB - list active mailboxes
NOOP - No operation, does nothing
RENAME - renames a mailbox
SEARCH - search messages for a string
SELECT - select a mailbox
STATUS - returns mailbox status
STORE - alter information associated with a message
SUBSCRIBE - adds mailbox to the list of active mailboxes
UID - set message references to UID (instead of seq. no)
UNSUBSCRIBE - removes mailbox from the list of active mailboxes