<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Training_doc_new</id>
	<title>Training doc new - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tetrain.com/index.php?action=history&amp;feed=atom&amp;title=Training_doc_new"/>
	<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Training_doc_new&amp;action=history"/>
	<updated>2026-07-27T11:10:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.tetrain.com/index.php?title=Training_doc_new&amp;diff=4357&amp;oldid=prev</id>
		<title>Admin: Auto-created from uploaded PDF text extraction</title>
		<link rel="alternate" type="text/html" href="https://wiki.tetrain.com/index.php?title=Training_doc_new&amp;diff=4357&amp;oldid=prev"/>
		<updated>2026-07-26T16:27:11Z</updated>

		<summary type="html">&lt;p&gt;Auto-created from uploaded PDF text extraction&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;Auto-generated from the uploaded PDF [[:File:Training_doc_new.pdf|Training_doc_new.pdf]]. This is an extracted-text rendering for searchability; see the original PDF for exact formatting, diagrams, tables, and images.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
TETRA TRAINING DOC&lt;br /&gt;
&lt;br /&gt;
.&lt;br /&gt;
What Is Mail Server?&lt;br /&gt;
A server that stores incoming mail and sends it to the correct user, and&lt;br /&gt;
stores outgoing mail and transfers it to the correct destination server on&lt;br /&gt;
the Internet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mail server components, descriptions, and examples&lt;br /&gt;
&lt;br /&gt;
    Component                   Description                              Examples&lt;br /&gt;
&lt;br /&gt;
    Mail User Agent (MUA)       An application with which users can&lt;br /&gt;
                                                                         Microsoft Outlook Express&lt;br /&gt;
                                create, view, send, and receive email.&lt;br /&gt;
                                                                         Mozilla Thunderbird&lt;br /&gt;
                                The MUA is located on a client&lt;br /&gt;
                                system, such as a workstation or PC.     Mutt E-Mail Client&lt;br /&gt;
&lt;br /&gt;
    Mail Transfer Agent (MTA)   An application that sends, receives,&lt;br /&gt;
                                                                         Postfix&lt;br /&gt;
                                and stores email. This program&lt;br /&gt;
                                                                         Sendmail&lt;br /&gt;
                                determines where and how to store&lt;br /&gt;
                                email.                                    Lotus Domino Server&lt;br /&gt;
                                                                          Microsoft Exchange&lt;br /&gt;
                                                                         The Postfix, Dovecot, and&lt;br /&gt;
    Mail Delivery Agent (MDA)   An application that saves received       Cyrus&lt;br /&gt;
                                                                         applications each implement&lt;br /&gt;
                                email to the MSA. This program           some or&lt;br /&gt;
                                                                         all of the functions of the&lt;br /&gt;
                                might also perform additional tasks      MDA.&lt;br /&gt;
                                such as filtering email or delivering&lt;br /&gt;
                                email to subfolders.&lt;br /&gt;
&lt;br /&gt;
    Mail Storage Area (MSA)     A local system or server where the&lt;br /&gt;
                                                                         Mbox&lt;br /&gt;
                                MTA stores email. This is also the&lt;br /&gt;
                                                                         Maildir&lt;br /&gt;
                                location from which the MSS&lt;br /&gt;
                                retrieves email at the request of the    /var/mail/spool/username/&lt;br /&gt;
                                MUA.&lt;br /&gt;
&lt;br /&gt;
    Mail Storage Server (MSS)   An application that retrieves email&lt;br /&gt;
                                                                         Dovecot&lt;br /&gt;
                                from the MSA and returns it to the       Cyrus&lt;br /&gt;
                                MUA.&lt;br /&gt;
&lt;br /&gt;
Email flows through the mail server components as follows:&lt;br /&gt;
1. From their MUA, the sender creates an email and clicks Send.&lt;br /&gt;
2. The MUA uses SMTP to send the email to an MTA.&lt;br /&gt;
3. The MTA relays and routes the email to an MTA in the domain of the recipient.&lt;br /&gt;
4. The MTA in the domain of the recipient sends the email to an MDA of the system of the&lt;br /&gt;
recipient.&lt;br /&gt;
5. The MDA stores the email in an MSA.&lt;br /&gt;
6. The MUA of the recipient queries an MSS.&lt;br /&gt;
7. The MSS uses IMAPv4 or POP to retrieve the email for the recipient from the MSA.&lt;br /&gt;
    8. The MSS returns the email to the MUA.&lt;br /&gt;
    9. From their MUA, the recipient reads the email created by the sender.&lt;br /&gt;
&lt;br /&gt;
In conjunction with mail server applications and email clients, you can use additional applications&lt;br /&gt;
to&lt;br /&gt;
pre-process and post-process email. For example, you can use filtering applications, anti-virus&lt;br /&gt;
software,&lt;br /&gt;
or anti-spam applications.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Composition Of mail server -&lt;br /&gt;
&lt;br /&gt;
Migration From Proprietary Server To Open Source Server :&lt;br /&gt;
&lt;br /&gt;
ARCHITECTURE:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 1. This is single level architecture where one server have all required services&lt;br /&gt;
    like pop, imap, smtp, ldap&lt;br /&gt;
 2. Mx directly pointed to this server.&lt;br /&gt;
 3. Through this server all user can see or download there mail.&lt;br /&gt;
 4. This archtecture followed by&lt;br /&gt;
    a. heromotocorp.biz&lt;br /&gt;
    b. sahara prime city&lt;br /&gt;
&lt;br /&gt;
2 . ARCHITECTURE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  1. In this type of Architecture one fetchmail are present through which we fetch&lt;br /&gt;
     the mail from other server or we puch the mail from one server to another&lt;br /&gt;
     server.&lt;br /&gt;
  2. Primarily if some user send mail then mail first land to fetchmail server if it&amp;#039;s&lt;br /&gt;
     line is conjected then mail redirect to second mail server that giver in above&lt;br /&gt;
     figure.&lt;br /&gt;
  3. Some organization working on this architecture&lt;br /&gt;
     a. krishna grp&lt;br /&gt;
     b. jbindia&lt;br /&gt;
  4. krishna maruti&lt;br /&gt;
  5. satyam cineplex&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ARCHITECTURE 3: Single domain/Multiple Server&lt;br /&gt;
&lt;br /&gt;
   1. In this architecture when some one send you the mail then it land to the as/av&lt;br /&gt;
      after checking spam and viruses it send to main server&lt;br /&gt;
   2. second thing is that all server inter linked with each other through which they&lt;br /&gt;
      communicate with each other or passes mail to exact location , these link can&lt;br /&gt;
      be vpn or leased line depending on customer end.&lt;br /&gt;
   3. These type of structure followed by vardhman client&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Architecture 4:&lt;br /&gt;
&lt;br /&gt;
1. In this of architecture when some one send mail from outer side it land first to&lt;br /&gt;
   one of the server of qmail containing MX which is located anywhere in the&lt;br /&gt;
   world if we talk about heromotocorp.com it server exist in US . And it check&lt;br /&gt;
   spamingg and viruses .&lt;br /&gt;
2. This server send it to another qmail servers. We use 2 server for safety purpose&lt;br /&gt;
   because if one of them have more load it send it to second qmail server.&lt;br /&gt;
3. After that qmail server send mail to AS/AV for checking spam and viruse again&lt;br /&gt;
4. After this is forwarded to local users through lotus software&lt;br /&gt;
&lt;br /&gt;
Architecture 5 :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   1. In this type of structure when some one send mail to our domain it direclty&lt;br /&gt;
      land to server which contain AS/AV it that server is busy it send to another&lt;br /&gt;
      server as shown in figure.&lt;br /&gt;
   2. After checking spam and virus it send to mail server if main server are busy&lt;br /&gt;
      then it send to another one .&lt;br /&gt;
   3. They all are interconnected so it can communicte very easily.&lt;br /&gt;
&lt;br /&gt;
Architecture of Qmail:&lt;br /&gt;
&lt;br /&gt;
qmail- qmail is an Internet Mail Transfer Agent (MTA) for UNIX-like operating&lt;br /&gt;
systems. It&amp;#039;s a drop-in&lt;br /&gt;
replacement for the Sendmail system provided with UNIX operating systems. qmail&lt;br /&gt;
uses the Simple&lt;br /&gt;
Mail Transfer Protocol (SMTP) to exchange messages with MTA&amp;#039;s on other systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
qmail Basic Structure-&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The queue resides on disk&lt;br /&gt;
         • It is a repository for all messages that have not yet been delivered&lt;br /&gt;
   • qmail-queue puts a new message in the queue and pulls a trigger&lt;br /&gt;
   • This wakes up qmail-send, the primary component&lt;br /&gt;
   • qmail-send examines the message for addresses&lt;br /&gt;
   • For remote deliveries, it invokes qmail-rspawn, which runs qmail-&lt;br /&gt;
     remote&lt;br /&gt;
   • For local deliveries, it invokes qmail-lspawn, which runs qmail-local&lt;br /&gt;
   • When a message is fully delivered, it invokes qmail-clean to remove it&lt;br /&gt;
     from the queue&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fig. Above figure is The Big Picture Of qmail&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
               Components of qmail-ldap&lt;br /&gt;
&lt;br /&gt;
qmail-queue&lt;br /&gt;
qmail-queue takes messages and places them in the queue. It always adds a &amp;quot;received&amp;quot;-line and&lt;br /&gt;
does no further message inspection.&lt;br /&gt;
&lt;br /&gt;
qmail-send&lt;br /&gt;
qmail-send handles messages placed in the outgoing queue by qmail-queue and uses qmail-lspawn&lt;br /&gt;
for local deliveries and qmail-rspawn for remote deliveries. qmail-send will reschedule all&lt;br /&gt;
messages in the queue for immediate delivery.&lt;br /&gt;
&lt;br /&gt;
qmail-todo&lt;br /&gt;
qmail-todo does the mail preprocessing to reduce the work load in qmail-send. With qmail-todo the&lt;br /&gt;
overall performance on high throughput mail servers is far better because of the so called &amp;quot;silly&lt;br /&gt;
qmail syndrom&amp;quot; caused by a over loaded qmail-send process.&lt;br /&gt;
&lt;br /&gt;
qmail-lspawn&lt;br /&gt;
qmail-lspawn looks up the user for a mail to be delivered locally and invokes qmail-local to&lt;br /&gt;
perform it.&lt;br /&gt;
&lt;br /&gt;
qmail-local&lt;br /&gt;
qmail-local performs the delivery. It also handles the .qmail-files.&lt;br /&gt;
&lt;br /&gt;
qmail-rspawn&lt;br /&gt;
qmail-rspawn invokes qmail-remote for remote deliveries.&lt;br /&gt;
&lt;br /&gt;
qmail-remote&lt;br /&gt;
qmail-remote sends a mail to a remote host via SMTP.&lt;br /&gt;
&lt;br /&gt;
qmail-inject&lt;br /&gt;
qmail-inject reads a message from its stadard input, adds headers and invokes qmail-queue to&lt;br /&gt;
handle the delivery.&lt;br /&gt;
&lt;br /&gt;
 qmail-smtpd&lt;br /&gt;
qmail-smtpd normally listens on port 25/tcp and receives messages from remote hosts via SMTP.&lt;br /&gt;
&lt;br /&gt;
qmail-qmqpd&lt;br /&gt;
qmail-qmqpd receives messages from remote hosts via QMQP, the Quick Message Queuing&lt;br /&gt;
Protocol. It will relay _every_ message, so you must make sure only preauthorized hosts can&lt;br /&gt;
connect. QMQP is used for in-cluster deliveries, if you want to use qmail-ldap&amp;#039;s clusteriung you&lt;br /&gt;
must set up qmail-qmqpd.&lt;br /&gt;
&lt;br /&gt;
qmail-popup&lt;br /&gt;
qmail-popup reads username and password for POP3 from the network and invokes a subprogram&lt;br /&gt;
(usually auth_pop) for authentification.&lt;br /&gt;
&lt;br /&gt;
qmail-pop3d&lt;br /&gt;
qmail-pop3d is invoked from qmail-popup and handles the POP3-session.&lt;br /&gt;
&lt;br /&gt;
auth_pop&lt;br /&gt;
Is normally invoked from qmail-popup to authentificate the user. It is also responsible for pop3-&lt;br /&gt;
session forwarding inside a qmail-ldap cluster.&lt;br /&gt;
&lt;br /&gt;
auth_imap&lt;br /&gt;
As auth_pop, but for IMAP. Handles also session forwarding.&lt;br /&gt;
&lt;br /&gt;
qmail-ldaplookup&lt;br /&gt;
Is a tool to check if your ldap setup is correct. Use qmail-ldaplookup -u [uid] or qmail-ldaplookup&lt;br /&gt;
-m [mail address].&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>