Email Services Flashcards
Email services in Linux
Name 4 popular Linux MTA email packages?
postfix, send mail, exim, email
Name 3 Linux MDA mail packages used for local email delivery and filtering
Procmail, sieve, binmail
Name the 3 agent functions of a mail server
MTA, MDA, MUA
What does MTA stand for and what does it do?
Message Transfer Agent, handles incoming and outgoing email
What does MDA stand for and what does it do?
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.
What does MUA stand for?
Message User Agent
What does SMTP stand for?
Simple Mail Transfer Protocol
What are the 3 types of user mailboxes commonly used on linux?
The mbox method (the /var/spool/mail file)
$HOME/mail files
Maildir mailbox directories
Name 3 common MUA’s on Linux
binmail, Evolution, thunderbird
What does POP stand for?
Post Office Protocol
What does IMAP stand for?
Internet Message Access Protocol
Name some basic SMTP Commands
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
Describe how you would manually send a basic SMTP message
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
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?
50x Error 21x Information 22x Service 25x Action 45x Action 55x Action
What is ESMTP?
Extended SMTP it adds extra commands and features to SMTP, ESMTP sessions are initiated with EHLO instead of the HELO greeting.