<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Mail Server Setup and Howto Guide &#187; Technical Articles</title>
	<atom:link href="http://www.linuxmail.info/category/technical-articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Sat, 13 Feb 2010 23:39:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How Email Works</title>
		<link>http://www.linuxmail.info/how-email-works/</link>
		<comments>http://www.linuxmail.info/how-email-works/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:43:29 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Technical Articles]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=370</guid>
		<description><![CDATA[This article provides an introduction on the various components needed to implement your own mail server]]></description>
			<content:encoded><![CDATA[<p>Using email is very easy, but setting up your own email server is not. This article describes how email works to give you an introduction on the various components needed to implement your own mail server.</p>
<span id="more-370"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<img src="/images/mail-basics.png" alt="How Email Works" style="width: 400px; height: 600px; margin: auto; display: block" />
<ol>
<li><p>The sender uses a <strong>Mail User Agent (MUA)</strong> to compose an email. An MUA, often referred to as a mail client, is a program that allows a user to compose, send and receive email. See a <a href="/mail-client-configuration-howto/">list of mail clients and how to configure them.</a></p></li>
<li><p>The mail is sent to a <strong>Mail Transfer Agent (MTA)</strong> which is responsible for sending the email to the receipient&#8217;s MTA. An MTA transfers mail messages between computers via the SMTP protocol. Postfix, Sendmail, Exim and Qmail are examples of an MTA.</p></li>
<li><p>The recipient&#8217;s MTA receives the email and passes it on to a <strong>Mail Delivery Agent (MDA)</strong>. An MDA manages the user&#8217;s mailbox and handles mails for delivery to the MUA using either the POP or IMAP protocol.</p>
<ul>
<li><p><em>POP (Post Office Protocol)</em><br />Although most mail clients have an option to <em>Leave a copy on the server</em>, POP is generally used to download all messages from the mailbox, store them on the user&#8217;s PC as new messages and delete them from the server.</p></li>
<li><p><em>IMAP (Internet Message Access Protocol)</em><br />Allows users to view their mailboxes on the server and to delete mail only when told to do so.</p></li>
</ul>
<p><a href="/mbox-maildir-mail-storage-formats/">Mbox and Maildir are two common mailbox formats used in Unix.</a> Dovecot, Cyrus and Courier are examples of an MDA.</p>
</li>
<li><p>The recipient uses an MUA to check and retrieve messages from the MDA.</p></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/how-email-works/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail Server Internet Deployment Checklist</title>
		<link>http://www.linuxmail.info/mail-server-checklist/</link>
		<comments>http://www.linuxmail.info/mail-server-checklist/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 07:02:33 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Technical Articles]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=84</guid>
		<description><![CDATA[Mail server internet deployment check list to ensure a good sending reputation (trusted) and prevent from being tagged as a spammer.]]></description>
			<content:encoded><![CDATA[<p>Before deploying your new mail server on the internet, make sure you have checked the list below. This will ensure that your mail server will have a good sending reputation (trusted) and will not be ignored and treated as a spammer.</p>
<span id="more-84"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Your IP addresses are not blacklisted</h2>
<p>Even a newly setup mail server could already be blacklisted. Some of the reasons are:</p>
<ul>
<li>For those using a dedicated server, the IP address given to you might have been used by a spammer in the past</li>
<li>For those using a shared server, a fellow user might have sent a spam mail.</li>
<li>For those using NAT to share internet connection, one of your users might have sent a spam mail due to virus infection</li>
</ul>
<p>To check if your IP address is blacklisted, use<br /> <a href="http://www.mxtoolbox.com/blacklists.aspx">http://www.mxtoolbox.com/blacklists.aspx</a></p>
<h2>Your mail server has an MX record</h2>
<p>An MX record or Mail exchanger record is a type of record in the Domain Name System (DNS) specifying how Internet e-mail should be routed using the Simple Mail Transfer Protocol (SMTP). Contact your DNS provider to add an MX record for your new mail server. To check if your mail server has an MX record, use <a href="http://www.dnscolos.com">http://www.dnscolos.com</a>.</p>
<h2>Your mail server greeting matches your hostname</h2>
<p>To test your mail server greeting, use <a href="http://www.dnscolos.com">http://www.dnscolos.com</a>. If your mail server has multiple IP addresses, see <a href="/postfix-multiple-ip-address-smtp-greeting/">Postfix Multiple IP Addresses Individual SMTP Greeting</a> for a guide on how to fix this issue.</p>
<h2>Your mail server is not open relay</h2>
<p>An open relay mail server allows anyone to send mail outside your network. This means any Tom, Dick and Harry can use your mail server to send spam. To perform an open relay test, use <a href="http://www.dnscolos.com">http://www.dnscolos.com</a>. If it fails, double check your <a href="/postfix-smtp-auth-dovecot-sasl/">Postfix Dovecot SASL configuration</a>.</p>
<h2>Your mail server has a reverse DNS</h2>
<p>A reverse DNS returns the hostname given the IP address. Most mail servers will check if you have a valid reverse DNS, otherwise your sending reputation will be downgraded. Contact your internet service provider to add reverse DNS entries for your mail server IP addresses. To check if your mail server has a reverse DNS, use <a href="http://www.dnscolos.com">http://www.dnscolos.com</a>.</p>
<h2>Create a SPF DNS record if possible</h2>
<p>Sender Policy Framework (SPF) allows software to identify messages that are or are not authorized to use the domain name based on information published in a sender policy of the domain owner. Not all DNS provider supports SPF so choosing a DNS provider that can do this is a plus. To check if your mail server has an SPF record, use <a href="http://www.dnscolos.com">http://www.dnscolos.com</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/mail-server-checklist/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mbox vs Maildir: Mail Storage Formats</title>
		<link>http://www.linuxmail.info/mbox-maildir-mail-storage-formats/</link>
		<comments>http://www.linuxmail.info/mbox-maildir-mail-storage-formats/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 12:19:46 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Technical Articles]]></category>

		<guid isPermaLink="false">http://linux-mail.info/mbox-maildir-mail-storage-formats/</guid>
		<description><![CDATA[Description of Linux mail storage formats mbox and maildir]]></description>
			<content:encoded><![CDATA[<p>The Unix world has two ways of storing mail messages, the traditional mbox format and the newer maildir format. Postfix and Dovecot supports the two mail storage format so you can use any format, but I highly recommend you use the maildir format.</p>
<span id="more-22"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>The Mbox Format</h2>
<p>This is the traditional way of storing mail messages in the Unix world. In this format, a regular text file which serves as the mail user’s mailbox file is created.</p>
<img style="width: 180px; height: 230px; margin-left: auto; margin-right: auto; display: block" alt="Mbox storage format" src="/images/illustration-mbox.png"/>
<p style="text-align: center">Fig. 1: Mbox storage format</p>
<h3>How Mbox works</h3>
<h4 style="margin-left: 1em">Receiving and storing a mail</h4>
<ol>
<li>Lock the mailbox.</li>
<li>Append the header (usually &#8220;From [sender's email address] [date and time received]&#8220;) and the mail into the mailbox file.</li>
<li>Unlock the mailbox.</li>
</ol>
<h4 style="margin-left: 1em">Retrieving a mail</h4>
<ol>
<li>Lock the mailbox.</li>
<li>Locate and read the mail.</li>
<li>Update the mail status flag.</li>
<li>Unlock the mailbox.</li>
</ol>
<h4 style="margin-left: 1em">Deleting a mail</h4>
<ol>
<li>Lock the mailbox.</li>
<li>Move the contents of the mailbox, beginning from the position right after the mail to be deleted until the end of the mailbox, into the position of the mail to be deleted.</li>
<li>Reduce the size of the mailbox file by the size of the deleted mail.</li>
<li>Unlock the mailbox.</li>
</ol>
<h4 style="margin-left: 1em">Searching a mail</h4>
<ol>
<li>Lock the mailbox.</li>
<li>Search the mailbox.</li>
<li>Unlock the mailbox.</li>
</ol>
<p>&nbsp;</p>
<h3>Advantages</h3>
<ul>
<li>Format is universally supported.</li>
<li>Appending a new mail into the mailbox file is fast.</li>
<li>Searching text inside a single mailbox file is fast.</li>
</ul>
<h3>Disadvantages</h3>
<ul>
<li>Has file locking problems.</li>
<li>Has problems when used with network file systems.</li>
<li>Format is prone to corruption.</li>
</ul>
<p>&nbsp;</p>
<h2>The Maildir Format</h2>
<p>This is a new way of storing mail messages. In this format, a directory usually named <em>Maildir</em> is created for each mail user. Under this directory are three more directories named <em>new</em>, <em>cur</em> and <em>tmp</em>.</p>
<img style="width: 400px; height: 360px;margin-left: auto; margin-right: auto; display: block" alt="Maildir storage format" src="/images/illustration-maildir.png"/>
<p style="text-align: center">Fig. 2: Maildir storage format</p>
<h3>How Maildir works</h3>
<h4 style="margin-left: 1em">Receiving and storing a mail</h4>
<ol>
<li>Create a unique file in the <em>tmp</em> directory.</li>
<li>Write the mail into the newly created file.</li>
<li>Move the completely written mail into the <em>new</em> directory.</li>
</ol>
<h4 style="margin-left: 1em">Retrieving a mail</h4>
<ol>
<li>Locate and read the mail.</li>
<li>Move the mail from <em>new</em> into the <em>cur</em> directory and append the mail status flag into the filename.</li>
</ol>
<h4 style="margin-left: 1em">Deleting a mail</h4>
<ol>
<li>Delete the file containing the mail.</li>
</ol>
<h4 style="margin-left: 1em">Searching a mail</h4>
<ol>
<li>Search each and every mail file.</li>
</ol>
<p>&nbsp;</p>
<h3>Advantages</h3>
<ul>
<li>Locating, retrieving and deleting a specific mail is fast.</li>
<li>Minimal to no file locking needed.</li>
<li>Can be used on network file system.</li>
<li>Immune to mailbox corruption (assuming the hardware will not fail).</li>
</ul>
<h3>Disadvantages</h3>
<ul>
<li>Some filesystems may not efficiently handle a large number of small files.</li>
<li>Searching text, which requires all mail files to be opened is slow.</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/mbox-maildir-mail-storage-formats/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Linux Partitions</title>
		<link>http://www.linuxmail.info/linux-partitions/</link>
		<comments>http://www.linuxmail.info/linux-partitions/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 05:00:38 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Technical Articles]]></category>

		<guid isPermaLink="false">http://linux-mail.info/linux-partitions/</guid>
		<description><![CDATA[Describes what a Linux partition is, why you should use partitions and what are the different types of Linux partitions]]></description>
			<content:encoded><![CDATA[<h2>What is a partition?</h2>
<p>A partition is a subdivision on a hard disk. Each Linux partition except the <a href="/linux-partitions/#swap_partition">swap partition</a> requires a <a href="/linux-partitions/#mount_point">mount point</a>.</p>
<span id="more-6"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Why should you partition your hard disk?</h2>
<ul>
  <li><p><strong>Control data size</strong>. By separating the partition for the system files and user or application data files, you can prevent the user or application from using up all available disk space and impede the normal operation of the system.</p></li>
  <li><p><strong>Compartmentalize storage</strong>. By using multiple partitions, in case file system corruption occurs, damage will be isolated to the partition of the corrupted file system only.</p></li>
  <li><p><strong>Improve system performance</strong>. By using multiple partitions, you will restrict your hard disk access to a smaller area of the hard disk giving better performance.</p></li>
  <li><p><strong>Run multiple operating systems</strong>. You can run multiple operating systems in one computer, each operating system having its own partition.</p></li>
</ul>
<h2 id="mount_point">What is a mount point?</h2>
<p>A mount point is a local directory on your Linux system where a partition or device is  attached to. All partitions created during Linux installation will be automatically mounted.</p>
<p>This is similar to the mount point in Windows NT, which allows you to attach a new partition into an empty directory say <tt>C:\Program Files</tt> instead of assigning a new drive letter to the new partition. Mounting to local directory allows you expand a local directory by adding a new hard disk instead of replacing it.</p>
<h2>What is a logical partition?</h2>
<p>By design, you can create up to four primary partitions only irregardless of what operating system you use. To create more than four partitions, they have to be created as logical partitions within an extended partition. An extended partition is a primary partition which can be divided into multiple logical partitions. A primary partition is one of the four main partition that can be applied to the hard disk. A logical partition is a subdivision of an extended partition.</p>
<h2 id="swap_partition">What is a swap partition?</h2>
<p>This is a special non-user accessible partition in Linux used to store inactive applications to free up RAM. This gives the Linux system virtually more memory allowing more applications to be run. For Windows users, this is similar to the virtual memory paging file. Generally, the swap partition should be twice the amount of RAM you have.</p>
<h2>What is a logical volume?</h2>
<p>Logical volumes are a subdivision of a volume group. A volume group is composed of several partitions formatted as a physical volume. Logical volumes allow administrators to grow or shrink logical volumes without destroying data.</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/linux-partitions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.426 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-11 11:42:57 -->
<!-- Compression = gzip -->