Mail Transfer Agent (MTA) and Message Access Agent (MAA)
Mail Transfer Agent (MTA) and Message Access Agent (MAA)
Electronic mail (e-mail) uses different protocols for sending and receiving messages. The two important software components involved are:
- Mail Transfer Agent (MTA) – Used for sending and transferring e-mails.
- Message Access Agent (MAA) – Used for retrieving e-mails from the mail server.
The commonly used protocols are:
| Agent | Protocol Used | Purpose |
|---|---|---|
| MTA | SMTP (Simple Mail Transfer Protocol) | Sends e-mail between clients and mail servers, and between mail servers |
| MAA | POP3 (Post Office Protocol Version 3) | Downloads e-mails from the mail server |
| MAA | IMAP (Internet Message Access Protocol) | Accesses and manages e-mails on the mail server |
1. Mail Transfer Agent (MTA)
Definition
A Mail Transfer Agent (MTA) is responsible for transferring e-mails from the sender's mail server to the receiver's mail server.
MTA follows the client-server paradigm and uses the SMTP protocol for communication. It performs push communication, meaning the sender's mail server pushes the message to the receiver's mail server.
Protocol Used: SMTP
SMTP (Simple Mail Transfer Protocol) is the standard protocol used for sending e-mails.
Functions of SMTP
- Sends e-mails from the sender's User Agent to the sender's mail server.
- Transfers e-mails between mail servers.
- Pushes messages to the destination mail server.
- Uses TCP for reliable communication.
Default Port Numbers
| Protocol | Port Number |
|---|---|
| SMTP | 25 |
| SMTP Submission | 587 |
| SMTPS (Secure SMTP) | 465 |
Working of MTA (SMTP)
- Alice composes an e-mail using her User Agent.
- The User Agent sends the e-mail to Alice's mail server using SMTP.
- The sender's mail server stores the message in the spool (queue).
- The SMTP client transfers the message to the receiver's mail server.
- The receiver's SMTP server accepts the message.
- The message is stored in Bob's mailbox.
Characteristics of MTA
- Uses SMTP.
- Performs push communication.
- Transfers mail between mail servers.
- Stores outgoing mail temporarily in the spool.
- Operates automatically.
2. Message Access Agent (MAA)
Definition
A Message Access Agent (MAA) allows the receiver to retrieve e-mails stored in the mailbox on the mail server.
Unlike MTA, MAA performs pull communication, where the receiver requests messages from the server.
The two protocols used by MAA are:
- POP3
- IMAP
Protocol 1: POP3 (Post Office Protocol Version 3)
Definition
POP3 allows a user to download e-mails from the mail server to the local computer.
After downloading, the messages are usually removed from the server (depending on configuration).
Working of POP3
- User starts the mail application.
- POP3 client connects to the mail server.
- User is authenticated.
- Messages are downloaded.
- Messages may be deleted from the server.
- User reads the downloaded messages offline.
Default Port
| Protocol | Port |
|---|---|
| POP3 | 110 |
| POP3S (Secure POP3) | 995 |
Features of POP3
- Downloads e-mails to the local computer.
- Supports offline reading.
- Frees storage space on the mail server.
- Simple and efficient.
Limitation
- Messages are usually removed from the server.
- Synchronization across multiple devices is limited.
Protocol 2: IMAP (Internet Message Access Protocol)
Definition
IMAP allows users to access and manage e-mails directly on the mail server without downloading them permanently.
Messages remain stored on the server.
Working of IMAP
- User opens the mail application.
- IMAP client connects to the mail server.
- User authenticates.
- Messages remain on the server.
- The user can read, organize, and manage messages from multiple devices.
Default Port
| Protocol | Port |
|---|---|
| IMAP | 143 |
| IMAPS (Secure IMAP) | 993 |
Features of IMAP
- Messages remain on the server.
- Supports multiple devices.
- Synchronizes folders and message status.
- Suitable for modern smartphones and webmail.
POP3 vs IMAP
| Feature | POP3 | IMAP |
|---|---|---|
| Full Form | Post Office Protocol Version 3 | Internet Message Access Protocol |
| Mail Storage | Downloads to local computer | Stored on mail server |
| Server Copy | Usually deleted after download | Remains on server |
| Multiple Device Support | Poor | Excellent |
| Offline Access | Yes | Limited (unless cached) |
| Synchronization | No | Yes |
| Best For | Single computer users | Multiple devices (PC, mobile, tablet) |
Overall E-mail Communication
Alice | User Agent (UA) | SMTP | Sender Mail Server | SMTP (MTA) | Internet | SMTP (MTA) | Receiver Mail Server | Mailbox | POP3 / IMAP (MAA) | Bob
Summary
| Component | Protocol | Communication | Purpose |
|---|---|---|---|
| User Agent (UA) | SMTP | Send | Compose and send e-mails |
| Mail Transfer Agent (MTA) | SMTP | Push | Transfer e-mails between mail servers |
| Message Access Agent (MAA) | POP3 | Pull | Download e-mails from the mail server |
| Message Access Agent (MAA) | IMAP | Pull | Access and manage e-mails on the mail server |
Key Points
- SMTP is used for sending e-mails (client to mail server and mail server to mail server).
- POP3 is used to download e-mails from the mail server to the user's computer.
- IMAP is used to access and synchronize e-mails while keeping them on the mail server.
- MTA uses SMTP, whereas MAA uses POP3 or IMAP for retrieving messages.



Comments
Post a Comment