<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/&quot;DEMDQ386fSp7ImA9WhdbFUs.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363</id><updated>2011-10-13T21:27:52.115-07:00</updated><title>Santosh Rijal</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;A08ARX4zfyp7ImA9WhdbEE0.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-8371016947142017633</id><published>2011-10-07T10:50:00.000-07:00</published><updated>2011-10-07T10:50:44.087-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-07T10:50:44.087-07:00</app:edited><title>10 reasons why you shouldn’t get an iPhone</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;img alt="Apple iPhone
MORE PICTURES" src="http://st2.gsmarena.com/vv/bigpic/apple-iphone.gif" /&gt;&lt;img alt="Apple iPhone
MORE PICTURES" src="http://st2.gsmarena.com/vv/bigpic/apple-iphone.gif" /&gt;&lt;img alt="" class="rg_hi" data-height="208" data-width="242" height="208" id="rg_hi" src="http://t2.gstatic.com/images?q=tbn:ANd9GcSSPYoF-nnLHORl191m6a4FrVhxMcmaNBUVZ1dHVveKnM0b4G9A" style="height: 208px; width: 242px;" width="242" /&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;1&lt;/strong&gt;&amp;nbsp; It's expensive like hell. You can get a full-fledged laptop with that price.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;2&amp;nbsp;&lt;/strong&gt;There are no 3G networks in Nepal. Why pay for the unnecessary incentive.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;3&amp;nbsp;&lt;/strong&gt;This thing doesn't even let you send multimedia messages. A Rs 5,000 phone can let you do that!&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;4&amp;nbsp;&lt;/strong&gt;The App store and iTunes store doesn't work in Nepal. Even downloading free applications&amp;nbsp;and&amp;nbsp;&amp;nbsp;songs&amp;nbsp;&amp;nbsp;&amp;nbsp;requires credit-card authentication.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;5&lt;/strong&gt;&amp;nbsp;Browsing over the cellular network costs a bomb and you can't have WiFi wherever you go.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;6 &lt;/strong&gt;The Bluetooth is crippled. You can't share music and photos over it, so it's practically useless.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;7&lt;/strong&gt;&amp;nbsp;What's the use of the 'amazing multimedia capabilities' and the 'desktop class browsing' when the &lt;br /&gt;
ttery doesn't last even for a few hours. And you can't even change the battery by yourself.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;8&lt;/strong&gt;&amp;nbsp;The 2 MP camera is worthless. Similar priced counterparts has 3 to 5 MP cameras with better abilities.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;9&lt;/strong&gt;&amp;nbsp;Maps is useless in Nepal. The only thing it lets you do is to see your house from the space. Get Google Earth on your desktop instead.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;10&lt;/strong&gt; Limited storage and non-expansive memory means limited iPod capabilities. Get the iPod touch instead for more storage and better battery life. &lt;br /&gt;
&lt;br /&gt;
&lt;img class="rg_i" data-sz="f" height="146" name="k4znMT8gADxKoM:" onload="google.stb.csi.onTbn(1, this)" src="http://t3.gstatic.com/images?q=tbn:ANd9GcT56l8beIZ_dG-3GQfB5ymDccUhJfaCeruaCO5lazp7N7nw9ZJJsA" style="margin: 0px 0px 0px -10px;" width="219" /&gt;&amp;nbsp; &lt;img alt="" class="rg_hi" data-height="233" data-width="217" height="233" id="rg_hi" src="http://t1.gstatic.com/images?q=tbn:ANd9GcRxF2KJQ5BTS0yi77ZMZOYn7jmZ9JP8TEKbRLBbKp2ZV7EF7Bw" style="height: 233px; width: 217px;" width="217" /&gt;&amp;nbsp;&lt;img alt="" class="rg_hi" data-height="206" data-width="245" height="206" id="rg_hi" src="http://t0.gstatic.com/images?q=tbn:ANd9GcTQmVvJioNQvNqYCoFVlnOG78Pjd-5FKMK_910XVKxQV7orun063g" style="height: 206px; width: 245px;" width="245" /&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-8371016947142017633?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/8371016947142017633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/10/10-reasons-why-you-shouldnt-get-iphone.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8371016947142017633?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8371016947142017633?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/10/10-reasons-why-you-shouldnt-get-iphone.html' title='10 reasons why you shouldn’t get an iPhone'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>2</thr:total></entry><entry gd:etag='W/&quot;AkIFQXo-fSp7ImA9WhdUFU4.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-9197028960415278069</id><published>2011-10-01T23:55:00.000-07:00</published><updated>2011-10-01T23:55:10.455-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-10-01T23:55:10.455-07:00</app:edited><title>iSCSI (Internet Small Computer System Interface)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;img border="0" kca="true" src="http://1.bp.blogspot.com/-oUBxLIEmcho/TogJHmbDalI/AAAAAAAAAPE/0SUYEmEvSJ0/s1600/images.jpg" /&gt;iSCSI is Internet SCSI (Small Computer System Interface), an Internet Protocol (IP)-based storage networking standard for linking data storage facilities, developed by the Internet Engineering Task Force (IETF). By carrying SCSI commands over IP networks, iSCSI is used to facilitate data transfers over intranets and to manage storage over long distances. The iSCSI&amp;nbsp;protocol is among the key technologies expected to help bring about rapid development of the storage area network&amp;nbsp;(SAN) market, by increasing the capabilities and performance of storage data transmission. Because of the ubiquity of IP networks, iSCSI can be used to transmit data over local area networks (LANs), wide area networks (WANs), or the Internet and can enable location-independent data storage and retrieval. )&lt;/div&gt;&lt;!-- ItemRegion, searchstorage.techtarget.com, generated at 00:06:08 Thu Sep 29, 2011 , by vappma14.techtarget.com --&gt;&lt;h4 class="contentPokeContent" sizcache="3" sizset="0"&gt;Learn More:&lt;/h4&gt;&lt;div class="contentPokeContent" sizcache="3" sizset="0"&gt;&lt;span class="tooltipText" title="ISCSI SANs carry SCSI commands and storage traffic over existing IP networks, which translates to lower cost, easier maintenance and simpler management -- not to mention giving Fibre Channel SANs t..."&gt;1)&amp;nbsp;&amp;nbsp; &lt;strong&gt;&lt;u&gt;ISCSI SAN&lt;/u&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="contentPokeContent" sizcache="3" sizset="0"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class="tooltipText" title="ISCSI SANs carry SCSI commands and storage traffic over existing IP networks, which translates to lower cost, easier maintenance and simpler management -- not to mention giving Fibre Channel SANs t..."&gt;&lt;div class="aside contentPoke"&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;&amp;nbsp; iSCSI storage implementation guide&lt;/h3&gt;Get advice on iSCSI storage implementation, including how iSCSI SANs compare with Fibre Channel SANs, how to overcome deployment challenges and best practices for using iSCSI to support virtual servers.&amp;nbsp; &lt;/li&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;iSCSI SAN storage and its role in data storage environments&lt;/h3&gt;Learn about iSCSI SAN storage. We explain how to use iSCSI SANs in a virtual environment, debunk myths about iSCSI technology and offer iSCSI best practices.&amp;nbsp;&lt;/li&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span class="tooltipText" title="Read iSCSI (Internet Small Computer System Interface) storage area network (SAN) news, best practices and how-tos for storage service providers, value-added resellers (VARs) and systems integrators..."&gt;&lt;/span&gt;&lt;strong&gt;&lt;u&gt;&amp;nbsp;2)&amp;nbsp; iSCSI SAN IP Storage&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;IPv6 addressing brings benefits, few problems to storage administrators&lt;/h3&gt;IPv6 addressing brings benefits to storage networking in terms of scalability and performance, without big downsides for storage administrators.&amp;nbsp; &lt;span class="pageListMetaData"&gt;FAQ&lt;/span&gt; &lt;/li&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;Storage area network (SAN) cheat sheet&lt;/h3&gt;Find our most popular tips and features on storage area network (SAN) technologies and services. Use these resources to guide customers toward the right storage area network choices.&amp;nbsp; &lt;span class="pageListMetaData"&gt;Feature&lt;/span&gt; &lt;/li&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;Our top five storage tips -- so far&lt;/h3&gt;Get the top five storage tips of the first half of 2008, as chosen by SearchStorageChannel.com readers.&amp;nbsp; &lt;span class="pageListMetaData"&gt;Top Tips&lt;/span&gt; &lt;/li&gt;&lt;br /&gt;
&lt;li&gt;&lt;h3&gt;iSCSI Study Guide&lt;/h3&gt;iSCSI is a popular storage networking standard for linking data storage facilities. Test your knowledge of the iSCSI terms you should know with this study guide&lt;/li&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;How iSCSI works:&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;When an end user or application sends a request, the operating system generates the appropriate SCSI commands and data request, which then go through encapsulation and, if necessary, encryption procedures. A packet header is added before the resulting IP packets are transmitted over an Ethernet connection. When a packet is received, it is decrypted (if it was encrypted before transmission), and disassembled, separating the SCSI commands and request. The SCSI commands are sent on to the SCSI controller, and from there to the SCSI storage device. Because iSCSI is bi-directional, the protocol can also be used to return data in response to the original request.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;iSCSI is one of two main approaches to storage data transmission over IP networks; the other method, Fibre Channel over IP (FCIP), translates Fibre Channel control codes and data into IP packets for transmission between geographically distant Fibre Channel SANs. FCIP (also known as Fibre Channel tunnelingor storage tunneling) can only be used in conjunction with Fibre Channel technology; in comparison, iSCSI can run over existing Ethernet networks. A number of vendors, including Cisco, IBM, and Nishan have introduced iSCSI-based products (such as switches and routers).&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-CeE1TZ9sDLI/TogJy_RFWSI/AAAAAAAAAPI/eFTuSYAdHEA/s1600/santoshrijal.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" kca="true" src="http://4.bp.blogspot.com/-CeE1TZ9sDLI/TogJy_RFWSI/AAAAAAAAAPI/eFTuSYAdHEA/s1600/santoshrijal.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="justify"&gt;﻿&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-9197028960415278069?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/9197028960415278069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/10/iscsi-internet-small-computer-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/9197028960415278069?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/9197028960415278069?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/10/iscsi-internet-small-computer-system.html' title='iSCSI (Internet Small Computer System Interface)'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-oUBxLIEmcho/TogJHmbDalI/AAAAAAAAAPE/0SUYEmEvSJ0/s72-c/images.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DEMNQHk_eip7ImA9WhdUE00.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-3167939772896442621</id><published>2011-09-29T07:28:00.000-07:00</published><updated>2011-09-29T07:28:11.742-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-29T07:28:11.742-07:00</app:edited><title>Santosh Rijal: Hack Administrator Password In Windows 7,Xp And Vi...</title><content type='html'>&lt;a href="http://centennial4485312.blogspot.com/2011/09/hack-administrator-password-in-windows.html?spref=bl"&gt;Santosh Rijal: Hack Administrator Password In Windows 7,Xp And Vi...&lt;/a&gt;: Most of us might have experienced a situation when we forget our Windows administrator password.And we are not able to login into windows ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-3167939772896442621?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/3167939772896442621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-hack-administrator.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3167939772896442621?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3167939772896442621?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-hack-administrator.html' title='Santosh Rijal: Hack Administrator Password In Windows 7,Xp And Vi...'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DEAEQHY-eSp7ImA9WhdUE00.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-8198957194948849385</id><published>2011-09-29T07:25:00.000-07:00</published><updated>2011-09-29T07:31:41.851-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-29T07:31:41.851-07:00</app:edited><title>Hack Administrator Password In Windows 7,Xp And Vista</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica; font-size: 15px; line-height: 26px;"&gt;&lt;img alt="Hack Administrator Password In Windows 7,Xp And Vista" class="left" height="150px" src="http://www.pctipstricks.net/wp-content/themes/arthemia-premium/scripts/timthumb.php?src=//wp-content/uploads/hacking.jpg&amp;amp;w=150&amp;amp;h=150&amp;amp;zc=1&amp;amp;q=100" style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; float: left; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 5px; margin-left: 0px; margin-right: 10px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px; vertical-align: baseline;" width="150px" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Most of us might have experienced a situation when we forget our Windows administrator password.And we are not able to login into windows and access our all necessary data and programs.At that time the only solution that comes into or mind is the installation of fresh copy of windows but this will lead to loss of all data and files that are in the windows drive.There is also another way around using which you don’t need to install a fresh copy of windows and without losing any data.We are providing here the method to reset windows administrator password.This tutorial is only for the purpose of recovering your windows 7,xp or vista password.This should be used only when you forgot or lost your password&amp;nbsp;&amp;nbsp;and not for hacking into somebody else’s system.Using this hack&amp;nbsp;&amp;nbsp;you can reset your administrator password or leave it blank.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;By using this tutorial&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1.You donot need to know anything about your old password.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2.You can unlock locked or disabled accounts.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3.Also edit the registry.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The requirements for using this method are:-&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1.Blank CD/floppy disk.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2.Access to Internet.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3.Cd or floppy writer&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;These requirements can be easily fulfilled by spending 15 minutes in cybercafe or at friends computer&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Now here is the step by step tutorial with screenshots on how to hack administrator password in windows 7,vista or xp.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span id="more-199" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;1.Download this small utility.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;b&gt;Click here to download(&lt;span class="Apple-style-span" style="font-weight: normal;"&gt;&lt;a href="http://pogostick.net/~pnh/ntpasswd/"&gt;http://pogostick.net/~pnh/ntpasswd/&lt;/a&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;2.You will get an zipped file with ISO image in it.Extract his image using winrar or inbuilt windows software.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;3.Put your blank cd in CD-ROM and burn this using Nero or any other image burner software.this is most important step and make sure you burn the ISO image properly.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;4.Now put this CD in the system whose password is to be reset.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;5.Restart your system and when prompted press enter to boot from the CD.&lt;br /&gt;
&lt;a href="http://a.imageshack.us/img838/9237/offlinentpassword05upd.jpg" imageanchor="1" style="margin-bottom: 5px; margin-left: 0px; margin-right: 10px;"&gt;&lt;img alt="offlinentpassword05upd Hack Administrator Password In Windows 7,Xp And Vista" border="0" src="http://a.imageshack.us/img838/9237/offlinentpassword05upd.jpg" style="border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(204, 204, 204); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; cursor: move; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px; vertical-align: baseline;" title="Hack Administrator Password In Windows 7,Xp And Vista" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Note:If you do not get prompt of boot from CD.Then restart you system and press f2 or f6 or f8 or Esc key(anyone of them should work for your system) before the booting of the windows start.Now you will enter into bios and you should change the boot order from here with the first preference as CD-ROM.And again restart your system&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;6.Now the software will load automatically.It will ask you to select the windows drive and after that provide you with the option of resetting password.&lt;/div&gt;&lt;div style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: 15px; font-style: inherit; font-weight: inherit; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt; If&amp;nbsp;have any queries or suggestion do not hesitate to ask.&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-8198957194948849385?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/8198957194948849385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/hack-administrator-password-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8198957194948849385?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8198957194948849385?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/hack-administrator-password-in-windows.html' title='Hack Administrator Password In Windows 7,Xp And Vista'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkUDRX49cCp7ImA9WhdUEU4.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-1257146259366213846</id><published>2011-09-27T06:31:00.000-07:00</published><updated>2011-09-27T06:31:14.068-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-27T06:31:14.068-07:00</app:edited><title>Santosh Rijal: Santosh Rijal: Amazon launches Kindle Lending Libr...</title><content type='html'>&lt;a href="http://centennial4485312.blogspot.com/2011/09/santosh-rijal-amazon-launches-kindle.html?spref=bl"&gt;Santosh Rijal: Santosh Rijal: Amazon launches Kindle Lending Libr...&lt;/a&gt;: Santosh Rijal: Amazon launches Kindle Lending Library&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-1257146259366213846?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/1257146259366213846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-santosh-rijal-amazon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/1257146259366213846?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/1257146259366213846?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-santosh-rijal-amazon.html' title='Santosh Rijal: Santosh Rijal: Amazon launches Kindle Lending Libr...'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D04NRXk4eCp7ImA9WhdVF0U.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-7165859527413515286</id><published>2011-09-23T06:53:00.000-07:00</published><updated>2011-09-23T06:53:14.730-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-23T06:53:14.730-07:00</app:edited><title>Santosh Rijal: Amazon launches Kindle Lending Library</title><content type='html'>&lt;a href="http://centennial4485312.blogspot.com/2011/09/amazon-launches-kindle-lending-library.html#links"&gt;Santosh Rijal: Amazon launches Kindle Lending Library&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-7165859527413515286?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/7165859527413515286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-amazon-launches-kindle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7165859527413515286?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7165859527413515286?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/santosh-rijal-amazon-launches-kindle.html' title='Santosh Rijal: Amazon launches Kindle Lending Library'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;D0AARnsyeCp7ImA9WhdVF0U.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-3196166794834665039</id><published>2011-09-23T06:49:00.000-07:00</published><updated>2011-09-23T06:49:07.590-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-23T06:49:07.590-07:00</app:edited><title>Amazon launches Kindle Lending Library</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;a href="http://www.buzzom.com/wp-content/uploads/2011/09/amazon-kindle-2.jpg" style="color: #066bab; text-decoration: none;"&gt;&lt;img alt="" class="alignleft size-full wp-image-28646" height="390" src="http://www.buzzom.com/wp-content/uploads/2011/09/amazon-kindle-2.jpg" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(244, 244, 244); border-bottom-style: none; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(244, 244, 244); border-left-style: none; border-left-width: 1px; border-right-color: rgb(244, 244, 244); border-right-style: none; border-right-width: 1px; border-top-color: rgb(244, 244, 244); border-top-style: none; border-top-width: 1px; border-width: initial; color: #d6d6d6; float: left; margin-bottom: 5px; margin-left: 0px; margin-right: 5px; margin-top: 5px; text-align: left;" title="amazon-kindle-2" width="300" /&gt;&lt;/a&gt;Now,&amp;nbsp;&lt;a href="http://www.buzzom.com/tag/a" style="color: #066bab; text-decoration: none;"&gt;A&lt;/a&gt;mazon users in the United States can borrow Kindle books from more than 11,000 local libraries. Amazon&lt;a href="http://phx.corporate-ir.net/phoenix.zhtml?c=176060&amp;amp;p=irol-newsArticle&amp;amp;ID=1608874&amp;amp;highlight" style="color: #066bab; text-decoration: none;"&gt;announced&lt;/a&gt;&amp;nbsp;the launch of its Kindle Lending Library yesterday.&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;“Starting today, millions of Kindle customers can borrow Kindle books from their local libraries. Libraries are a critical part of our communities and we’re excited to be making Kindle books available at more than 11,000 local libraries around the country. We’re even doing a little extra here – normally, making margin notes in library books is a big no-no. But we’re fixing this by extending our Whispersync technology to library books, so your notes, highlights and bookmarks are always backed up and available the next time you check out the book or if you decide to buy the book ,” said Jay Marine, Director, Amazon Kindle.&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;To use this new service, customers have to visit their local library’s website to search for and select a book to borrow. Once they choose a book, they can use the “Send to Kindle” button which would redirect them to Amazon.com, where they can login with their Amazon.com account. The book will then be delivered to the device they select via Wi-Fi, or can be transferred via USB.&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;This new library lending service provides customers with all the unique features they love about Kindle books, including Whispersync, a tool that automatically synchronizes your margin notes, highlights and bookmarks across Kindle and free Kindle reading apps; Public Notes; Real page numbers; popular highlights feature, and the &amp;nbsp;Facebook and Twitter integration feature.&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;“This is a welcome day for Kindle users in libraries everywhere and especially our Kindle users here at The Seattle Public Library,” said Marcellus Turner, city librarian for The Seattle Public Library. “We’re thrilled that Amazon is offering such a new approach to library ebooks that enhances the reader experience.”&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;For more information about borrowing library books for your Kindle or free Kindle apps, go to&amp;nbsp;&lt;a href="http://www.buzzom.com/2011/09/amazon-launches-kindle-lending-library/www.amazon.com/kindle/publiclibraries" style="color: #066bab; text-decoration: none;"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="text-decoration: underline;"&gt;www.amazon.com/kindle/publiclibraries&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Check out Kindle library books, by visiting your local library’s website.&lt;/div&gt;&lt;div style="color: #474747; font-size: 13px; line-height: 22px; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;This is a great service that Amazon has launched. Hope the company rolls out this service in other countries also.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-3196166794834665039?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/3196166794834665039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/amazon-launches-kindle-lending-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3196166794834665039?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3196166794834665039?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/amazon-launches-kindle-lending-library.html' title='Amazon launches Kindle Lending Library'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0cBSXg9eCp7ImA9WhdVFEg.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-160208685984921547</id><published>2011-09-19T09:50:00.001-07:00</published><updated>2011-09-19T09:50:58.660-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-19T09:50:58.660-07:00</app:edited><title>Configuring Linux Mail Servers</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h1 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(4, 132, 68); border-bottom-style: solid; border-bottom-width: 2px; color: green; font-size: 24px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Sendmail"&gt;Configuring Sendmail&lt;/span&gt;&lt;/h1&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;One of the tasks in setting up DNS for your domain (my-site.com) is to use the MX record in the configuration zone file to state the hostname of the server that will handle the mail for the domain. The most popular Unix mail transport agent is sendmail, but others, such as postfix and qmail, are also gaining popularity with Linux. The steps used to convert a Linux box into a sendmail mail server will be explained here.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="How_Sendmail_Works"&gt;How Sendmail Works&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;As stated before, sendmail can handle both incoming and outgoing mail for your domain. Take a closer look.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Incoming_Mail"&gt;Incoming Mail&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Usually each user in your home has a regular Linux account on your mail server. Mail sent to each of these users (username@my-site.com) eventually arrives at your mail server and sendmail then processes it and deposits it in the mailbox file of the user's Linux account.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Mail isn't actually sent directly to the user's PC. Users retrieve their mail from the mail server using client software, such as Microsoft's Outlook or Outlook Express, that supports either the POP or IMAP mail retrieval protocols.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Linux users logged into the mail server can read their mail directly using a text-based client, such as mail, or a GUI client, such as Evolution. Linux workstation users can use the same programs to access their mail remotely.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Outgoing_Mail"&gt;Outgoing Mail&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The process is different when sending mail via the mail server. PC and Linux workstation users configure their e-mail software to make the mail server their outbound SMTP mail server.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If the mail is destined for a local user in the mysite.com domain, then sendmail places the message in that person's mailbox so that they can retrieve it using one of the methods above.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If the mail is being sent to another domain, sendmail first uses DNS to get the MX record for the other domain. It then attempts to relay the mail to the appropriate destination mail server using the Simple Mail Transport Protocol (SMTP). One of the main advantages of mail relaying is that when a PC user A sends mail to user B on the Internet, the PC of user A can delegate the SMTP processing to the mail server.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;If mail relaying is not configured properly, then your mail server could be commandeered to relay spam. Simple sendmail security will be covered later.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Sendmail_Macros"&gt;Sendmail Macros&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;When mail passes through a sendmail server the mail routing information in its header is analyzed, and sometimes modified, according to the desires of the systems administrator. Using a series of highly complicated regular expressions listed in the /etc/mail/sendmail.cf file, sendmail inspects this header and then acts accordingly.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In recognition of the complexity of the /etc/mail/sendmail.cf file, a much simpler file named /etc/sendmail.mc was created, and it contains more understandable instructions for systems administrators to use. These are then interpreted by a number of macro routines to create the sendmail.cf file. After editing sendmail.mc, you must always run the macros and restart sendmail for the changes to take effect.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Each sendmail.mc directive starts with a keyword, such as DOMAIN, FEATURE, or OSTYPE, followed by a subdirective and in some cases arguments. A typical example is.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;As stated before, sendmail can handle both incoming and outgoing mail for your domain. Take a closer look.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The keywords usually define a subdirectory of /usr/share/sendmail-cf in which the macro may be found and the subdirective is usually the name of the macro file itself. So in the example, the macro name is /usr/share/sendmail-cf/feature/virtusertable.m4, and the instruction `\ hash -o /etc/mail/virtusertable.db' is being passed to it.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Notice that sendmail is sensitive to the quotation marks used in the m4 macro directives. They open with a grave mark and end with a single quote.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`masquerade_envelope')dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Some keywords, such as define for the definition of certain sendmail variables and MASQUERADE_DOMAIN, have no corresponding directories with matching macro files. The macros in the /usr/share/sendmail-cf/m4 directory deal with these.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Once you finish editing the sendmail.mc file, you can then execute the make command while in the /etc/mail directory to regenerate the new sendmail.cf file.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# cd /etc/mail
[root@bigboy mail]# make
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If there have been no changes to the files in /etc/mail since the last time make was run, then you'll get an error like this:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy mail]# make
make: Nothing to be done for `all'.
[root@bigboy mail]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The make command actually generates the sendmail.cf file using the m4 command. The m4 usage is simple, you just specify the name of the macro file as the argument, in this case sendmail.mc, and redirect the output, which would normally go to the screen, to the sendmail.cf file with the "&amp;gt;" redirector symbol.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# m4 /etc/mail/sendmail.mc &amp;gt; /etc/mail/sendmail.cf
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;I'll discuss many of the features of the sendmail.mc file later in the chapter.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Installing_Sendmail"&gt;Installing Sendmail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Most RedHat and Fedora Linux software product packages are available in the RPM format, whereas Debian and Ubuntu Linux use DEB format installation files. When searching for these packages remember that the filename usually starts with the software package name and is followed by a version number, as in sendmail-8.12.10-1.1.1.i386.rpm. (For help on downloading and installing the required packages, see&amp;nbsp;&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;).&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;You will need to make sure that the sendmail, sendmail-cf, and m4 packages are installed.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Starting_Sendmail"&gt;Starting Sendmail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The methodologies vary depending on the variant of Linux you are using as you’ll see next.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Fedora / CentOS / RedHat&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With these flavors of Linux you can use the chkconfig command to get sendmail configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chkconfig sendmail on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart sendmail after booting use the service command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service sendmail start
[root@bigboy tmp]# service sendmail stop
[root@bigboy tmp]# service sendmail restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether sendmail is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the sendmail daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service sendmail status
[root@bigboy tmp]# pgrep squid
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the chkconfig command at least once to ensure sendmail starts automatically on your next reboot.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Ubuntu / Debian&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With these flavors of Linux the commands are different. Try installing the sysv-rc-conf and sysvinit-utils DEB packages as they provide commands that simplify the process. (For help on downloading and installing the packages, see&amp;nbsp;&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;). You can use the sysv-rc-conf command to get sendmail configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo sysv-rc-conf sendmail on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart sendmail after booting the service command is the same:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service sendmail start
user@ubuntu:~$ sudo service sendmail stop
user@ubuntu:~$ sudo service sendmail restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether sendmail is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the sendmail daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service sendmail status
user@ubuntu:~$ pgrep sendmail
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the sysv-rc-conf command at least once to ensure sendmail starts automatically on your next reboot.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="How_To_Restart_Sendmail_After_Editing_Your_Configuration_Files"&gt;How To Restart Sendmail After Editing Your Configuration Files&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this chapter, you'll see that sendmail uses a variety of configuration files that require different treatments for their commands to take effect. This little activate-sendmail.sh script encapsulates all the required post configuration steps.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;#
# Script: /usr/local/bin/activate-sendmail.sh
#

#!/bin/bash
cd /etc/mail
/usr/bin/make
/usr/bin/newaliases
/etc/init.d/sendmail restart
/etc/init.d/spamassassin restart

&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;It first runs the make command, which creates a new sendmail.cf file from the sendmail.mc file and compiles supporting configuration files in the /etc/mail directory according to the instructions in the file /etc/mail/Makefile. It then generates new e-mail aliases with the newaliases command, (this will be covered later), and then restarts sendmail.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The script also restarts spamassassin, a package that will be discussed later.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Use this command to make the script executable.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chmod 700 /usr/local/bin/activate-sendmail.sh
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You'll need to run the script each time you change any of the sendmail configuration files described in the sections to follow.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# /usr/local/bin/activate-sendmail.sh
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In a production system you may want to be more selective and only restart the specific applications on which you are working. I included all of them in the script so you don't forget.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fmail.2Fsendmail.mc_File"&gt;The /etc/mail/sendmail.mc File&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can define most of sendmail's configuration parameters in the /etc/mail/sendmail.mc file, which is then used by the m4 macros to create the /etc/mail/sendmail.cf file. Configuration of the sendmail.mc file is much simpler than configuration of sendmail.cf, but it is still often viewed as an intimidating task with its series of structured directive statements that get the job done. Fortunately, in most cases you won't have to edit this file very often.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="How_to_Put_Comments_in_sendmal.mc"&gt;How to Put Comments in sendmal.mc&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In most Linux configuration files a # symbol is used at the beginning of a line convert it into a comment line or to deactivate any commands that may reside on that line.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The sendmail.mc file doesn't use this character for commenting, but instead uses the string "dnl". Here are some valid examples of comments used with the sendmail.mc configuration file:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;These statements are disabled by dnl commenting.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;This statement is incorrectly disabled:&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;This statement is active:&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the activate-sendmail.sh script to activate any configuration changes.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_DNS_for_sendmail"&gt;Configuring DNS for sendmail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Remember that you will never receive mail unless you have configured DNS for your domain to make your new Linux box mail server the target of the DNS domain's MX record. See either Chapter 18, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch18 : Configuring DNS"&gt;Configuring DNS&lt;/a&gt;", or Chapter 19, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch19_:_Dynamic_DNS" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch19 : Dynamic DNS"&gt;Dynamic DNS&lt;/a&gt;", for details on how to do this.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configure_Your_Mail_Server.27s_Name_In_DNS"&gt;Configure Your Mail Server's Name In DNS&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You first need to make sure that your mail server's name resolves in DNS correctly. For example, if your mail server's name is bigboy and it you intend for it to mostly handle mail for the domain my-site.com, then bigboy.my-site.com must correctly resolve to the IP address of one of the mail server's interfaces. You can test this using the host command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@smallfry tmp]# host bigboy.my-site.com
bigboy.my-site.com has address 192.168.1.100
[root@smallfry tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You will need to fix your DNS server's entries if the resolution isn't correct.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configure_The_.2Fetc.2Fresolv.conf_File"&gt;Configure The /etc/resolv.conf File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The sendmail program expects DNS to be configured correctly on the DNS server. The MX record for your domain must point to the IP address of the mail server.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The program also expects the files used by the mail server's DNS client to be configured correctly. The first one is the /etc/resolv.conf file in which there must be a domain directive that matches one of the domains the mail server is expected to handle mail for.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Finally, sendmail expects a nameserver directive that points to the IP address of the DNS server the mail server should use to get its DNS information.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;For example, if the mail server is handling mail for my-site.com and the IP address of the DNS server is 192.168.1.100, there must be directives that look like this:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;domain my-site.com
nameserver 192.168.1.100
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;An incorrectly configured resolv.conf file can lead to errors when running the m4 command to process the information in your sendmail.mc file.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;WARNING: local host name (smallfry) is not qualified; fix $j in config file
&lt;/pre&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fhosts_File"&gt;The /etc/hosts File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/hosts file also is used by DNS clients and also needs to be correctly configured. Here is a brief example of the first line you should expect to see in it:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;127.0.0.1 bigboy.my-site.com localhost.localdomain localhost bigboy
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The entry for 127.0.0.1 must always be followed by the fully qualified domain name (FQDN) of the server. In the case above it would be bigboy.my-site.com. Then you must have an entry for localhost and localhost.localdomain. Linux does not function properly if the 127.0.0.1 entry in /etc/hosts doesn't also include localhost and localhost.localdomain. Finally you can add any other aliases your host may have to the end of the line.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="How_To_Configure_Linux_Sendmail_Clients"&gt;How To Configure Linux Sendmail Clients&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;All Linux mail clients in your home or company need to know which server is the mail server. This is configured in the sendmail.mc file by setting the SMART_HOST statement to include the mail server. In the example below, the mail server has been set to mail.my-site.com, the mail server for the my-site.com domain.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;define(`SMART_HOST',`mail.my-site.com')
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you don't have a mail server on your network, you can either create one, or use the one offered by your ISP.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Once this is done, you need to process the sendmail.mc file and restart sendmail. To do this, run the restarting script we from earlier in the chapter.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If the sendmail server is a Linux server, then the /etc/hosts file will also have to be correctly configured too.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the activate-sendmail.sh script shown at the beginning of the chapter to activate any configuration changes.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Converting_From_a_Mail_Client_to_a_Mail_Server"&gt;Converting From a Mail Client to a Mail Server&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;All Linux systems have a virtual loopback interface that lives only in memory with an IP address of 127.0.0.1. As mail must be sent to a target IP address even when there is no NIC in the box, sendmail therefore uses the loopback address to send mail between users on the same Linux server. To become a mail server, and not a mail client, sendmail needs to be configured to listen for messages on NIC interfaces as well.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
1) Determine which NICs sendmail is running on. You can see the interfaces on which sendmail is listening with the netstat command. Because sendmail listens on TCP port 25, you use netstat and grep for 25 to see a default configuration listening only on IP address 127.0.0.1 (loopback):&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# netstat -an | grep&amp;nbsp;:25 | grep tcp
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;2) Edit sendmail.mc to make sendmail listen on all interfaces. If sendmail is listening on the loopback interface only, you should comment out the daemon_options line in the /etc/mail/sendmail.mc file with dnl statements. It is also good practice to take precautions against spam by not accepting mail from domains that don't exist by commenting out the accept_unresolvable_domains feature too. See the fourth and next to last lines in the example.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;dnl
dnl This changes sendmail to only listen on the loopback
dnl device 127.0.0.1 and not on any other network 
dnl devices. Comment this out if you want
dnl to accept email over the network.
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
dnl
...
...
...
dnl
dnl We strongly recommend to comment this one out if you want
dnl to protect yourself from spam. However, the laptop and 
dnl users on computers that do
dnl not have 24x7 DNS do need this.
dnl FEATURE(`accept_unresolvable_domains')dnl
dnl FEATURE(`relay_based_on_MX')dnl
dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;You need to be careful with the accept_unresolvable_names feature. In the sample network, bigboy the mail server does not accept e-mail relayed from any of the other PCs on your network if they are not in DNS. Chapter 18, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch18_:_Configuring_DNS" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch18 : Configuring DNS"&gt;Configuring DNS&lt;/a&gt;", shows how to create your own internal domain just for this purpose.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;If your server has multiple NICs and you want it to listen to one of them, then you can uncomment the localhost DAEMON_OPTIONS entry and add another one for the IP address of the NIC on which to wish to accept SMTP traffic.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
3) Comment out the SMART_HOST Entry in sendmal.mc. The mail server doesn't need a SMART_HOST entry in its sendmail.mc file. Comment this out with a dnl at the beginning.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;dnl define(`SMART_HOST',`mail.my-site.com')
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;4) Regenerate the sendmail.cf file, and restart sendmail. Again, you can do this with the activate-sendmail.sh script from the beginning of the chapter.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;5) Make sure sendmail is listening on all interfaces (0.0.0.0).&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# netstat -an | grep&amp;nbsp;:25 | grep tcp
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You have now completed the first phase of converting your Linux server into a sendmail server by enabling it to listen to SMTP traffic on its interfaces. The following sections will show you how to define what type of mail it should handle and the various ways this mail can be processed.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="A_General_Guide_To_Using_The_sendmail.mc_File"&gt;A General Guide To Using The sendmail.mc File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The sendmail.mc file can seem jumbled. To make it less cluttered I usually create two easily identifiable sections in it with all the custom commands I've ever added.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The first section is near the top where the FEATURE statements usually are, and the second section is at the very bottom.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Sometimes sendmail will archive this file when you do a version upgrade. Having easily identifiable modifications in the file will make post upgrade reconfiguration much easier. Here is a sample:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;dnl ***** Customised section 1 start *****
dnl
dnl
FEATURE(delay_checks)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(allmasquerade)dnl
FEATURE(masquerade_entire_domain)dnl
dnl
dnl
dnl ***** Customised section 1 end *****
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fmail.2Frelay-domains_File"&gt;The /etc/mail/relay-domains File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/mail/relay-domains file is used to determine domains from which it will relay mail. The contents of the relay-domains file should be limited to those domains that can be trusted not to originate spam. By default, this file does not exist in a standard RedHat / Fedora install. In this case, all mail sent from my-super-duper-site.com and not destined for this mail server will be forwarded:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;my-super-duper-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;One disadvantage of this file is that controls mail based on the source domain only, and source domains can be spoofed by spam e-mail servers. The /etc/mail/access file has more capabilities, such as restricting relaying by IP address or network range and is more commonly used. If you delete /etc/mail/relay-domains, then relay access is fully determined by the /etc/mail/access file.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fmail.2Faccess_File"&gt;The /etc/mail/access File&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can make sure that only trusted PCs on your network have the ability to relay mail via your mail server by using the /etc/mail/access file. That is to say, the mail server will relay mail only for those PCs on your network that have their e-mail clients configured to use the mail server as their outgoing SMTP mail server. (In Outlook Express, you set this using: Tools&amp;gt;Accounts&amp;gt;Properties&amp;gt;Servers)&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you don't take the precaution of using this feature, you may find your server being used to relay mail for spam e-mail sites. Configuring the /etc/mail/access file will not stop spam coming to you, only spam flowing through you.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/mail/access file has two columns. The first lists IP addresses and domains from which the mail is coming or going. The second lists the type of action to be taken when mail from these sources or destinations is received. Keywords include RELAY, REJECT, OK (not ACCEPT), and DISCARD. There is no third column to state whether the IP address or domain is the source or destination of the mail, sendmail assumes it could be either and tries to match both. All other attempted relayed mail that doesn't match any of the entries in the /etc/mail/access file, sendmail will reject. Despite this, my experience has been that control on a per e-mail address basis is much more intuitive via the /etc/mail/virtusertable file.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The sample file that follows allows relaying for only the server itself (127.0.0.1, localhost), two client PCs on your home 192.168.1.X network, everyone on your 192.168.2.X network, and everyone passing e-mail through the mail server from servers belonging to my-site.com. Remember that a server will be considered a part of my-site.com only if its IP address can be found in a DNS reverse zone file:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;localhost.localdomain           RELAY
localhost                       RELAY
127.0.0.1                       RELAY
192.168.1.16                    RELAY
192.168.1.17                    RELAY
192.168.2                       RELAY
my-site.com                     RELAY
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;You'll now have to convert this text file into a sendmail readable database file named /etc/mail/access.db. The activate-sendmail.sh script we configured at the beginning of the chapter does this for you too.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Remember that the relay security features of this file may not work if you don't have a correctly configured /etc/hosts file.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fmail.2Flocal-host-names_File"&gt;The /etc/mail/local-host-names File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;When sendmail receives mail, it needs a way of determining whether it is responsible for the mail it receives. It uses the /etc/mail/local-host-names file to do this. This file has a list of hostnames and domains for which sendmail accepts responsibility. For example, if this mail server was to accept mail for the domains my-site.com and another-site then the file would look like this:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;my-site.com
another-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this case, remember to modify the MX record of the another-site.com DNS zonefile point to my-site.com. Here is an example (Remember each "." is important):&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;; Primary Mail Exchanger for another-site.com

another-site.com. MX 10 mail.my-site.com.
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Which_User_Should_Really_Receive_The_Mail.3F"&gt;Which User Should Really Receive The Mail?&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;After checking the contents of the virtusertable, sendmail checks the aliases files to determine the ultimate recipient of mail.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Fmail.2Fvirtusertable_file"&gt;The /etc/mail/virtusertable file&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/mail/virtusertable file contains a set of simple instructions on what to do with received mail. The first column lists the target email address and the second column lists the local user's mail box, a remote email address, or a mailing list entry in the /etc/aliases file to which the email should be forwarded.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If there is no match in the virtusertable file, sendmail checks for the full email address in the /etc/aliases file.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;webmaster@another-site.com   webmasters
@another-site.com            marc
sales@my-site.com            sales@another-site.com
paul@my-site.com             paul
finance@my-site.com          paul
@my-site.com                 error:nouser User unknown

&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this example, mail sent to:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;webmaster@another-site.com will go to local user (or mailing list) webmasters, all other mail to another-site.com will go to local user marc.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;sales at my-site.com will go to the sales department at my-othersite.com.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;paul and finance at my-site.com goes to local user (or mailing list) paul&lt;/li&gt;
&lt;/ul&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;All other users at my-site.com receive a bounce back message stating "User unknown".&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fetc.2Faliases_File"&gt;The /etc/aliases File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can think of the /etc/aliases file as a mailing list file. The first column has the mailing list name (sometimes called a virtual mailbox), and the second column has the members of the mailing list separated by commas.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, sendmail searches the first column of the file for a match. If there is no match, then sendmail assumes the recipient is a regular user on the local server and deposits the mail in their mailbox.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If it finds a match in the first column, sendmail notes the nickname entry in the second column. It then searches for the nickname again in the first column to see if the recipient isn't on yet another mailing list.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If sendmail doesn't find a duplicate, it assumes the recipient is a regular user on the local server and deposits the mail in their mailbox.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If the recipient is a mailing list, then sendmail goes through the process all over again to determine if any of the members is on yet another list, and when it is all finished, they all get a copy of the e-mail message.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In the example that follows, you can see that mail sent to users bin, daemon, lp, shutdown, apache, named, and so on by system processes will all be sent to user (or mailing list) root. In this case, root is actually an alias for a mailing list consisting of user marc and webmaster@my-site.com.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# Basic system aliases -- these MUST be present.
mailer-daemon:        postmaster
postmaster:           root

# General redirections for pseudo accounts.
bin:                  root
daemon:               root
...
 ...
abuse:                root
# trap decode to catch security attacks
decode:               root

# Person who should get root's mail
root:                 marc,webmaster@my-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Notice that there are no spaces between the mailing list entries for root: You will get errors if you add spaces.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;The default /etc/aliases file installed with RedHat / Fedora has the last line of this sample commented out with a #, you may want to delete the comment and change user marc to another user. Also after editing this file, you'll have to convert it into a sendmail readable database file named /etc/aliases.db. Here is the command to do that:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# newaliases
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this simple mailing list example, mail sent to root actually goes to user account marc and webmaster@my-site.com. Because aliases can be very useful, here are a few more list examples for your /etc/aliases file.&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Mail to "directors@my-site.com" goes to users "peter", "paul" and "mary".&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# Directors of my SOHO company
directors:      peter,paul,mary
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Mail sent to "family@my-site.com" goes to users "grandma", "brother" and "sister"&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# My family
family:        grandma,brother,sister
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Mail sent to admin-list gets sent to all the users listed in the file /home/mailings/admin-list.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# My mailing list file
admin-list:     ":include:/home/mailings/admin-list"
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The advantage of using mailing list files is that the admin-list file can be a file that trusted users can edit, user root is only needed to update the aliases file. Despite this, there are some problems with mail reflectors. One is that bounce messages from failed attempts to broadcast go to all users. Another is that all subscriptions and unsubscriptions have to be done manually by the mailing list administrator. If either of these are a problem for you, then consider using a mailing list manager, such as majordomo.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;One important note about the /etc/aliases file: By default your system uses sendmail to mail system messages to local user root. When sendmail sends e-mail to a local user, the mail has no To: in the e-mail header. If you then use a mail client with a spam mail filtering rule to reject mail with no To: in the header, such as Outlook Express or Evolution, you may find yourself dumping legitimate mail.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To get around this, try making root have an alias for a user with a fully qualified domain name, this forces sendmail to insert the correct fields in the header; for example:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# Person who should get root's mail
root:                 webmaster@my-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the newaliases command for these changes to take effect.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Sendmail_Masquerading_Explained"&gt;Sendmail Masquerading Explained&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you want your mail to appear to come from user@mysite.com and not user@bigboy.mysite.com, then you have two choices:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Configure your email client, such as Outlook Express, to set your email address to user@mysite.com. (I'll explain this in the "Configuring Your POP Mail Server" section.).&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Set up masquerading to modify the domain name of all traffic originating from and passing trough your mail server.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_masquerading"&gt;Configuring masquerading&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In the DNS configuration, you made bigboy the mail server for the domain my-site.com. You now have to tell bigboy in the sendmail configuration file sendmail.mc that all outgoing mail originating on bigboy should appear to be coming from my-site.com; if not, based on our settings in the /etc/hosts file, mail will appear to come from mail.my-site.com. This isn't terrible, but you may not want your Web site to be remembered with the word "mail" in front of it. In other words you may want your mail server to handle all email by assigning a consistent return address to all outgoing mail, no matter which server originated the email.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can solve this by editing your sendmail.mc configuration file and adding some masquerading commands and directives:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(always_add_domain)dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`allmasquerade')dnl
MASQUERADE_AS(`my-site.com')dnl
MASQUERADE_DOMAIN(`my-site.com.')dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The result is that:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;The MASQUERADE_AS directive makes all mail originating on bigboy appear to come from a server within the domain my-site.com by rewriting the email header.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;The MASQUERADE_DOMAIN directive makes mail relayed via bigboy from all machines in the another-site.com and localdomain domains appear to come from the MASQUERADE_AS domain of my-site.com. Using DNS, sendmail checks the domain name associated with the IP address of the mail relay client sending the mail to help it determine whether it should do masquerading or not.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;FEATURE masquerade_entire_domain makes sendmail masquerade servers named *my-site.com, and *another-site.com as my-site.com. In other words, mail from sales.my-site.com would be masqueraded as my-site.com. If this wasn't selected, then only servers named my-site.com and my-othersite.com would be masqueraded. Use this with caution when you are sure you have the necessary authority to do this.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;FEATURE allmasquerade makes sendmail rewrite both recipient addresses and sender addresses relative to the local machine. If you cc: yourself on an outgoing mail, the other recipient sees a cc: to an address he knows instead of one on localhost.localdomain.&lt;/li&gt;
&lt;/ul&gt;&lt;dl style="margin-bottom: 0.5em; margin-top: 0.2em;"&gt;&lt;dd style="line-height: 1.5em; margin-bottom: 0.1em; margin-left: 2em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Use FEATURE allmasquerade with caution if your mail server handles email for many different domains and the mailboxes for the users in these domains reside on the mail server. The allmasquerade statement causes all mail destined for these mailboxes to appear to be destined for users in the domain defined in the MASQUERADE_AS statement. In other words, if MASQUERADE_AS is my-site.com and you use allmasquerade, then mail for peter@another-site.com enters the correct mailbox but sendmail rewrites the To:, making the e-mail appear to be sent to peter@my-ste.com originally.&lt;/dd&gt;&lt;/dl&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;FEATURE always_add_domain always masquerades email addresses, even if the mail is sent from a user on the mail server to another user on the same mail server.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;FEATURE masquerade_envelope rewrites the email envelope just as MASQUERADE_AS rewrote the header.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Masquerading is an important part of any mail server configuration as it enables systems administrators to use multiple outbound mail servers, each providing only the global domain name for a company and not the fully qualified domain name of the server itself. All email correspondence then has a uniform email address format that complies with the company's brand marketing policies.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;E-mail clients, such as Outlook Express, consider the To: and From: statements as the e-mail header. When you choose Reply or Reply All in Outlook Express, the program automatically uses the To: and From: in the header. It is easy to fake the header, as spammers often do; it is detrimental to e-mail delivery, however, to fake the envelope.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The e-mail envelope contains the To: and From: used by mailservers for protocol negotiation. It is the envelope's From: that is used when e-mail rejection messages are sent between mail servers.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Testing_Masquerading"&gt;Testing Masquerading&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The best way of testing masquerading from the Linux command line is to use the "mail -v username" command. I have noticed that "sendmail -v username" ignores masquerading altogether. You should also tail the /var/log/maillog file to verify that the masquerading is operating correctly and check the envelope and header of test email received by test email accounts.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Other_Masquerading_Notes"&gt;Other Masquerading Notes&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;By default, user "root" will not be masqueraded. To remove this restriction use:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;EXPOSED_USER(`root')dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;command in /etc/mail/sendmail.mc. You can comment this out if you like with a "dnl" at the beginning of the line and running the sendmail start script.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Using_Sendmail_to_Change_the_Sender.27s_Email_Address"&gt;Using Sendmail to Change the Sender's Email Address&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Sometimes masquerading isn't enough. At times you may need to change not only the domain of the sender but also the username portion of the sender's e-mail address. For example, perhaps you bought a program for your SOHO office that sends out notifications to your staff, but the program inserts its own address as sender's address, not that of the IT person.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Web-based CGI scripts tend to run as user apache and, therefore, send mail as user apache too. Often you won't want this, not only because apache's e-mail address may not be a suitable, but also because some anti-spam programs check to ensure that the From:, or source e-mail address, actually exists as a real user. If your virtusertable file allows e-mail to only predefined users, then queries about the apache user will fail, and your valid e-mail may be classified as being spam.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With sendmail, you can change both the domain and username on a case-by-case basis using the genericstable feature:&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;1) Add these statements to your /etc/mail/sendmail.mc file to activate the feature:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`genericstable',`hash -o /etc/mail/genericstable.db')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;2) Create a /etc/mail/generics-domains file that is just a list of all the domains that should be inspected. Make sure the file includes your server's canonical domain name, which you can obtain using the command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;sendmail -bt -d0.1 &amp;lt;/dev/null
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Here is a sample /etc/mail/generics-domains file:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;my-site.com
another-site.com
bigboy.my-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;3) Create your /etc/mail/genericstable file. First sendmail searches the /etc/mail/generics-domains file for a list of domains to reverse map. It then looks at the /etc/mail/genericstable file for an individual email address from a matching domain. The format of the file is&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;linux-username       username@new-domain.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Your e-mails from linux-username should now appear to come from username@new-domain.com.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Here are some other examples:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;alert          security-alert@my-site.com
peter          urgent-message@my-site.com
apache         mailer@my-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Troubleshooting_Sendmail"&gt;Troubleshooting Sendmail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;There are a number of ways to test sendmail when it doesn't appear to work correctly. Here are a few methods you can use to fix some of the most common problems.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Testing_TCP_connectivity"&gt;Testing TCP connectivity&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The very first step is to determine whether your mail server is accessible on the sendmail SMTP TCP port 25. Lack of connectivity could be caused by a firewall with incorrect permit, NAT, or port forwarding rules to your mail server. Failure could also be caused by the sendmail process being stopped. It is best to test this from both inside your network and from the Internet.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Chapter 4, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch04 : Simple Network Troubleshooting"&gt;Simple Network Troubleshooting&lt;/a&gt;", covers troubleshooting with TELNET.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Further_Testing_of_TCP_connectivity"&gt;Further Testing of TCP connectivity&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can also mimic a full mail session using TELNET to make sure everything is working correctly. If you get a "500 Command not recognized" error message along the way, the cause is probably a typographical error. Follow these steps carefully.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;1) Telnet to the mail server on port 25. You should get a response with a 220 status code.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# telnet mail.my-site.com 25
Trying mail.my-site.com...
Connected to mail.my-site.com.
Escape character is '^]'.
220 mail.my-site.com ESMTP server ready
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If this basic step fails, you probably have a connection problem that could be the result of typical network issues outlined in Chapter 4, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch04 : Simple Network Troubleshooting"&gt;Simple Network Troubleshooting&lt;/a&gt;". Review this chapter if you find yourself having problems related to basic connectivity.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;2) Use the hello command to tell the mail server the domain you belong to. You should receive a message with a successful status 250 code at the beginning of the response.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;helo another-web-site.org
250 mail.my-site.com Hello c-24-4-97-110.client.comcast.net [24.4.97.110], pleased to meet you.
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;3) Inform the mail server from which the test message is coming with the MAIL FROM: statement.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;MAIL FROM:sender@another-web-site.org
250 2.1.0 sender@another-web-site.org... Sender ok
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;4) Tell the mail server to whom the test message is going with the " RCPT TO:" statement.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;RCPT TO: user@my-site.com
250 2.1.5 user@my-site.com... Recipient ok
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;5) Prepare the mail server to receive data with the DATA statement&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;DATA
354 Enter mail, end with "." on a line by itself
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;6) Type the string "subject:" then type a subject. Type in your text message, ending it with a single period on the last line. For example.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Subject: Test Message
Testing sendmail interactively
.
250 2.0.0 iA75r9si017840 Message accepted for delivery
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;7) Use the QUIT command to end the session.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;QUIT
221 2.0.0 mail.my-site.com closing connection
Connection closed by foreign host.
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Now verify that the intended recipient received the message, and check the system logs for any mail application errors.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="The_.2Fvar.2Flog.2Fmaillog_File"&gt;The /var/log/maillog File&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Because sendmail writes all its status messages in the /var/log/maillog file, always monitor this file whenever you are doing changes. Open two TELNET, SSH, or console windows. Work in one of them and monitor the sendmail status output in the other using the command&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# tail -f /var/log/maillog
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;This tactic will make it much easier to troubleshoot any issues you may find in sendmail.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Common_Errors_Due_To_Incomplete_RPM_Installation"&gt;Common Errors Due To Incomplete RPM Installation&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Both the newaliases and m4 commands require the sendmail-cf and m4 RPM packages. These must be installed. If they are not, you'll get errors when running various sendmail related commands.&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Sample Errors when running newaliases&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy mail]# newaliases
Warning: .cf file is out of date: sendmail 8.12.5 supports version 10, .cf file is version 0
No local mailer defined
QueueDirectory (Q) option must be set
[root@bigboy mail]#
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Sample errors when processing the sendmail.mc file&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy mail]# m4 /etc/mail/sendmail.mc &amp;gt; /etc/mail/sendmail.cf
/etc/mail/sendmail.mc:8: m4: Cannot open /usr/share/sendmail-cf/m4/cf.m4: No such file or directory
[root@bigboy mail]#
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Sample errors when restarting sendmail&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy mail]# service sendmail restart
Shutting down sendmail: [ OK ]
Shutting down sm-client: [FAILED]
Starting sendmail: 554 5.0.0 No local mailer defined
554 5.0.0 QueueDirectory (Q) option must be set
[FAILED]
Starting sm-client: [ OK ]
[root@bigboy mail]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If these errors occur, make sure your m4, sendmail and senmail-cf RPM packages are installed correctly.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Incorrectly_Configured_.2Fetc.2Fhosts_Files"&gt;Incorrectly Configured /etc/hosts Files&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;By default, Fedora inserts the hostname of the server between the 127.0.0.1 and the localhost entries in /etc/hosts like this:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;127.0.0.1     bigboy    localhost.localdomain    localhost
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Unfortunately in this configuration, sendmail will think that the server's FQDN is bigboy, which it will identify as being invalid because there is no extension at the end, such as .com or .net. It will then default to sending e-mails in which the domain is localhost.localdomain.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/hosts file is also important for configuring mail relay. You can create problems if you fail to place the server name in the FDQN for 127.0.0.1 entry. Here sendmail thinks that the server's FDQN was my-site and that the domain was all of .com.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;127.0.0.1   my-site.com  localhost.localdomain   localhost  # (Wrong!!!)
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The server would therefore be open to relay all mail from any .com domain and would ignore the security features of the access and relay-domains files I'll describe later.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;As mentioned, a poorly configured /etc/hosts file can make mail sent from your server to the outside world appear as if it came from users at localhost.localdomain and not bigboy.my-site.com.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Use the sendmail program to send a sample e-mail to someone in verbose mode. Enter some text after issuing the command and end your message with a single period all by itself on the last line, for example:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# sendmail -v example@another-site.com
test text
test text
.
example@another-site.com... Connecting to mail.another-site.com. via esmtp... 
220 ltmail.another-site.com LiteMail v3.02(BFLITEMAIL4A); Sat, 05 Oct 2002 06:48:44 -0400
&amp;gt;&amp;gt;&amp;gt; EHLO localhost.localdomain
250-mx.another-site.com Hello [67.120.221.106], pleased to meet you
250 HELP
&amp;gt;&amp;gt;&amp;gt; MAIL From:&amp;lt;root@localhost.localdomain&amp;gt;
250 &amp;lt;root@localhost.localdomain&amp;gt;... Sender Ok
&amp;gt;&amp;gt;&amp;gt; RCPT To:&amp;lt;example@another-site.com&amp;gt;
250 &amp;lt;example@another-site.com&amp;gt;... Recipient Ok
&amp;gt;&amp;gt;&amp;gt; DATA
354 Enter mail, end with "." on a line by itself
&amp;gt;&amp;gt;&amp;gt; .
250 Message accepted for delivery
example@another-site.com... Sent (Message accepted for delivery)
Closing connection to mail.another-site.com.
&amp;gt;&amp;gt;&amp;gt; QUIT
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;localhost.localdomain is the domain that all computers use to refer to themselves, it is therefore an illegal Internet domain. Consider an example: Mail sent from computer PC1 to PC2 appears to come from a user at localhost.localdomain on PC1 and is rejected. The rejected e-mail is returned to localhost.localdomain. PC2 sees that the mail originated from localhost.localdomain and thinks that the rejected e-mail should be sent to a user on PC2 that may not exist. You end up with an error in /var/log/maillog:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Oct 16 10:20:04 bigboy sendmail[2500]: g9GHK3iQ002500: SYSERR(root): savemail: cannot save rejected email anywhere
Oct 16 10:20:04 bigboy sendmail[2500]: g9GHK3iQ002500: Losing ./qfg9GHK3iQ002500: savemail panic
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You may also get this error if you are using a spam prevention program, such as a script based on the PERL module Mail::Audit. An error in the script could cause this type of message too.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Another set of tell tale errors caused by the same problem can be generated when trying to send mail to a user (the example uses root) or creating a new alias database file. (I'll explain the newaliases command later.)&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# sendmail -v  root
WARNING: local host name (bigboy) is not qualified; fix $j in config file
[root@bigboy tmp]# newaliases
WARNING: local host name (bigboy) is not qualified; fix $j in config file
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;An accompanying error in /var/log/maillog log file looks like this:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Oct 16 10:23:58 bigboy sendmail[2582]: My unqualified host name (bigboy) unknown; sleeping for retry
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;When you have got sendmail finally working it will be time to focus your attention on fighting unwanted email, or SPAM. This will be covered next.&lt;/div&gt;&lt;h1 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(4, 132, 68); border-bottom-style: solid; border-bottom-width: 2px; color: green; font-size: 24px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Fighting_SPAM"&gt;Fighting SPAM&lt;/span&gt;&lt;/h1&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Unsolicited Commercial Email (UCE or SPAM) can be annoying, time consuming to delete and in some cases dangerous when they contain viruses and worms. Fortunately there are ways you can use your mail server to combat SPAM.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Using_Public_SPAM_Blacklists_With_Sendmail"&gt;Using Public SPAM Blacklists With Sendmail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;There are many publicly available lists of known open mail relay servers and spam generating mail servers on the Internet. Some are maintained by volunteers, others are managed by public companies, but in all cases they rely heavily on complaints from spam victims. Some spam blacklists simply try to determine whether the e-mail is coming from a legitimate IP address.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The IP addresses of offenders usually remain on the list for six months to two years. In some cases, to provide additional pressure on the spammers, the blacklists include not only the offending IP address but also the entire subnet or network block to which it belongs. This prevents the spammers from easily switching their servers' IP addresses to the next available ones on their networks. Also, if the spammer uses a public data center, it is possible that their activities could also cause the IP addresses of legitimate e-mailers to be black listed too. It is hoped that these legitimate users will pressure the data center's management to evict the spamming customer.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can configure sendmail to use its dnsbl feature to both query these lists and reject the mail if a match is found. Here are some sample entries you can add to your /etc/sendmail.mc file; they should all be on one line.&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;RFC-Ignorant: A valid IP address checker.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`dnsbl', `ipwhois.rfc-ignorant.org',`"550 Mail from " $&amp;amp;{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see &lt;a class="external free" href="http://www.rfc-ignorant.org/" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;http://www.rfc-ignorant.org/&lt;/a&gt;"')
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Easynet: An open proxy list.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`dnsbl', `proxies.blackholes.easynet.nl', `"550 5.7.1 ACCESS DENIED to OPEN PROXY SERVER "$&amp;amp;{client_name}" by easynet.nl DNSBL  (&lt;a class="external free" href="http://proxies.blackholes.easynet.nl/errors.html" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;http://proxies.blackholes.easynet.nl/errors.html&lt;/a&gt;)"', `')dnl
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Spamcop: A spammer blacklist.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`dnsbl', `bl.spamcop.net', `"450 Mail from " $`'&amp;amp;{client_addr} " refused - see &lt;a class="external free" href="http://spamcop.net/bl.shtml" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;http://spamcop.net/bl.shtml&lt;/a&gt;"')
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Spamhaus: A spammer blacklist.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;FEATURE(`dnsbl',`sbl.spamhaus.org',`Rejected - see &lt;a class="external free" href="http://spamhaus.org/')dnl" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;http://spamhaus.org/')dnl&lt;/a&gt;
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Visit the URLs listed in each FEATURE command to learn more about the individual services.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/li&gt;
&lt;/ul&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Spamassassin"&gt;Spamassassin&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Once sendmail receives an e-mail message, it hands the message over to procmail, which is the application that actually places the e-mail in user mailboxes on the mail server. You can make procmail temporarily hand over control to another program, such as a spam filter. The most commonly used filter is spamassassin.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;spamassassin doesn't delete spam, it merely adds the word "spam" to the beginning of the subject line of suspected spam e-mails. You can then configure the e-mail filter rules in Outlook Express or any other mail client to either delete the suspect message or store it in a special Spam folder.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Downloading_And_Installing_Spamassassin"&gt;Downloading And Installing Spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Most RedHat and Fedora Linux software product packages are available in the RPM format, whereas Debian and Ubuntu Linux use DEB format installation files. When searching for these packages remember that the filename usually starts with the software package name and is followed by a version number, as in spamassassin-2.60-2.i386.rpm. (For help downloading, see Chapter 6, "&lt;a class="mw-redirect" href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_RPM_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing RPM Software"&gt;Installing RPM Software&lt;/a&gt;").&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Starting_Spamassassin"&gt;Starting Spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The methodologies vary depending on the variant of Linux you are using as you’ll see next.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Fedora / CentOS / RedHat&lt;/b&gt;&lt;/u&gt;&amp;nbsp;With these flavors of Linux you can use the chkconfig command to get spamassassin configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chkconfig spamassassin on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart spamassassin after booting use the service command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service spamassassin start
[root@bigboy tmp]# service spamassassin stop
[root@bigboy tmp]# service spamassassin restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether spamassassin is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the spamassassin daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service spamassassin status
[root@bigboy tmp]# pgrep spam
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the chkconfig command at least once to ensure spamassassin starts automatically on your next reboot.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Ubuntu / Debian&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With these flavors of Linux the commands are different. Try installing the sysv-rc-conf and sysvinit-utils DEB packages as they provide commands that simplify the process. (For help on downloading and installing the packages, see&amp;nbsp;&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;).) You can use the sysv-rc-conf command to get spamassassin configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo sysv-rc-conf spamassassin on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart spamassassin after booting the service command is the same:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service spamassassin start
user@ubuntu:~$ sudo service spamassassin stop
user@ubuntu:~$ sudo service spamassassin restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether spamassassin is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the spamassassin daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service spamassassin status
user@ubuntu:~$ pgrep spam
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the sysv-rc-conf command at least once to ensure spamassassin starts automatically on your next reboot.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_procmail_for_spamassassin"&gt;Configuring procmail for spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The /etc/procmailrc file is used by procmail to determine the procmail helper programs that should be used to filter mail. This file isn't created by default.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;spamassassin has a template you can use called /etc/mail/spamassassin/spamassassin-spamc.rc. Copy the template to the /etc directory.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# cp /etc/mail/spamassassin/spamassassin-spamc.rc /etc/procmailrc
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;This will activate spamassassin for all your mail users.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Spamassassin"&gt;Configuring Spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The spamassassin configuration file is named /etc/mail/spamassassin/local.cf. A full listing of all the options available in the local.cf file can be found in the Linux man pages using the following command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# man Mail::SpamAssassin::Conf
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can customize this fully commented sample configuration file to meet your needs.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;###################################################################
# See 'perldoc Mail::SpamAssassin::Conf' for
# details of what can be adjusted.
###################################################################
 
#
# These values can be overridden by editing
# ~/.spamassassin/user_prefs.cf (see spamassassin(1) for details)
#
 
# How many hits before a message is considered spam. The lower the
# number the more sensitive it is.
 
required_hits           5.0
 
 
# Whether to change the subject of suspected spam (1=Yes, 0=No)
rewrite_subject         1
 
 
# Text to prepend to subject if rewrite_subject is used
subject_tag             *****SPAM*****
 
 
# Encapsulate spam in an attachment (1=Yes, 0=No)
report_safe             1
 
 
# Use terse version of the spam report (1=Yes, 0=No)
use_terse_report        0
 
 
# Enable the Bayes system (1=Yes, 0=No)
use_bayes               1
 
 
# Enable Bayes auto-learning (1=Yes, 0=No)
auto_learn              1
 
 
# Enable or disable network checks (1=Yes, 0=No)
skip_rbl_checks         0
use_razor2              1
use_dcc                 1
use_pyzor               1
 
 
# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
# - english
 
ok_languages            en
 
 
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
 
ok_locales              en
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Be sure to run the activate-sendmail.sh script from the beginning of the chapter for these changes to take effect.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Testing_spamassassin"&gt;Testing spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can test the validity of your local.cf file by using the spamassassin command with the --lint option. This will list any syntax problems that may exist. In this example two errors were found and corrected before the command was run again.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# spamassassin -d --lint
Created user preferences file: /root/.spamassassin/user_prefs
config: SpamAssassin failed to parse line, skipping: use_terse_report        0
config: SpamAssassin failed to parse line, skipping: auto_learn              1
lint: 2 issues detected.  please rerun with debug enabled for more information.
[root@bigboy tmp]# vi /etc/mail/spamassassin/local.cf
...
...
...
[root@bigboy tmp]# spamassassin -d --lint
[root@bigboy tmp]
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Startup_spamassassin"&gt;Startup spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The final steps are to configure spamassassin to start on booting and then to start it.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chkconfig spamassassin on
[root@bigboy tmp]# service spamassassin start
Starting spamd: [  OK  ]
[root@bigboy tmp]#
&lt;/pre&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Tuning_spamassassin"&gt;Tuning spamassassin&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can tune the sensitivity of spamassassin to the type of spam you receive by adjusting the required_hits value in the local.cf file. This can be made easier by viewing the score spamassassin assigns a message in its header. In most GUI based email clients this can be done by looking at the email's properties. In this case, a Nigerian email scam spam was detected and given a score of 20.1 and marked as spam.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;X-Spam-Status: Yes, score=20.1 required=2.1 tests=DEAR_FRIEND,
 DNS_FROM_RFC_POST,FROM_ENDS_IN_NUMS,MSGID_FROM_MTA_HEADER,NA_DOLLARS,
 NIGERIAN_BODY1,NIGERIAN_BODY2,NIGERIAN_BODY3,NIGERIAN_BODY4,
 RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SBL,RISK_FREE,SARE_FRAUD_X3,
 SARE_FRAUD_X4,SARE_FRAUD_X5,US_DOLLARS_3 autolearn=failed 
 version=3.0.4
X-Spam-Report: 
 *  0.5 FROM_ENDS_IN_NUMS From: ends in numbers
 *  0.2 RISK_FREE BODY: Risk free.  Suuurreeee....
 *  0.4 US_DOLLARS_3 BODY: Mentions millions of $ ($NN,NNN,NNN.NN)
 *  0.8 DEAR_FRIEND BODY: Dear Friend? That's not very dear!
 *  2.2 NA_DOLLARS BODY: Talks about a million North American dollars
 *  1.8 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
 *      [Blocked - see &amp;lt;&lt;a class="external free" href="http://www.spamcop.net/bl.shtml?213.185.106.3" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;http://www.spamcop.net/bl.shtml?213.185.106.3&lt;/a&gt;&amp;gt;]
 *  1.1 RCVD_IN_SBL RBL: Received via a relay in Spamhaus SBL
 *      [213.185.106.3 listed in sbl-xbl.spamhaus.org]
 *  1.4 DNS_FROM_RFC_POST RBL: Envelope sender in postmaster.rfc-ignorant.org
 *  1.9 NIGERIAN_BODY3 Message body looks like a Nigerian spam message 3+
 *  2.9 NIGERIAN_BODY1 Message body looks like a Nigerian spam message 1+
 *  1.4 NIGERIAN_BODY4 Message body looks like a Nigerian spam message 4+
 *  1.7 SARE_FRAUD_X5 Matches 5+ phrases commonly used in fraud spam
 *  0.5 NIGERIAN_BODY2 Message body looks like a Nigerian spam message 2+
 *  1.7 SARE_FRAUD_X3 Matches 3+ phrases commonly used in fraud spam
 *  1.7 SARE_FRAUD_X4 Matches 4+ phrases commonly used in fraud spam
 *  0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If SPAM slips through your spamassassin system, you can use this method to adjust your rules to reduce the risk in future.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Updating_Spamassassin.E2.80.99s_Built-in_Rules"&gt;Updating Spamassassin’s Built-in Rules&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The spamassassin package comes with a file, /etc/cron.d/sa-update, which updates the rule files in the /etc/mail/spamassassin/ directory each day. This makes the administration of your system much easier.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Limiting your spam fighting efforts to the required_hits value isn't usually adequate. You will probably need additional spamassassin tools to be more selective and accurate in your tests. This will be covered next.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Using_Greylisting"&gt;Using Greylisting&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To maximize the effect of their efforts, spammers try to send email as quickly as possible. They take note of the emails that bounce, so that they know which addresses to remove from their lists to make their next mailing more efficient.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;When mail servers receive mail too rapidly for them to handle, they can ask the sender to try again later. Spammers often view resending emails to valid addresses as a waste of computing time that could be used to send mail to brand new addresses that belong to faster mail servers. Emails that need to be resent are usually abandoned.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Some emails need reliable delivery to be effective and the senders of these types of messages are willing to resend. These include bank statement notifications, ecommerce purchase confirmations, and subscription newsletters.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In a previous section we saw where spamassassin always rejects emails from blacklisted sources. With greylisting, sources are just asked to resend. One of the most popular greylist mail filter (milter) products is the milter-greylist package which also works seamlessly with spamassassin. It is easy to use and I’ll discuss how can be configured on your mail server.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Downloading_and_Installing_milter-greylist"&gt;Downloading and Installing milter-greylist&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Most RedHat and Fedora Linux software product packages are available in the RPM format, whereas Debian and Ubuntu Linux use DEB format installation files. When searching for these packages remember that the filename usually starts with the software package name and is followed by a version number, as in milter-greylist-4.2.6-1400.fc14.x86_64.rpm. (For help on downloading and installing the required packages, see&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;).&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;The milter-greylist package is a sendmail add-on and does not run as a daemon. You do have to restart sendmail for the settings to take effect.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_milter-greylist"&gt;Configuring milter-greylist&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Configuring milter-greylist requires these four quick steps:&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;1. Add the milter-greylist statements listed in the README file to your /etc/mail/sendmail.mc file:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;2. The previous step referenced the file /var/milter-greylist/milter-greylist.sock which now has to be created and owned by the grmilter user. You can do this by first searching for the grmilter user in /etc/passwd, to double check that the user first exists and that the directory is owned by this user also. Next create the file and change its ownership. The method can be seen here.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# grep grey /etc/passwd
grmilter:x:495:494:Greylist-milter user:/var/lib/milter-greylist:/sbin/nologin
[root@bigboy tmp]# touch /var/lib/milter-greylist/milter-greylist.sock
[root@bigboy tmp]# chown grmilter:grmilter \
                         /var/lib/milter-greylist/milter-greylist.sock
[root@bigboy tmp]# ll /var/lib/milter-greylist/milter-greylist.sock
-rw-r--r-- 1 grmilter grmilter 0 Dec 12 00:26 /var/lib/milter-greylist/milter-greylist.sock
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;3. Configure Greylist to start automatically on reboot. Fedora / CentOS / RedHat&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chkconfig spamassassin on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Ubuntu / Debian&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo sysv-rc-conf spamassassin on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;4. Edit the /etc/mail/greylist.conf configuration file. Here we set the “try again later” to five minutes and use the whitelist command to deactivate the timer for trusted networks so that mail is delivered immediately.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;#
# File: /etc/mail/greylist.conf
#

# How long a client has to wait before we accept
# the messages it retries to send. Here, 1 hour.
#
greylist 5m

#
# Whitelist addresses within my own home/office network
#
acl whitelist addr 192.168.0.0/16
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;5. Run the activate-sendmail.sh script for the new settings to take effect.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Your new spam mitigation tool should now be fully functional. You are ready to go!&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_milter-greylist_2"&gt;Configuring milter-greylist&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Now that we have milter-greylist installed, we need to be able to do some basic troubleshooting. The /var/log/maillog file should be used to determine what is happening to your mail. Here are two samples of what to expect:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Dec 24 00:32:31 bigboy sendmail[28847]: jBO8WVnG028847: Milter: to=&amp;lt;spamvictim@my-web-site.org&amp;gt;, 
reject=451 4.7.1 Greylisting in action, please come back in 00:05:00

Dec 23 20:40:21 bigboy milter-greylist: jBO4eF2m027418: addr 211.115.216.225 from 
&amp;lt;slashdot@slashdot.org&amp;gt; rcpt &amp;lt;spamvictim@my-web-site.org&amp;gt;: autowhitelisted for 24:00:00
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In the first entry, the email received is given a tag (jBO8WVnG028847) based on key characteristics in the mail header and a request is sent to the sender to resend the email in five minutes. Any email that is received with the same calculated key within the autowhite period configured in the greylist.conf file will then be automatically accepted without delay. In the second entry, the email has been resent and immediately accepted. Any other email from that source within the next 24 hours will be accepted without delay.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Greylisting is very effective, but you will have to tne its operation to make sure critical emails are not delayed at all. One soluton is to set the autowhite period in /etc/mail/greylist.conf to slightly more than 24 hours especially if you get mail from certain recipients, such as newsletters, on a daily basis. This makes them arrive without interruption.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="A_Simple_PERL_Script_To_Help_Stop_SPAM"&gt;A Simple PERL Script To Help Stop SPAM&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Blacklists won't stop everything, but you can limit the amount of unsolicited spam you receive by writing a small script to intercept your mail before it is written to your mailbox.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;This is fairly simple to do, because sendmail always checks the .forward file in your home directory for the name of this script. The sendmail program then looks for the filename in the directory /etc/smrsh and executes it.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;By default, PERL doesn't come with modules that are able to check e-mail headers and envelopes so you have to download them from CPAN (www.cpan.org). The most important modules are:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;MailTools&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;IO-Stringy&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;MIME-tools&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Mail-Audit&lt;/li&gt;
&lt;/ul&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;I have written a script called mail-filter.pl that effectively filters out spam e-mail for my home system. A few steps are required to make the script work:&lt;/div&gt;&lt;ol style="line-height: 1.5em; list-style-image: none; margin-bottom: 0px; margin-left: 3.2em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Install PERL and the PERL modules you downloaded from CPAN.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Place an executable version of the script in your home directory and modify the script's $FILEPATH variable point to your home directory.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Update file mail-filter.accept, which specifies the subjects and e-mail addresses to accept, and file mail-filter.reject, which specifies those to reject.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Update your .forward file and place an entry in /etc/smrsh.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Mail-filter first rejects all e-mail based on the reject file and then accepts all mail found in the accept file. It then denies everything else.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;For a simple script with instructions on how to install the PERL modules, see Appendix II,&amp;nbsp;&lt;a class="external text" href="http://www.linuxhomenetworking.com/about/buy-docs.html" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #3366bb; padding-left: 0px; text-decoration: underline;"&gt;"Codes, Scripts, and Configurations"&lt;/a&gt;.&lt;/div&gt;&lt;h1 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(4, 132, 68); border-bottom-style: solid; border-bottom-width: 2px; color: green; font-size: 24px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Your_Dovecot_POP_.2F_IMAP_Mail_Server"&gt;Configuring Your Dovecot POP / IMAP Mail Server&lt;/span&gt;&lt;/h1&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Each user on your Linux box will get mail sent to their account's mail folder, but sendmail just handles mail sent to your my-site.com domain. If you want to retrieve the mail from your Linux box's user account using a mail client such as Evolution, Microsoft Outlook or Outlook Express, then you have a few more steps. You'll also have to make your Linux box a POP mail server.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Linux comes with the easy to use dovecot IMAP/POP server package which requires very little configuration after installation.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Installing_Dovecot"&gt;Installing Dovecot&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Most RedHat and Fedora Linux software product packages are available in the RPM format, whereas Debian and Ubuntu Linux use DEB format installation files. When searching for these packages remember that the filename usually starts with the software package name and is followed by a version number, as in dovecot-0.99.11-1.FC3.4.i386.rpm. (For help on downloading and installing the required packages, see&amp;nbsp;&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;).&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Starting_Dovecot"&gt;Starting Dovecot&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The methodologies vary depending on the variant of Linux you are using as you’ll see next.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Fedora / CentOS / RedHat&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With these flavors of Linux you can use the chkconfig command to get dovecot configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# chkconfig dovecot on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart dovecot after booting use the service command:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service dovecot start
[root@bigboy tmp]# service dovecot stop
[root@bigboy tmp]# service dovecot restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether dovecot is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the dovecot daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# service dovecot status
[root@bigboy tmp]# pgrep spam
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the chkconfig command at least once to ensure dovecot starts automatically on your next reboot.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;u&gt;&lt;b&gt;Ubuntu / Debian&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With these flavors of Linux the commands are different. Try installing the sysv-rc-conf and sysvinit-utils DEB packages as they provide commands that simplify the process. (For help on downloading and installing the packages, see&amp;nbsp;&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch06_:_Installing_Linux_Software" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch06 : Installing Linux Software"&gt;Chapter 6, Installing Linux Software&lt;/a&gt;)&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can use the sysv-rc-conf command to get dovecot configured to start at boot:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo sysv-rc-conf dovecot on
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To start, stop, and restart dovecot after booting the service command is the same:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service dovecot start
user@ubuntu:~$ sudo service dovecot stop
user@ubuntu:~$ sudo service dovecot restart
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To determine whether dovecot is running you can issue either of these two commands. The first will give a status message. The second will return the process ID numbers of the dovecot daemons.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;user@ubuntu:~$ sudo service dovecot status
user@ubuntu:~$ pgrep dovecot
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to run the sysv-rc-conf command at least once to ensure dovecot starts automatically on your next reboot.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Dovecot_Configuration_Files"&gt;Dovecot Configuration Files&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can define most of Dovecot's configuration parameters in the dovecot.conf file which may be located in either the /etc or /etc/dovecot directory depending on your version of Linux.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Remember to restart Dovecot after you make any changes to your configuration files. This is the only way to activate the new settings.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Choice_of_Protocols"&gt;Choice of Protocols&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can select one of two protocols in your Dovecot configuration: IMAP and POP3. With POP3 your mail is downloaded to your computer so that you can work with it offline. If you access and reply to POP3 mail from different computers it will be difficult to get a complete picture of some threads as the replies sent on one computer won’t be visible on the other. With IMAP your mail always remains on your mail server which eliminates this problem. It also allows you to create folders for your email which makes it easy to organize your e-mail and access it from anywhere.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Each of these protocols operate on a different TCP port as shown in Table 21-1.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;table border="1" cellpadding="5" cellspacing="0" style="font-size: 13px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: green; background-image: initial; background-position: initial initial; background-repeat: initial; color: white;"&gt;Protocol&lt;/th&gt;&lt;th style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: green; background-image: initial; background-position: initial initial; background-repeat: initial; color: white;"&gt;TCP Port&lt;/th&gt;&lt;/tr&gt;
&lt;tr valign="top"&gt;&lt;td&gt;POP&lt;/td&gt;&lt;td&gt;110&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign="top"&gt;&lt;td&gt;POPS&lt;/td&gt;&lt;td&gt;995&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign="top"&gt;&lt;td&gt;IMAP&lt;/td&gt;&lt;td&gt;143&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign="top"&gt;&lt;td&gt;IMAPS&lt;/td&gt;&lt;td&gt;993&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;This information will be required for your configuration file as you will soon see. You should also make sure your firewall rules allow traffic to access your server on these ports.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Version_1.x"&gt;Version 1.x&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this version, Dovecot would by default act as a server for IMAP, secure encrypted IMAP (IMAPS), POP and secure encrypted POP (POPS). You could limit this list by editing the protocols line in the /etc/dovecot.conf file and then restarting dovecot for the change to take effect.In the example below dovecot is configured to serve only POP3.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Unfortunately the POP3 and IMAP protocols send your username and password unencrypted which exposes your users to attacks. Dovecot expects you to use the more secure POP3S or IMAPS methods and therefore disables the use of plain text passwords by default. To enable the acceptance of plain text authentication the disable_plaintext_auth command needs to be set to “no”, as the example also shows.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;#
# File /etc/dovecot.conf sample
#

# Protocols we want to be serving imap imaps pop3 pop3s
#protocols = imap imaps pop3 pop3s
protocols = pop3
disable_plaintext_auth = no
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You should always try to use secure POP3S or IMAPS for better peace of mind. More details on how to do this with newer versions of Dovecot will be covered next.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Version_2.x_and_Newer"&gt;Version 2.x and Newer&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In more recent versions, the syntax of the dovecot.conf statements used to define protocols has changed.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Both POP3 and IMAP settings are configured in a service section and you can define the IP addresses each should use and the TCP ports on which they should listen.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;In this example, we have disabled IMAPS and POP3 by setting their inet_listener ports to zero. POP3S is working on address 192.168.1.100 while IMAP works on the localhost address 127.0.0.1. Both POP3S and IMAP listen on their respective TCP ports.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# Required to make POPS / IMAPS to work with certificates
ssl = yes
&lt;/pre&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  inet_listener pop3s {
    port = 995
    address = 192.168.1.100
  }
}

service imap-login {
  inet_listener imap {
    address = 127.0.0.1
    port = 143
  }
  inet_listener imaps {
    port = 0
  }
}

&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;IMAPS and POP3S commonly rely on the use of SSL certificates for encryption. You make Dovecot aware that you intend to use this method with the ssl command. This is also shown in the example. It is an important step.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Always remember to restart Dovecot in order for these settings to take effect.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Verifiying_Whether_Dovecot_is_Listening"&gt;Verifiying Whether Dovecot is Listening&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can then use the netstat command to do a simple preliminary test to make sure dovecot is listening on the correct ports. In this example we see that IMAP is listening on localhost and POPS is listening on the NIC IP address of server bigboy. It proof that our configuration works.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# netstat -ta | egrep -i 'pop|imap' 
tcp        0      0 localhost:imap              *:*    LISTEN
tcp        0      0 bigboy:pop3s       *:*             LISTEN
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;It is often insufficient to use this as your only test. Try using the telnet command from another location to verify that remote client can contact your mail server on the correct ports. If they cannot, you may have a routing or firewall issue, or dovecot may not be running. In this example we are testing on the POPS port, 995.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# telnet mail.my-site.com 995
Trying 192.168.1.100...
Connected to mail.simiya.com.
Escape character is '^]'.
^]
telnet&amp;gt; quit
Connection closed.
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Connection problems could also be the result of typical network issues outlined in Chapter 4, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch04 : Simple Network Troubleshooting"&gt;Simple Network Troubleshooting&lt;/a&gt;". Review this chapter if you find yourself having problems related to basic connectivity.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_SSL_Certificates_for_POP3S_and_IMAPS"&gt;Configuring SSL Certificates for POP3S and IMAPS&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;As mentioned previously, when configuring POP3S and IMAPS you need to let Dovecot know where your certificates are. By default the certificates are named dovecot.pem and references to them should be found in your dovecot.conf file or one of its daughter configuration files in the /etc/dovecot/conf.d directory.The configuration should look like this.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;ssl_cert = &amp;lt;/etc/pki/dovecot/certs/dovecot.pem
ssl_key = &amp;lt;/etc/pki/dovecot/private/dovecot.pem
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You can verify these commands are listed in your Dovecot configuration file tree. This can be done with a simple recursive grep command which searches /etc/dovecot and its subdirectories for files with the string dovecot.pem in them. In this case the statements are found in the 10-ssl.conf file in the /etc/dovecot/conf.d directory.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# grep -ir dovecot.pem /etc/dovecot/
/etc/dovecot/conf.d/10-ssl.conf:ssl_cert = &amp;lt;/etc/pki/dovecot/certs/dovecot.pem
/etc/dovecot/conf.d/10-ssl.conf:ssl_key = &amp;lt;/etc/pki/dovecot/private/dovecot.pem
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;After finding the references you should verify that the files exist. This can be done with the locate command. Here we see the file locations previously listed in the configuration file match files that actually reside in the filesystem.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# locate dovecot.pem
/etc/pki/dovecot/certs/dovecot.pem
/etc/pki/dovecot/private/dovecot.pem
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;What do you do if you don’t have these files? Don’t worry, you can easily create them and this will be covered next.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_SSL_Certificates_for_POP3S_and_IMAPS_2"&gt;Configuring SSL Certificates for POP3S and IMAPS&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;What do you do if you don’t have these files? Don’t worry, you can easily create them and this will be covered next. The mkcert.sh file will generate your Dovecot certificates for you using the data configured in the dovecot-openssl.cnf file. You can use the locate command to find both files.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# locate mkcert.sh
/usr/libexec/dovecot/mkcert.sh
[root@bigboy tmp]# locate dovecot-openssl.cnf
/etc/pki/dovecot/dovecot-openssl.cnf
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Though the contents of the dovecot-openssl.cnf file will be sufficient to genterate the SSL certificates, you may want to customize it to meet the needs of your organization as seen here.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;# 
# File: dovecot-openssl.cnf
#

[ req_dn ]
# country (2 letter code)
C=US

# State or Province Name (full name)
ST=California

# Locality Name (eg. city)
L=San Francisco

# Organization (eg. company)
O=My-Site Inc

# Organizational Unit Name (eg. section)
OU=My-Site IT Department

# Common Name (*.example.com is also possible)
CN=mail.my-site.com

# E-mail contact
emailAddress=postmaster@my-site.com
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The next step is to tun the mkcert.sh script and make sure the keys are in the right location.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# /usr/libexec/dovecot/mkcert.sh
Generating a 1024 bit RSA private key
...........++++++
......................++++++
writing new private key to '/etc/pki/dovecot/private/dovecot.pem'
-----

subject= /OU=My-Site IT Department/CN=mail.my-site.com/emailAddress=postmaster@my-site.com
SHA1 Fingerprint=A0:F9:95:1B:90:21:B9:B2:45:5B:CC:DF:20:2C:9E:25:74:69:F1:DD
[root@bigboy tmp]# 
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Now that your certificates have been created you should be ready to start serving secure email to your users.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Dovecot uses its own certificates and the method described here shows you how to create your own. If you are part of an enterprise with its own domain, you should invest in getting your SSL certificates created by an official certificate authority like Verisign. All email clients recognize organizations like these and will operate using POPS and IMAPS without displaying an error message stating that the certificate comes from an untrusted source.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;For additional security you can install a separate certificate on all the client computers and configure Dovecot to only interact with clients these known credentials. How do this is beyond the scope of this book, but should be investigated to reduce your security risk.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Dovecot_Mailboxes"&gt;Dovecot Mailboxes&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Though sendmail sends your email to a local user account, Linux may store the content of the mail in one of many formats. Two common methods are mbox and maildir.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Dovecot uses the mail_location directive to define the type of mail format and the location of its files. This directive may be found in either your dovecot.conf file or one of its daughter configuration files in the /etc/dovecot/conf.d directory. It may also be commented out.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Verify that these directives are listed in your Dovecot configuration file tree. This can be done with a simple recursive grep command which searches /etc/dovecot and its subdirectories for files with the string mail_location in them. In this case the statements are found in the 10-mail.conf file in the /etc/dovecot/conf.d directory.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# grep -ir mail_location /etc/dovecot
/etc/dovecot/conf.d/10-mail.conf:#   mail_location = maildir:~/Maildir
/etc/dovecot/conf.d/10-mail.conf:#   mail_location = mbox:~/mail:INBOX=/var/mail/%u
/etc/dovecot/conf.d/10-mail.conf:#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
/etc/dovecot/conf.d/10-mail.conf:#mail_location = 
/etc/dovecot/conf.d/10-mail.conf:#mail_location = mbox:~/mail:INBOX=/var/mail/%u
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you look closely, you will notice that the references are all commented out. The following sections will show you how to determine which method to use. If you select the incorrect method, then you won’t be able to download your mail, because Dovecot will be looking for it in the wrong location!&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Dovecot_for_mbox"&gt;Configuring Dovecot for mbox&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Mbox mail is stored in the directory /var/mail. Each user is assigned a single file that contains all their mail and the filename is the same as Linux username. If there are files in /var/mail, as seen below, you are most likely using the mbox method.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# ls /var/mail/
user1 user2 user3 user4 user5 user6 user7 user8 user9 
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The configuration for mbox requires the addition of this line to your dovecot.conf file, or as in our case, uncommenting a similar line from the 10-mail.conf file. Either method will work.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;mail_location = mbox:~/mail:INBOX=/var/mail/%u
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to restart Dovecot for this setting to be activated.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Now it is time to take a look at the maildir method.&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Dovecot_for_maildir"&gt;Configuring Dovecot for maildir&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Maildir mails are almost always stored in a ~/Maildir/ directory in the users’ home directory. Unlike the mbox method, with maildir each mail is stored in a separate file.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;To configure Dovecot for your maildir mail, use this directive:&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;mail_location = maildir:~/Maildir
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;Remember to restart Dovecot for this setting to be activated.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;You are done! That was easy.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Different distributions of Linux use differing methods of storing email. If neither mbox or maildir seems to be the method your system is using then check the Dovecot website at dovecot.org for further details.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Configuring_Your_Mail_Clients"&gt;Configuring Your Mail Clients&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;By default your POP / IMAP e-mail accounts will be the regular Linux user accounts in which sendmail has deposited mail. You can now configure your e-mail client to use your use your new mail server quite easily. For example to configure POPS Mail, set your POPS mail server in the client program to be the IP address of your Linux mail server. Use your Linux user username and password when prompted.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you are using a self signed SSL certificate, your mail client will give a warning an ask whether the certificate should be accepted. You will have to say “yes’.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Next, set your SMTP mail server to be the IP address/domain name of your Linux mail server.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="How_to_handle_overlapping_email_addresses."&gt;How to handle overlapping email addresses.&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;If you have user overlap, such as John Smith (john@my-site.com) and John Brown (john@another-site.com), both users will get sent to the Linux user account john by default. You have two options for a solution:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;Make the user part of the email address different, john1@my-site.com and john2@another-site.com for example, and create Linux accounts john1 and john2. If the users insist on overlapping names, then you may need to modify your virtusertable file.&lt;/li&gt;
&lt;li style="margin-bottom: 0.1em;"&gt;Create the user accounts john1 and john2 and point virtusertable entries for john@my-site.com to account john1 and point john@another-site.com entries to account john2. The POP configuration in Outlook Express for each user should retrieve their mail via POP using john1 and john2, respectively.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;With this trick you'll be able to handle many users belonging to multiple domains without many address overlap problems.&lt;/div&gt;&lt;h2 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(170, 170, 170); border-bottom-style: solid; border-bottom-width: 1px; color: teal; font-size: 19px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Troubleshooting_Dovecot_Mail"&gt;Troubleshooting Dovecot Mail&lt;/span&gt;&lt;/h2&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The very first troubleshooting step is to determine whether your server is accessible on the correct TCP ports. For example, with POP use TCP port 110 or for POPS use port of 995. Lack of connectivity could be caused by a firewall with incorrect permit, NAT, or port forwarding rules to your server. Test this from both inside your network and from the Internet. (Troubleshooting TCP with TELNET is covered in Chapter 4, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch04_:_Simple_Network_Troubleshooting" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch04 : Simple Network Troubleshooting"&gt;Simple Network Troubleshooting&lt;/a&gt;")&lt;/div&gt;&lt;h3 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; color: black; font-size: 17px; font-weight: bold; margin-bottom: 0.3em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Always_Start_with_Logging"&gt;Always Start with Logging&lt;/span&gt;&lt;/h3&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Whenever you are in doubt turn on Dovecot’s debugging features to reveal more about what is happening. In more recent versions of Dovecot, the logging sections in dovecot.conf have been moved to a logging configuration file in the /etc/dovecot/conf.d directory. In this example the file is named 10-logging.conf.&lt;/div&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;[root@bigboy tmp]# ls /etc/dovecot/conf.d/*log*
/etc/dovecot/conf.d/10-logging.conf
[root@bigboy tmp]#
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;The file has many sections that allow you to turn on very verbose debugging level messages for authentication, SSL, and general messaging. It is an invaluable source of troubleshooting information. Dovecot logs to the /var/log/maillog file. For details on setting up Linux logging refer to Chapter 5, "Troubleshooting with syslog." Here are some good examples:&lt;/div&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;In this case the Maildir mail_location method was incorrectly chosen and the expected mail files were not found&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Dec  5 20:49:47 bigboy dovecot: pop3(mail-user1): Debug: maildir: access(/home/users/mail-user1/Maildir, rwx): failed: No such file or directory
Dec  5 20:49:47 bigboy dovecot: pop3(mail-user1): Debug: maildir: couldn't find root dir
&lt;/pre&gt;&lt;ul style="line-height: 1.5em; list-style-image: url(http://www.linuxhomenetworking.com/wiki/skins/monobook/bullet.gif.pagespeed.ce.EZBwoVAkQ6.gif); list-style-type: square; margin-bottom: 0px; margin-left: 1.5em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 0.1em;"&gt;In this case Dovecot’s autodetection method failed to determine the correct mail_location. The directive had to be manually added.&lt;/li&gt;
&lt;/ul&gt;&lt;pre style="background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;Dec  5 09:10:26 bigboy dovecot: pop3(mail-user2): Error: user lhn-mail: Initialization failed: mail_location not set and autodetection failed: Mail storage autodetection failed with home=/home/users/mail-user2
&lt;/pre&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;Whenever there is any doubt, look for the error message in the log file, try to understand what it means and what could be done to fix the problem. Remember, finding help for your problem on the Internet will be much easier if you search for key parts of your log message.&lt;/div&gt;&lt;h1 style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(4, 132, 68); border-bottom-style: solid; border-bottom-width: 2px; color: green; font-size: 24px; font-weight: normal; margin-bottom: 0.6em; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.17em; padding-top: 0.5em;"&gt;&lt;span class="mw-headline" id="Conclusion"&gt;Conclusion&lt;/span&gt;&lt;/h1&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;E-mail is an important part of any Web site, and you need to plan its configuration carefully to make it a seamless part of the Web experience of your visitors. Without it, your Web site won't seem complete.&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.4em;"&gt;A fully functioning Web site is just the beginning. It needs to be maintained to reduce the risk of failure and monitored to help detect potential problems. Chapter 22, "&lt;a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch22_:_Monitoring_Server_Performance" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: initial; background-image: none; background-position: initial initial; background-repeat: initial; color: #002bb8; text-decoration: underline;" title="Quick HOWTO : Ch22 : Monitoring Server Performance"&gt;&amp;nbsp;Monitoring Server Performance&lt;/a&gt;", discusses many Linux-based tools that you can be use to track the health of your Linux server.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-160208685984921547?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/160208685984921547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/configuring-linux-mail-servers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/160208685984921547?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/160208685984921547?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/configuring-linux-mail-servers.html' title='Configuring Linux Mail Servers'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkINQHgyfSp7ImA9WhdVFEg.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-7941382777030639100</id><published>2011-09-19T09:43:00.000-07:00</published><updated>2011-09-19T09:43:11.695-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-19T09:43:11.695-07:00</app:edited><title>Creating a Linux Mail Server  (Postfix, Procmail, Fetchmail, SpamBayes, Courier-imap, Mutt, SquirrelMail)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;What this Document is About&lt;/h3&gt;This document covers how I have set up my Linux box to work as a Mail Server. The details will be specific to&amp;nbsp;&lt;a class="content_whitebg" href="http://www.archlinux.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Arch Linux&lt;/a&gt;, but it will be be general enough for any *nix distribution if you have a knowledge of installing software packages, finding the location of configuration files, and starting/stoping services..&lt;br /&gt;
My goals in creating this mail system are to have all of my mail, from various email accounts, stored locally on my machine so I can access it anytime via SSH, the web, or imap. I wanted all of my mail delivered to my local user account and I wanted the spam to be sucked out and launched into space.&lt;br /&gt;
The backbone of the mail system is the Mail Transport Agent (MTA). It will handle receiving mail addressed directly to your machine, sending it to the correct users mail box, and sending mail out from the machine. I determined Postfix to be the best choice for my MTA and after some reading found Procmail for sorting mail, SpamBayes for detecting spam, and Fetchmail for grabbing mail from my pop mailboxes.&lt;br /&gt;
Bellow is a flow diagram for mail moving through the system:&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a class="content_whitebg" href="http://www.hypexr.org/gfx/mail_system_flow.png" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;&lt;img border="0" src="http://www.hypexr.org/gfx/mail_system_flow_tn.png" /&gt;&lt;/a&gt;&lt;/div&gt;The SpamAssassin and sa-learn can be ignored. I will describe how to use it with SpamBayes since I was not happy with Spam Assassin's performance and had made the diagram when I was still using it.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="software"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Software Used&lt;/h3&gt;&lt;ul type="disk"&gt;&lt;li&gt;&lt;a class="content_whitebg" href="http://www.archlinux.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Arch Linux&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.postfix.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Postfix 2.1.5&lt;/a&gt;&lt;ul&gt;Secure, fast, easy to administer drop in replacement for Sendmail. (MTA) Provides smtp-server.
(Requires sasl installed and support for sasl compiled into Postfix if sending mail through an intermediary as you may need to do if you have a domain name pointing to a dynamic IP address.)&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://asg.web.cmu.edu/sasl/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Cyrus SASL 2.1.21&lt;/a&gt;&lt;ul&gt;SASL authentication daemon.&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.procmail.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Procmail 3.22&lt;/a&gt;&lt;ul&gt;Highly configurable auto mail processing.&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.catb.org/~esr/fetchmail/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Fetchmail 6.25&lt;/a&gt;&lt;ul&gt;A remote-mail retrieval utility.&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://spambayes.sourceforge.net/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;SpamBayes 1.1a1&lt;/a&gt;&lt;ul&gt;a Bayesian anti-spam filter, initially based on the work of Paul Graham. The major difference between this and other, similar projects is the emphasis on testing newer approaches to scoring messages.&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.mutt.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Mutt 1.4.2.1&lt;/a&gt;&lt;ul&gt;A small but very powerful text-based mail client&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.courier-mta.org/imap/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Courier-imap 4.0.4&lt;/a&gt;&lt;ul&gt;IMAP / POP3 Server&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.courier-mta.org/authlib/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Courier-authlib 0.57&lt;/a&gt;&lt;ul&gt;Authentication library for the courier mailserver.&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://www.squirrelmail.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;SquirrelMail cvs 1.5.1&lt;/a&gt;&lt;ul&gt;For checking mail via the web.
(requires imap-server, perl, and php)&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="content_whitebg" href="http://popbsmtp.sourceforge.net/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Pop-before-smtp 1.38&lt;/a&gt;&lt;ul&gt;A simple daemon written in Perl, to allow email relay control based on successful POP or IMAP logins.&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;a href="" name="install"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Installing the Software&lt;/h3&gt;&lt;ul&gt;&lt;a href="" name="postfix_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing Postfix&lt;/h4&gt;&lt;b&gt;A note for those with dynamic IP addresses:&lt;/b&gt;&amp;nbsp;Before installing Postfix we must first consider if it will need to make use of Simple Authentication and Security Layer (SASL). If you have a dynamic IP address and are using a service like&amp;nbsp;&lt;a class="content_whitebg" href="http://www.dyndns.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;dyndns.org&lt;/a&gt;&amp;nbsp;you will need to have Postfix send your mail through your ISP's mail server (with authentication) making use of SASL for the connection. This is because many domains that you will send email to will recognize your hostname as pointing to a dynamic IP address and send the mail back. Check if your distributions Postfix package was built with SASL support or if you are compiling Postfix from scratch add SASL with a ./configure option.
If you've determined you do not need SASL support in postfix:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -Sy postfix&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;If you do need SASL support we need to install cyrus-sasl and use the&amp;nbsp;&lt;a class="content_whitebg" href="http://wiki2.archlinux.org/index.php/ABS%20-%20the%20Arch%20Build%20System" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Arch Build System (abs)&lt;/a&gt;&amp;nbsp;utility for building Postfix. Follow the instructions bellow or follow these Arch Wiki instructions:&amp;nbsp;&lt;a class="content_whitebg" href="http://wiki.archlinux.org/index.php/PostFix_Howto_With_SASL" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;http://wiki.archlinux.org/index.php/PostFix_Howto_With_SASL&lt;/a&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -Sy cyrus-sasl&lt;br /&gt;
$ abs&lt;br /&gt;
$ cd /var/abs&lt;br /&gt;
$ mkdir -p local/postfix&lt;br /&gt;
$ cp -v extra/daemons/postfix/* local/postfix&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Now edit /var/abs/local/postfix/PKGBUILD. Under the build() section change:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;make OPT="${CFLAGS}" || return 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;to:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;make OPT="${CFLAGS}" \
CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl/" \
AUXLIBS="-L/usr/lib/sasl2 -lsasl2" || return 1&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Now run:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ makepkg&lt;br /&gt;
$ pacman -A postfix-*.pkg.tar.gz&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;I like to then copy the package into a directory under /var/lib/pacman so I have access to all of my abs built packages later:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ mkdir /var/lib/pacman/abs_built&lt;br /&gt;
$ cp postfix-*.pkg.tar.gz /var/lib/pacman/abs_built&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="fetchmail_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing Fetchmail&lt;/h4&gt;&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -S fetchmail&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="procmail_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing Procmail&lt;/h4&gt;&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -S procmail&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="spambayes_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing SpamBayes&lt;/h4&gt;SpamBayes is not yet in the pacman repository. Download it, extract, and install (substitute version numbers with most current):
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px; width: 350px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;$ wget http://dl.sourceforge.net/sourceforge\
/spambayes/spambayes-1.1a1.tar.gz
$ tar zxvf spambayes-1.1a1.tar.gz
$ cd spambayes-1.1a1
$ python setup.py install&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="mutt_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing Mutt&lt;/h4&gt;&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -S mutt&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="courier_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing courier-imap and courier-authlib&lt;/h4&gt;SquirrelMail as well as other mail clients (evolution, outlook, cell phone, etc.) will use this to connect to the mail box. Courier-imap also depends on courier-authlib, so this command will install that as well.
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -S courier-imap&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="squirrelmail_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing SquirrelMail&lt;/h4&gt;&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ pacman -S squirrelmail&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="popbs_install"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Installing pop-before-smtp&lt;/h4&gt;You are going to want to consider using&amp;nbsp;&lt;a class="content_whitebg" href="http://www.aet.tu-cottbus.de/personen/jaenicke/pfixtls/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Postfix/TLS&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a class="content_whitebg" href="http://popbsmtp.sourceforge.net/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;pop-before-smtp&lt;/a&gt;&amp;nbsp;if you are interested in users connected via IMAP being able to send mail (using your mail server as a SMTP relay). I recommend using Postfix/TLS but will not cover how to install/configure it in this document.
Pop-before-smtp is not in pacman repositories. Substitute version numbers with the most current.
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ wget http://dl.sourceforge.net/sourceforge/popbsmtp/pop-before-smtp-1.38.tar.gz&lt;br /&gt;
$ tar zxvf pop-before-smtp-*.tar.gz&lt;br /&gt;
$ cd pop-before-smtp-*&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Read the README in this directory and then read README.QUICKSTART in the contrib directory for where to copy the necessary files to.&lt;/ul&gt;&lt;br /&gt;
&lt;a href="" name="postfix"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Postfix Configuration&lt;/h3&gt;&lt;a href="" name="main.cf"&gt;&lt;/a&gt;&lt;ul&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;main.cf&lt;/h4&gt;Now change to the&amp;nbsp;&lt;b&gt;'/etc/postfix'&lt;/b&gt;&amp;nbsp;directory and open up main.cf for editing.
The domain name for my machine is through dyndns.org. Set your myhostname and my domain to something like this:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;myhostname = example.com mydomain = example.com&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Next we are going to want to set Postfix up for using qmail-style delivery with Maildir (where each email is stored in its own file). This is for courier-imap which SquirrelMail will be using to access the mail and will have other advantages. Don't forget the ending forward slash.
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;home_mailbox = Maildir/&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Set it up so that incoming mail is sent through procmail and so we can alias names/users to mailboxes.
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;mailbox_command = /usr/bin/procmail -a "$DOMAIN"&lt;br /&gt;
&lt;br /&gt;
alias_maps = hash:/etc/postfix/aliases&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;If you have a dynamic IP or have trouble with mail being returned from large ISP's or mail systems you are going to have to take a few extra steps. We will set it up so that mail will go through a relay host. In this example I will use my ISP's (SBC) smtp server as an example. Make these additional changes to main.cf
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;relayhost = [smtp.sbcglobal.yahoo.com]&lt;br /&gt;
&lt;br /&gt;
# authentication for sbc yahoo&lt;br /&gt;
smtp_sasl_auth_enable = yes&lt;br /&gt;
smtp_sasl_security_options = noanonymous&lt;br /&gt;
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;/ul&gt;That wraps up our changes to main.cf. We just need to create the hash aliases databases that we defined above. Add these lines to the top of&amp;nbsp;&lt;b&gt;/etc/postfix/aliases&lt;/b&gt;&amp;nbsp;(replacing hypexr with your user account of course):&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;root: hypexr

spam: hypexr
ham:  hypexr&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Generate the database. From&amp;nbsp;&lt;b&gt;/etc/postfix&lt;/b&gt;&amp;nbsp;dir:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ postalias aliases&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Set up smtp server and authentication for SBC mail relay.&amp;nbsp;&lt;b&gt;sasl_passwd&lt;/b&gt;:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;smtp.sbc.mail.yahoo4.akadns.net    my_username@sbcglobal.net:my_passw&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;b&gt;&lt;i&gt;Note:&lt;/i&gt;&amp;nbsp;&lt;/b&gt;Server name can change from time to time. There is a CNAME that points to this name but CNAMEs do not work here.&lt;br /&gt;
Generate the database:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ ./postmap sasl_passwd&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Start the postfix server and we are done with postfix!!!!&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ /etc/rc.d/postfix start&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Having problems getting it to start? Check out the Postfix log file usually in&amp;nbsp;&lt;b&gt;/var/log/mail&lt;/b&gt;&amp;nbsp;or&amp;nbsp;&lt;b&gt;/var/log/maillog&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="fetchmail"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Fetchmail Configuration&lt;/h3&gt;We are going to run our fetchmail daemon from user root. So create the file&amp;nbsp;&lt;b&gt;/root/.fetchmailrc&lt;/b&gt;:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;set postmaster "postmaster"&lt;br /&gt;
set bouncemail&lt;br /&gt;
set no spambounce&lt;br /&gt;
set properties ""&lt;br /&gt;
set daemon 60&lt;br /&gt;
poll pop.example.com with proto POP3&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;user 'user_name' there with password 'my_password' is 'local_user_to_deliver_to' here options flush&lt;br /&gt;
poll pop.gmail.com with proto POP3 port 995&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;user 'my_gmail_un@gmail.com' there with ssl with password 'my_password' is 'hypexr' here options keep&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;This tells fetchmail to check every minute for mail at pop.mypop.com and also at my gmail account. The flush option at the end of the mypop entry tells it to remove the mail after it is downloaded. I do not want the mail removed from my Gmail account so I use the keep option. Google also uses ssl, hence the "with ssl". Fetchmail comes with its configuration utility&amp;nbsp;&lt;b&gt;fetchmailconf&lt;/b&gt;&amp;nbsp;which makes setting up your .fetchmailrc file easy.&lt;br /&gt;
I don't believe that Arch Linux has a rc script for fetchmail. The one that I made (/etc/rc.d/fetchmail) looks like this (stat_busy, stat_fail, stat_done are specific to Arch Linux. You could take these out):&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;#!/bin/sh

. /etc/rc.conf
. /etc/rc.d/functions

DAEMON_NAME="fetchmail"
DAEMON_CONF="/root/.fetchmailrc"
DAEMON_PATH="/usr/bin/fetchmail"

PID=`pidof -o %PPID ${DAEMON_NAME}`

case "$1" in
start)
   stat_busy "Starting ${DAEMON_NAME}"
   [ -z "$PID" ] &amp;amp;&amp;amp; ${DAEMON_PATH} -f ${DAEMON_CONF} -d 60 &amp;amp;&amp;gt; /dev/null
   if [ $? -gt 0 ]; then
      stat_fail
   else
      add_daemon ${DAEMON_NAME}
      stat_done
   fi
   ;;
stop)
   stat_busy "Stopping ${DAEMON_NAME}"
   [ ! -z "$PID" ]  &amp;amp;&amp;amp; kill "$PID" &amp;amp;&amp;gt; /dev/null
   if [ $? -gt 0 ]; then
      stat_fail
   else
      rm_daemon ${DAEMON_NAME}
      stat_done
   fi
   ;;
restart)
   # calling 'stop' and 'start' without the $0 fails...
   $0 stop
   sleep 3
   $0 start
   ;;
*)
   echo "usage: $0 {start|stop|restart}"
esac
exit 0&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;And start the fetchmail daemon:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ /etc/rc.d/fetchmail start&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Or if you don't want to create/modify an rc script you can start the fetchmail daemon like:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ /usr/bin/fetchmail -d 60&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;a href="" name="procmail"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Spambayes and Procmail Configuration&lt;/h3&gt;We are going to be using Spambayes to train and determine if mail is spam and Procmail to sort the mail into folders when they enter our mail system. These two go together as far as Procmail is going to use Spambayes to help sort the mail.&lt;br /&gt;
I had used&amp;nbsp;&lt;a class="content_whitebg" href="http://spamassassin.apache.org/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;SpamAssassin&lt;/a&gt;&amp;nbsp;for a year and had not been very happy with its performance. I have only been using Spambayes for a few weeks and have been pleasantly surprised by how well it has worked and how quickly it adapts. In fairness I had been training SpamAssassin on all of my spam, the spam it had caught and the spam it had missed as well. It was also an older version and I was not using all of the features. With that being said if you are curious give it a try. Many other excellent programs exist. A quick search on Google will turn them up.&lt;br /&gt;
When Spambayes is installed it is going to move several files that start with sb_ into your /usr/bin directory. We are going to be interested in sb_mboxtrain.py and sb_filter.py. The former trains the spam filter and the later classifies incoming spam. There are two methods I tried for the initial training:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Since I already had thousand of spam and ham (non spam) messages saved up I first tried initially training on this older mail. The results were okay but it was miss sorting mail. These problems would have sorted them selves out with the continued training of the misclassified mail but it would have also took a little while because the database had already been trained so much.&lt;/li&gt;
&lt;li&gt;The second method I used was extremely effective. I started out with no training on initial messages. I simply let Spambayes work with no information. I then sent the spam and ham messages that ended up in the wrong mailbox to a designated folder. I then run the Spambayes training program on these miss classified messages.&lt;/li&gt;
&lt;/ol&gt;The results from the second method have been amazing. Without even having to manually classify very many messages Spambayes has been performing at superior levels. Check out&amp;nbsp;&lt;a class="content_whitebg" href="http://www.entrian.com/sbwiki/TrainingIdeas" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Spambayes Wiki&lt;/a&gt;&amp;nbsp;for many other training methods. I will discuss easy methods of sorting miss classifications in the Mutt and Squirrel Mail sections.&lt;br /&gt;
&lt;ul&gt;&lt;a href="" name="sb_setup"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Spam System Initial Setup&lt;/h4&gt;We are going to want Maildir folders to hold our regular mail, mail classified as spam, mail classified as unsure, missed spam, and missed ham.
If the standard Maildir directory (~/Maildir) doesn't already exist lets create it with the necessary sub directories to make it a mail box. Run these commands from your user account who will be receiving the mail.
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ mkdir ~/Maildir&lt;br /&gt;
$ mkdir ~/Maildir/{new,cur,tmp}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;And now the other 4 directories that we are going to use for dealing with spam (Making the directories hidden is going to be done for integration with Squirrelmail):
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ mkdir ~/Maildir/{.MissedSpam,.MissedHam,.CaughtSpam,.Unsure}&lt;br /&gt;
$ mkdir ~/Maildir/.MissedSpam/{new,cur,tmp}&lt;br /&gt;
$ mkdir ~/Maildir/.MissedHam/{new,cur,tmp}&lt;br /&gt;
$ mkdir ~/Maildir/.CaughtSpam/{new,cur,tmp}&lt;br /&gt;
$ mkdir ~/Maildir/.Unsure/{new,cur,tmp}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;The messages that we are going to be training as spam are going to be in ~/Maildir/.MissedSpam and ham will be in ~/Maildir/.MissedHam. Lets create the script and cron job that will take care of training the Spambayes db. Create a file ~/Maildir/train_spambayes and add this:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;#!/bin/sh
# Script to copy mail missed spam and ham into correct folders
# and run sb_mboxtrain.py to train spambayes
# Training will be done only on missed spam and ham

# Files we saved or bounced may be in the new directory
# We want them in cur for training
mv /home/hypexr/Maildir/.MissedSpam/new/* \
 /home/hypexr/Maildir/.MissedSpam/cur 2&amp;gt;/dev/null
mv /home/hypexr/Maildir/.MissedHam/new/* \
 /home/hypexr/Maildir/.MissedHam/cur 2&amp;gt;/dev/null
/usr/bin/sb_mboxtrain.py -d /home/hypexr/.hammie.db \
 -g /home/hypexr/Maildir/.MissedHam \
 -s /home/hypexr/Maildir/.MissedSpam&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Make the script executable:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ chmod +x ~/Maildir/train_spambayes&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Set up our database that will be consulted for new email and trained on new spam/ham:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ /usr/bin/sb_filter.py -d $HOME/.hammie.db -n&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;You will want cron installed so that it can launch the script above, which trains Spambayes, every night at 3:21 am. Edit your cron jobs with the command&amp;nbsp;&lt;b&gt;crontab -e&lt;/b&gt;&amp;nbsp;and add:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;21 3 * * * ~/Maildir/train_spambayes&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="sb_proc"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;Procmail Configuration for Spambayes&lt;/h4&gt;These are basic procmail recipes that will sort the spam from ham. From&amp;nbsp;&lt;a class="content_whitebg" href="http://spambayes.sourceforge.net/unix.html" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Spambayes on Unix or Linux&lt;/a&gt;. Add these lines to your mail recipient's ~/.procmailrc:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;SHELL=/bin/sh
MAILDIR=$HOME/Maildir
DEFAULT=$HOME/Maildir/
CAUGHT_SPAM=$MAILDIR/CaughtSpam/
UNSURE=$MAILDIR/Unsure/
  
#Spambayes process
:0fw:hamlock
| /usr/bin/sb_filter.py -d /home/hypexr/.hammie.db

:0
* ^X-Spambayes-Classification: spam
${CAUGHT_SPAM}

:0
* ^X-Spambayes-Classification: unsure
${UNSURE}

# Catches everything else.
# Anything left over goes into the DEFAULT folder
:0:
${DEFAULT}&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;So incoming mail is not filtered through procmail's rules where Spambayes's sb_filter decides whether it is spam or ham. The mail is now sitting in the correct directories and ready to be accessed by whatever reader/front-end you would like. Next I going to describe setting up Mutt and SquirrelMail for viewing your mail. Mutt will be the most powerful option combining speed and sleekness but SquirrelMail will be able to match functionality.&lt;/ul&gt;&lt;br /&gt;
&lt;a href="" name="mutt"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Mutt Configuration&lt;/h3&gt;First we need to set the MAIL variable so that Mutt will know where to look for your mail. In your ~/.bashrc (create if does not exist) add the line:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;MAIL='~/Maildir'&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Exit out of your shell and log back in so that the variable will be set or run&amp;nbsp;&lt;b&gt;export MAIL='~/Maildir'&lt;/b&gt;. On some systems mutt will not use&lt;b&gt;$MAIL&lt;/b&gt;&amp;nbsp;to determine the location of your mail box. When trying to start mutt if it reports a message that no mail directory exists you can try setting the&amp;nbsp;&lt;b&gt;MAILDIR&lt;/b&gt;&amp;nbsp;variable or just create the directory that it wants to use and make it a valid Maildir:&amp;nbsp;&lt;b&gt;mkdir -p ~/.maildir/{cur,new,tmp}&lt;/b&gt;where .maildir is the folder that mutt wants to use. If you use a directory other than&amp;nbsp;&lt;b&gt;~/Maildir&lt;/b&gt;&amp;nbsp;remember to substitute that wherever I reference Maildir in this document.&lt;br /&gt;
Now for the fun part. Lets make everything look pretty and integrated in Mutt. If you start up Mutt right now you will see any mail that your system has received since you have completed the steps above. If no mail shows up in Mutt and there should be mail you need to first check if Spambayes has filtered it into your&amp;nbsp;&lt;b&gt;.Unsure&lt;/b&gt;&amp;nbsp;or&amp;nbsp;&lt;b&gt;.CaughtSpam&lt;/b&gt;&amp;nbsp;directories. Type '&lt;b&gt;c&lt;/b&gt;' to change directories and enter&amp;nbsp;&lt;b&gt;~/Maildir/Unsure&lt;/b&gt;and check out the mail thats been classified as spam: '&lt;b&gt;c&lt;/b&gt;'&amp;nbsp;&lt;b&gt;~/Maildir/CaughtSpam&lt;/b&gt;. If you still have not found the mail that you are expecting to have received make sure that you have configured Postfix, Fetchmail, and Procmail correctly. Also, try sending mail directly to your_user_accunt@example.com and see if it shows up in one of the directories above.&lt;br /&gt;
&lt;br /&gt;
Now mail is flowing into your system and we can check how Spambayes has classified it by checking the different mail folders. The miss classified mail just needs to be moved into the correct folders for the training.&lt;br /&gt;
To manually move the misclassified spam mail:&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;From you Maildir inbox tag each message that has arrived that is spam. Do this by pressing '&lt;b&gt;t&lt;/b&gt;' and an asterisk will appear by the messages. After all of the messages have been tagged, press '&lt;b&gt;; m&lt;/b&gt;' and enter&amp;nbsp;&lt;b&gt;~/Maildir/MissedSpam&lt;/b&gt;&amp;nbsp;and the spam messages in your inbox will be moved to the MissedSpam mailbox for training by spambayes.&lt;/li&gt;
&lt;li&gt;When looking at the mail that it has classified as spam in '~/Maildir/CaughtSpam', tag all of the messages it considered spam that were ham and press '&lt;b&gt;; C&lt;/b&gt;' and enter&amp;nbsp;&lt;b&gt;~/Maildir/MissedHam&lt;/b&gt;. Now tag them again and press '&lt;b&gt;; m&lt;/b&gt;' and enter&amp;nbsp;&lt;b&gt;~/Maildir&lt;/b&gt;&amp;nbsp;to move them into your inbox, where they should have been placed in the first place.&lt;/li&gt;
&lt;/ol&gt;Of course all of this manual stuff is a huge pain so lets automate all of it in&amp;nbsp;&lt;b&gt;&lt;a class="content_whitebg" href="http://www.hypexr.org/files/.muttrc" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;.muttrc&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;ul&gt;&lt;a href="" name="muttrc"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;.muttrc Configuration&lt;/h4&gt;This&amp;nbsp;&lt;a class="content_whitebg" href="http://www.hypexr.org/files/.muttrc" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;.muttrc&lt;/a&gt;&amp;nbsp;file is going to save you a quazillion.. thats right a quiazalliona hours in productivity in dealing with our current setup. Here it is:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;# Emacs is my editor of choice.  I have mostly read that people like
#  using emacs-client here and using an emacs server so that the
#  editing opens up in an existing emacs session but I prefer
#  loading up a fresh instance. The default editor is some 'vi'
set editor="emacs"

# Setting these macros is going to save us all of that time I was
#  talking about.  Now instead of having to type all of those
#  characters to move the mail around we will can just tag the messages
#  and, for the instance of spam in your inbox, hit 'S'.
  
# Move mail to correct directories
macro   index   S       ";s~/Maildir/.MissedSpam\r\r$\r"
macro   pager   S       ";s~/Maildir/.MissedSpam\r\r$\r"
macro   index   H       ";C~/Maildir/.MissedHam\r\r;s~/Maildir\r\r$\r"
macro   pager   H       ";C~/Maildir/.MissedHam\r\r;s~/Maildir\r\r$\r"
macro   index   M       ";s~/Maildir/\r"
macro   pager   M       ";s~/Maildir/\r"

# This one lets me quickly move job search related emails to the
#  correct directory.  Want to give me a job? :)
macro   index   B       ";s~/Maildir/.Job\r\r$\r"
macro   pager   B       ";s~/Maildir/.Job\r\r$\r
  
# This is how we are going to move around to the different
#  mailboxes.  Hitting 'alt-1' will take us to our inbox
#  'alt-2' and we are looking at the mail Spambayes classified
#  as spam.  etc.
#  The extra mailboxes I have in here are for mailing lists I am on.
#  I will show the procmail recipe that automatically puts
#  the mailing list mail into its correct mailbox further down.
  
# Move to mailboxes quickly
macro   index   &amp;lt;Esc&amp;gt;1  "c~/Maildir\r"
macro   pager   &amp;lt;Esc&amp;gt;1  "c~/Maildir\r"
macro   index   &amp;lt;Esc&amp;gt;2  "c~/Maildir/.CaughtSpam\r"
macro   pager   &amp;lt;Esc&amp;gt;2  "c~/Maildir/.CaughtSpam\r"
macro   index   &amp;lt;Esc&amp;gt;3  "c~/Maildir/.Unsure\r"
macro   pager   &amp;lt;Esc&amp;gt;3  "c~/Maildir/.Unsure\r"
macro   index   &amp;lt;Esc&amp;gt;4  "c~/Maildir/.Tur\r"
macro   pager   &amp;lt;Esc&amp;gt;4  "c~/Maildir/.Tur\r"
macro   index   &amp;lt;Esc&amp;gt;5  "c~/Maildir/.Sbayes\r"
macro   pager   &amp;lt;Esc&amp;gt;5  "c~/Maildir/.Sbayes\r"
macro   index   &amp;lt;Esc&amp;gt;6  "c~/Maildir/.Wikka\r"
macro   pager   &amp;lt;Esc&amp;gt;6  "c~/Maildir/.Wikka\r"
# Training Maildirs for Spam and Ham
macro   index   &amp;lt;Esc&amp;gt;8  "c~/Maildir/.MissedSpam\r"
macro   pager   &amp;lt;Esc&amp;gt;8  "c~/Maildir/.MissedSpam\r"
macro   index   &amp;lt;Esc&amp;gt;9  "c~/Maildir/.MissedHam\r"
macro   pager   &amp;lt;Esc&amp;gt;9  "c~/Maildir/.MissedHam\r"
# Job E-mails
macro   index   &amp;lt;Esc&amp;gt;0  "c~/Maildir/.Job\r"
macro   pager   &amp;lt;Esc&amp;gt;0  "c~/Maildir/.Job\r"

# Setting these colors makes it easy to tell which emails
#  Spambayes has missed.
# Turn spam red and unsure green
color index red default "~h '^X-Spambayes-Classification: spam'"
color index green default "~h '^X-Spambayes-Classification: unsure'"
# Turn gmail mail brightblue
#  (My regular expression is not correct here.  I think that it
#   is looking anywhere in the header for my gmail address
#   instead of what I wanted..  Just in the 'To:'.
#   It still works for the most part)
color index brightblue default "~h '(^)*my_name@gmail.com'

# Lets set more colors to make things look beautiful.  Judging by
#  my title for this section I must have had bad feelings towards
#  colors when I added this.
#Color crap
color index brightwhite default ~N       # color for new messages
color status black yellow
color attachment brightyellow default    # file attachments
color search brightred default           # search matches
color quoted brightyellow default        # quoted text in replies
color quoted1 magenta default            # quoted text in replies
color body cyan default "((ftp|http|https)://|news:)[^ &amp;gt;)\"\t]+"   # URLs
color body cyan default "[-a-z_0-9.+]+@[-a-z_0-9.]+"               # email

# The rest of this stuff is pretty important for functionality and
#  readability.

# Don't ask to move read message
set move=no

# My signature is in this file
set signature="~/.signature"

# Change mail to look like from scott@hypexr.org
#  Stick your email address here.
my_hdr From: Scott Rippee &amp;lt;scott@hypexr.org&amp;gt;

# Header control   h displays header when in pager
# I want to only see the unignored by default
ignore *                                        # weed out all headers
unignored date from: to cc subject organization  # now show me these...

# Thanks to many people whom have written the documents and posts that I
#  have gotten these settings from.&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;&lt;a href="" name="mutt_commands"&gt;&lt;/a&gt;&lt;h4 style="font-family: helvetica, sans-serif, serif; font-size: 12px; font-variant: normal; font-weight: bold; line-height: 14px;"&gt;New Mutt Commands&lt;/h4&gt;Here are the most useful (as far as dealing with spam) commands that we can now use in mutt:
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;t       Tag messages to be manipulated
S       Send message/s to spam training folder
H       Send message/s to ham training folder and to inbox
alt-1   Change mailbox to Maildir/ (inbox)
alt-2   Change mailbox to .CaughtSpam
alt-3   Change mailbox to .Unsure
alt-8   Change mailbox to .MissedSpam
alt-9   Change mailbox to .MissedHam&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;So for example, if a couple of spam messages show up in your inbox you can now tag them and hit '&lt;b&gt;S&lt;/b&gt;' (remember its uppercase s) and have them vanished into .MissedSpam for training.&lt;/ul&gt;&lt;br /&gt;
&lt;a href="" name="squirrel"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;SquirrelMail Configuration&lt;/h3&gt;To configure SquirrelMail go into your&amp;nbsp;&lt;b&gt;html_base_directory/squirrelmail/config&lt;/b&gt;&amp;nbsp;and run&amp;nbsp;&lt;b&gt;./conf.pl&lt;/b&gt;. Edit the options to fit your needs. If you want to test your config cruise over to&amp;nbsp;&lt;b&gt;http://localhost/squirrelmail/src/configtest.php&lt;/b&gt;.&lt;br /&gt;
Now go to&amp;nbsp;&lt;b&gt;http://localhost/squirrelmail/&lt;/b&gt;&amp;nbsp;and login using your user account. If you have any email in your in box you should see it after you log in. Now click on the&amp;nbsp;&lt;b&gt;Folders&lt;/b&gt;&amp;nbsp;option that is along the top, select all of the mailbox folders that we created earlier (they are listed here because we prefixed them with a period), and click on subscribe. Hit refresh and the mailboxes should be listed in the side panel. Now you can use SquirrelMail for almost all of you mail needs including tagging messages and moving them to the correct folders for Spambayes training and checking on the mail that Spambayes has classified as spam and unsure. The only functionality from our mutt setup that can't be duplicated in SquirrelMail is copying missed ham into its training folder and then moving it into your inbox. This is due to the lack of copying ability. So you will have to go into the ham training folder to see some of the mail that should be in your inbox.&lt;br /&gt;
&lt;b&gt;&lt;i&gt;!!! IMPORTANT SECURITY NOTE!!! -&amp;nbsp;&lt;/i&gt;&lt;/b&gt;Using SquirrelMail like this is not secure! Sending the plain text passwords that you use for your Unix account can be accessed by by a 3rd party, which would them access to your account. You should set up a secure server with SSL and have Courier-imap use passwords that differ from the users system password using Courier Authlib, which I will demonstrate in the next session. Excellent documents exist all over the net for setting up your web server with ssl.&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a class="content_whitebg" href="http://www.hypexr.org/gfx/sqmss.png" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;&lt;img border="0" src="http://www.hypexr.org/gfx/sqmss_tn.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a href="" name="courierauth"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Courier Authentication&lt;/h3&gt;Now is a good time to address a bit of essential security. As of now when a user connects via the SquirrelMail or IMAP interface the passwords are being sent in plain text and if these are sniffed that users system account is compromised. Without adding secure connections we can minimize the threat by using alternate passwords for imap connections. The snoop would then have access to your mail, but not be able to log in to the system.&lt;br /&gt;
Edit your&amp;nbsp;&lt;b&gt;authdaemonrc&lt;/b&gt;&amp;nbsp;file. If your on Arch Linux this will be in&amp;nbsp;&lt;b&gt;/etc/authlib&lt;/b&gt;. Under&amp;nbsp;&lt;b&gt;authmodulelist&lt;/b&gt;&amp;nbsp;I commented out:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;authmodulelist="authpam authpwd authuserdb authshadow ..."&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;And replaced it with:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;authmodulelist="authuserdb"&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;I believe that adding authuserdb to the front of the list may work, but I am only using this method of authentication so it is all I need in my list.&lt;br /&gt;
Lets create the user account entry:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;$ userdb "some_user_name" set home=/home/user_dir \
  mail=/home/user_dir/Maildir \
  uid=users_userid gid=users_groupid

$ userdbpw | userdb "some_user_name" set systempw&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;You will now be prompted for this pseudo users new password. Next make sure that&amp;nbsp;&lt;b&gt;/etc/authlib/userdb&lt;/b&gt;&amp;nbsp;has read/write/execute access for the owner. If not&amp;nbsp;&lt;b&gt;chmod 700 /usr/authlib/userdb&lt;/b&gt;. Now create the user database that courier is going to look to for authentication:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;$ makeuserdb&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Again look to using Postfix/TLS for a tunneling the connection through a secure connection.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="pop-before-smtp"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Pop-before-smtp Configuration&lt;/h3&gt;To successfully configure pop-before-smtp follow the straight forward instructions in contrib/README.QUICKINSTALL. When you are done and everything is working it is important to make sure that you have not some how made your mail server an open relay! This would cause your mail server to be flooded with traffic and be put on the open relay ban lists.&lt;br /&gt;
&lt;b&gt;&lt;i&gt;!!! IMPORTANT SECURITY NOTE!!! -&amp;nbsp;&lt;/i&gt;&lt;/b&gt;I will not use the pop-before-smtp method because it involves sending a password over an insecure connection. Use Postfix through a SSL connection,&amp;nbsp;&lt;a class="content_whitebg" href="http://www.aet.tu-cottbus.de/personen/jaenicke/pfixtls/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Postfix/TLS&lt;/a&gt;, to accomplish this. Since your local machines are likely already allowed to use your Postfix as a mail relay the only time that you would be using this method is from a non-trusted server where you password can be sniffed. If you still choose to use this method make sure that you have changed the users courier password as described in&amp;nbsp;&lt;a class="content_whitebg" href="http://www.hypexr.org/linux_mail_server.php#courierauth" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #333399; font-weight: normal; padding-bottom: 0em; padding-left: 0em; padding-right: 0em; padding-top: 0em; text-decoration: underline;"&gt;Courier Authentication&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="additionalproc"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Additional Simple Procmail Recipes and Mailbox Config&lt;/h3&gt;If you are a member of any news letters/mailing lists you can have them automatically sorted to their own mailbox using Procmail. First create the new mail directory in your ~/Maildir directory. Lets call it .Sbayes and pretend that we are on the Spambayes mailing list. So exactly as before with the spam related mailboxes:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;mkdir -p ~/Maildir/.Sbayes/{cur,new,tmp}&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Now add this new rule to your ~/.procmailrc:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;# spambayes-dev@python.org mailing list&lt;br /&gt;
:0&lt;br /&gt;
* ^X-BeenThere: spambayes@python.org&lt;br /&gt;
${MAILDIR}/.Sbayes/&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;In the&amp;nbsp;&lt;b&gt;.mutrc&lt;/b&gt;&amp;nbsp;example above it shows an example of setting&amp;nbsp;&lt;b&gt;alt-5&lt;/b&gt;&amp;nbsp;as the macro to see your Spambayes emails.&lt;br /&gt;
&lt;br /&gt;
A slightly different method can be used to send spam and ham for training. Adding the following lines will allow you to bounce spam messages to spam@localhost (localhost or your mail_domain.com) and ham messages to ham@localhost:&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style="font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;# Mail has been bounced to spam@localhost
:0
* ^Resent-To:.*spam
${MAILDIR}/.MissedSpam

# Mail has been bounced to ham@localhost
:0
* ^Resent-To:.*ham
${MAILDIR}/.MissedHam&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;If you want to bounce messages to the spam and ham addresses like this, you will need to make sure that the headers stay intact. Do not try using this or a similar technique for forwarding mails to an address because the email's headers would not be intact and this is a large part of the spam classification. This method works because above we specified spam and ham as aliases for hypexr in the Postfix aliases file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="" name="conclusion"&gt;&lt;/a&gt;&lt;h3 style="font-family: helvetica, sans-serif, serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: bold; line-height: 16px;"&gt;Conclusion&lt;/h3&gt;For Arch Linux users, Add&amp;nbsp;&lt;b&gt;saslauthd authdaemond courier-imap postfix fetchmail&lt;/b&gt;&amp;nbsp;to&amp;nbsp;&lt;b&gt;DAEMONS&lt;/b&gt;&amp;nbsp;in your&amp;nbsp;&lt;b&gt;/etc/rc.conf&lt;/b&gt;&amp;nbsp;file and they will be started automatically when your machine boots. If you are running a web server have the httpd service listed after the services we are adding.&lt;br /&gt;
/etc/rc.conf&lt;br /&gt;
&lt;ul&gt;&lt;table border="0" cellpadding="10" cellspacing="0" class="examples" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: #f7f7f7; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(153, 153, 153); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: solid; border-top-width: 1px; font-family: monospace, sans-serif, serif; font-size: 12px; line-height: 16px;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;DAEMONS=(... saslauthd authdaemond postfix courier-imap fetchmail ...)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/ul&gt;Enjoy your new mail system and centralized mailbox. If you are handling a large number of users for you email system this is just the tip of the iceberg and you are going to mostly be interested in virtual users, security, and a system wide spam classifier. There are many good documents on various setups to accomplish this, see the links section.&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-7941382777030639100?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/7941382777030639100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/creating-linux-mail-server-postfix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7941382777030639100?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7941382777030639100?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/creating-linux-mail-server-postfix.html' title='Creating a Linux Mail Server  (Postfix, Procmail, Fetchmail, SpamBayes, Courier-imap, Mutt, SquirrelMail)'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ck4HQ345fCp7ImA9WhdVFEk.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-7602422364445025332</id><published>2011-09-19T07:02:00.000-07:00</published><updated>2011-09-19T07:02:12.024-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-19T07:02:12.024-07:00</app:edited><title>Sanskrit &amp; Artificial Intelligence — NASA Knowledge Representation in Sanskrit and Artificial Intelligence</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: 13px; line-height: 18px;"&gt;&lt;img alt="Sanskrit Artificial Intelligence" border="1" height="112" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/sanskrit-3.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="504" /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 18px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: small;"&gt;&lt;div align="center" class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;img align="middle" alt="Sanskrit - XML Generator" height="249" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/sansk-XML-generator.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="600" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;First, a typical Knowledge Representation Scheme (using Semantic Nets) will be laid out, followed by an outline of the method used by the ancient Indian Grammarians to analyze sentences unambiguously. Finally, the clear parallelism between the two will be demonstrated, and the theoretical implications of this equivalence will be given&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 18px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: small;"&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;b&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;Semantic Nets&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
For the sake of comparison, a brief overview of semantic nets will be given, and examples will be included that will be compared to the Indian approach. After early attempts at machine translation (which were based to a large extent on simple dictionary look-up) failed in their effort to teach a computer to understand natural language, work in AI turned to Knowledge Representation.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Since translation is not simply a map from lexical item to lexical item, and since ambiguity is inherent in a large number of utterances, some means is required to encode what the actual meaning of a sentence is. Clearly, there must be a representation of meaning independent of words used. Another problem is the interference of syntax. In some sentences (for example active/passive) syntax is, for all intents and purposes, independent of meaning. Here one would like to eliminate considerations of syntax. In other sentences the syntax contributes to the meaning and here one wishes to extract it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;img alt="Sanskrit Semantic Net System" height="209" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/sanskrit-example1.gif" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="500" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;I will consider a "prototypical" semantic net system similar to that of Lindsay, Norman, and Rumelhart in the hopes that it is fairly representative of basic semantic net theory. Taking a simple example first, one would represent "John gave the ball to Mary" as in Figure 1. Here five nodes connected by four labeled arcs capture the entire meaning of the sentence. This information can be stored as a series of "triples":&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;give, agent, John&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;give, object, ball&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;give, recipient, Mary&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;give, time, past.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Note that grammatical information has been transformed into an arc and a node (past tense). A more complicated example will illustrate embedded sentences and changes of state:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;John Mary&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;book past&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Figure 1.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;"John told Mary that the train moved out of the station at 3 o'clock."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;As shown in Figure 2, there was a change in state in which the train moved to some unspecified location from the station. It went to the former at 3:00 and from the latter at 3:O0. Now one can routinely convert the net to triples as before.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The verb is given central significance in this scheme and is considered the focus and distinguishing aspect of the sentence. However, there are other sentence types which differ fundamentally from the above examples. Figure 3 illustrates a sentence that is one of "state" rather than of "event ." Other nets could represent statements of time, location or more complicated structures.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;A verb, say, "give," has been taken as primitive, but what is the meaning of "give" itself? Is it only definable in terms of the structure it generates? Clearly two verbs can generate the same structure. One can take a set-theoretic approach and a particular give as an element of "giving events" itself a subset of ALL-EVENTS. An example of this approach is given in Figure 4 ("John, a programmer living at Maple St., gives a book to Mary, who is a lawyer"). If one were to "read" this semantic net, one would have a very long text of awkward English: "There is a John" who is an element of the "Persons" set and who is the person who lives at ADRI, where ADRI is a subset of ADDRESS-EVENTS, itself a subset of 'ALL EVENTS', and has location '37 Maple St.', an element of Addresses; and who is a "worker" of 'occupation 1'. . .etc."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The degree to which a semantic net (or any unambiguous, nonsyntactic representation) is cumbersome and odd-sounding in a natural language is the degree to which that language is "natural" and deviates from the precise or "artificial." As we shall see, there was a language spoken among an ancient scientific community that has a deviation of zero.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;img align="left" height="124" hspace="9" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/sans-flowchart.jpeg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="114" /&gt;The hierarchical structure of the above net and the explicit descriptions of set-relations are essential to really capture the meaning of the sentence and to facilitate inference. It is believed by most in the AI and general linguistic community that natural languages do not make such seemingly trivial hierarchies explicit. Below is a description of a natural language, Shastric Sanskrit, where for the past millenia successful attempts have been made to encode such information.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;b&gt;Shastric Sanskrit&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The sentence:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;(1) "Caitra goes to the village." (graamam gacchati caitra)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;receives in the analysis given by an eighteenth-century Sanskrit Grammarian from Maharashtra, India, the following paraphrase:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;(2) "There is an activity which leads to a connection-activity which has as Agent no one other than Caitra, specified by singularity, [which] is taking place in the present and which has as Object something not different from 'village'."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The author, Nagesha, is one of a group of three or four prominent theoreticians who stand at the end of a long tradition of investigation. Its beginnings date to the middle of the first millennium B.C. when the morphology and phonological structure of the language, as well as the framework for its syntactic description were codified by Panini. His successors elucidated the brief, algebraic formulations that he had used as grammatical rules and where possible tried to improve upon them. A great deal of fervent grammatical research took place between the fourth century B.C and the fourth century A.D. and culminated in the seminal work, the Vaiakyapadiya by Bhartrhari. Little was done subsequently to advance the study of syntax, until the so-called "New Grammarian" school appeared in the early part of the sixteenth century with the publication of Bhattoji Dikshita's Vaiyakarana-bhusanasara and its commentary by his relative Kaundabhatta, who worked from Benares. Nagesha (1730-1810) was responsible for a major work, the Vaiyakaranasiddhantamanjusa, or Treasury of dejinitive statements of grammarians, which was condensed later into the earlier described work. These books have not yet been translated.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The reasoning of these authors is couched in a style of language that had been developed especially to formulate logical relations with scientific precision. It is a terse, very condensed form of Sanskrit, which paradoxically at times becomes so abstruse that a commentary is necessary to clarify it.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;One of the main differences between the Indian approach to language analysis and that of most of the current linguistic theories is that the analysis of the sentence was not based on a noun-phrase model with its attending binary parsing technique but instead on a conception that viewed the sentence as springing from the semantic message that the speaker wished to convey. In its origins, sentence description was phrased in terms of a generative model: From a number of primitive syntactic categories (verbal action, agents, object, etc.) the structure of the sentence was derived so that every word of a sentence could be referred back to the syntactic input categories. Secondarily and at a later period in history, the model was reversed to establish a method for analytical descriptions. In the analysis of the Indian grammarians, every sentence expresses an action that is conveyed both by the verb and by a set of "auxiliaries." The verbal action (Icriyu- "action" or sadhyu-"that which is to be accomplished,") is represented by the verbal root of the verb form; the "auxiliary activities" by the nominals (nouns, adjectives, indeclinables) and their case endings (one of six).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The meaning of the verb is said to be both vyapara (action, activity, cause), and phulu (fruit, result, effect). Syntactically, its meaning is invariably linked with the meaning of the verb "to do". Therefore, in order to discover the meaning of any verb it is sufficient to answer the question: "What does he do?" The answer would yield a phrase in which the meaning of the direct object corresponds to the verbal meaning. For example, "he goes" would yield the paraphrase: "He performs an act of going"; "he drinks": "he performs an act of drinking," etc. This procedure allows us to rephrase the sentence in terms of the verb "to do" or one of its synonyms, and an object formed from the verbal root which expresses the verbal action as an action noun. It still leaves us with a verb form ("he does," "he performs"), which contains unanalyzed semantic information This information in Sanskrit is indicated by the fact that there is an agent who is engaged in an act of going, or drinking, and that the action is taking place in the present time.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Rather that allow the agent to relate to the syntax in this complex, unsystematic fashion, the agent is viewed as a one-time representative, or instantiation of a larger category of "Agency," which is operative in Sanskrit sentences. In turn, "Agency" is a member of a larger class of "auxiliary activities," which will be discussed presently. Thus Caitra is some Caitral or instance of Caitras, and agency is hierarchically related to the auxiliary activities. The fact that in this specific instance the agent is a third person-singular is solved as follows: The number category (singular, dual, or plural) is regarded as a quality of the Agent and the person category (first, second, or third) as a grammatical category to be retrieved from a search list, where its place is determined by the singularity of the agent.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The next step in the process of isolating the verbal meaning is to rephrase the description in such a way that the agent and number categories appear as qualities of the verbal action. This procedure leaves us with an accurate, but quite abstract formulation of the scntcnce: (3) "Caitra is going" (gacchati caitra) - "An act of going is taking place in the present of which the agent is no one other than Caitra qualified by singularity." (atraikatvaavacchinnacaitraabinnakartrko vartamaanakaa- liko gamanaanukuulo vyaapaarah:) (Double vowels indicate length.)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;If the sentence contains, besides an agent, a direct object, an indirect object and/or other nominals that are dependent on the principal action of the verb, then in the Indian system these nominals are in turn viewed as representations of actions that contribute to the complete meaning of the sentence. However, it is not sufficient to state, for instance, that a word with a dative case represents the "recipient" of the verbal action, for the relation between the recipient and the verbal action itself requires more exact specification if we are to center the sentence description around the notion of the verbal action. To that end, the action described by the sentence is not regarded as an indivisible unit, but one that allows further subdivisions. Hence a sentence such as: (4) "John gave the ball to Mary" involves the verb Yo give," which is viewed as a verbal action composed of a number of auxiliary activities. Among these would be John's holding the ball in his hand, the movement of the hand holding the ball from John as a starting point toward Mary's hand as the goal, the seizing of the ball by Mary's hand, etc. It is a fundamental notion that actions themselves cannot be perceived, but the result of the action is observable, viz. the movement of the hand. In this instance we can infer that at least two actions have taken place:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;(a) An act of movement starting from the direction of John and taking place in the direction of Mary's hand. Its Agent is "the ball" and its result is a union with Mary's hand.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;(b) An act of receiving, which consists of an act of grasping whose agent is Mary's hand.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;It is obvious that the act of receiving can be interpreted as an action involving a union with Mary's hand, an enveloping of the ball by Mary's hand, etc., so that in theory it might be difficult to decide where to stop this process of splitting meanings, or what the semantic primitives are. That the Indians were aware of the problem is evident from the following passage: "The name 'action' cannot be applied to the solitary point reached by extreme subdivision."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The set of actions described in (a) and (b) can be viewed as actions that contribute to the meaning of the total sentence, vix. the fact that the ball is transferred from John to Mary. In this sense they are "auxiliary actions" (Sanskrit kuruku-literally "that which brings about") that may be isolated as complete actions in their own right for possible further subdivision, but in this particular context are subordinate to the total action of "giving." These "auxiliary activities" when they become thus subordinated to the main sentence meaning, are represented by case endings affixed to nominals corresponding to the agents of the original auxiliary activity. The Sanskrit language has seven case endings (excluding the vocative), and six of these are definable representations of specific "auxiliary activities." The seventh, the genitive, represents a set of auxiliary activities that are not defined by the other six. The auxiliary actions are listed as a group of six: Agent, Object, Instrument, Recipient, Point of Departure, Locality. They are the semantic correspondents of the syntactic case endings: nominative, accusative, instrumental, dative, ablative and locative, but these are not in exact equivalence since the same syntactic structure can represent different semantic messages, as will be discussed below. There is a good deal of overlap between the karakas and the case endings, and a few of them, such as Point of Departure, also are used for syntactic information, in this case "because of". In many instances the relation is best characterized as that of the allo-eme variety.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;To illustrate the operation of this model of description, a sentence involving an act of cooking rice is often quoted: (5) "Out of friendship, Maitra cooks rice for Devadatta in a pot, over a fire."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Here the total process of cooking is rendered by the verb form "cooks" as well as a number of auxiliary actions:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;1. An Agent represented by the person Maitra&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;2. An Object by the "rice"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;3. An Instrument by the "fire"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;4. A Recipient by the person Devadatta&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;5. A Point of Departure (which includes the causal relationship) by the "friendship" (which is between Maitra and Devadatta)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;6. The Locality by the "pot"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;So the total meaning of the sentence is not complete without the intercession of six auxiliary actions. The action itself can be inferred from a change of the condition of the grains of rice, which started out being hard and ended up being soft.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Again, it would be possible to atomize the meaning expressed by the phrase: "to cook rice": It is an operation that is not a unitary "process", but a combination of processes, such as "to place a pot on the fire, to add fuel to the fire, to fan", etc. These processes, moreover, are not taking place in the abstract, but they are tied to, or "resting on" agencies that are associated with the processes. The word used for "tied to" is a form of the verbal root a-sri, which means to lie on, have recourse to, be situated on." Hence it is possible and usually necessary to paraphrase a sentence such as "he gives" as: "an act of giving residing in him." Hence the paraphrase of sentence (5) will be: (6) "There is an activity conducive to a softening which is a change residing in something not different from rice, and which takes place in the present, and resides in an agent not different from Maitra, who is specified by singularity and has a Recipient not different from Devadatta, an Instrument not different from.. .," etc.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;It should be pointed out that these Sanskrit Grammatical Scientists actually wrote and talked this way. The domain for this type of language was the equivalent of today's technical journals. In their ancient journals and in verbal communication with each other they used this specific, unambiguous form of Sanskrit in a remarkably concise way.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Besides the verbal root, all verbs have certain suffixes that express the tense and/or mode, the person (s) engaged in the "action" and the number of persons or items so engaged. For example, the use of passive voice would necessitate using an Agent with an instrumental suffix, whereas the nonpassive voice implies that the agent of the sentence, if represented by a noun or pronoun, will be marked by a nominative singular suffix.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Word order in Sanskrit has usually no more than stylistic significance, and the Sanskrit theoreticians paid no more than scant attention to it. The language is then very suited to an approach that eliminates syntax and produces basically a list of semantic messages associated with the karakas.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;An example of the operation of this model on an intransitive sentence is the following:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;(7) Because of the wind, a leaf falls from a tree to the ground."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Here the wind is instrumental in bringing about an operation that results in a leaf being disunited from a tree and being united with the ground. By virtue of functioning as instrument of the operation, the term "wind" qualifies as a representative of the auxiliary activity "Instrument"; by virtue of functioning as the place from which the operation commences, the "tree" qualifies to be called "The Point of Departure"; by virtue of the fact that it is the place where the leaf ends up, the "ground" receives the designation "Locality". In the example, the word "leaf" serves only to further specify the agent that is already specified by the nonpassive verb in the form of a personal suffix. In the language it is rendered as a nominative case suffix. In passive sentences other statements have to be made. One may argue that the above phrase does not differ in meaning from "The wind blows a leaf from the tree," in which the "wind" appears in the Agent slot, the "leaf" in the Object slot. The truth is that this phrase is transitive, whereas the earlier one is intransitive. "Transitivity" can be viewed as an additional feature added to the verb. In Sanskrit this process is often accomplished by a suffix, the causative suffix, which when added to the verbal root would change the meaning as follows: "The wind causes the leaf to fall from the tree," and since English has the word "blows" as the equivalent of "causes to fall" in the case of an Instrument "wind," the relation is not quite transparent. Therefore, the analysis of the sentence presented earlier, in spite of its manifest awkwardness, enabled the Indian theoreticians to introduce a clarity into their speculations on language that was theretofore un- available. Structures that appeared radically different at first sight become transparent transforms of a basic set of elementary semantic categories.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;It is by no means the case that these analyses have been exhausted, or that their potential has been exploited to the full. On the contrary, it would seem that detailed analyses of sentences and discourse units had just received a great impetus from Nagesha, when history intervened: The British conquered India and brought with them new and apparently effective means for studying and analyzing languages. The subsequent introduction of Western methods of language analysis, including such areas of research as historical and structural linguistics, and lately generative linguistics, has for a long time acted as an impediment to further research along the traditional ways. Lately, however, serious and responsible research into Indian semantics has been resumed, especially at the University of Poona, India. The surprising equivalence of the Indian analysis to the techniques used in applications of Artificial Intelligence will be discussed in the next section.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 align="center" style="color: #e5b31b; font-family: 'Lucida Grande', Verdana, Arial, Helvetica; font-size: 18px; font-weight: bold; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: center;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana; font-size: 12pt; font-style: normal;"&gt;Equivalence&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;A comparison of the theories discussed in the first section with the Indian theories of sentence analysis in the second section shows at once a few striking similarities. Both theories take extreme care to define minute details with which a language describes the relations between events in the natural world. In both instances, the analysis itself is a map of the relations between events in the universe described. In the case of the computer-oriented analysis, this mapping is a necessary prerequisite for making the speaker's natural language digestible for the artificial processor; in the case of Sanskrit, the motivation is more elusive and probably has to do with an age-old Indo-Aryan preoccupation to discover the nature of the reality behind the the impressions we human beings receive through the operation of our sense organs. Be it as it may, it is a matter of surprise to discover that the outcome of both trends of thinking-so removed in time, space, and culture-have arrived at a representation of linguistic events that is not only theoretically equivalent but close in form as well. The one superficial difference is that the Indian tradition was on the whole, unfamiliar with the facility of diagrammatic representation, and attempted instead to formulate all abstract notions in grammatical sentences. In the following paragraphs a number of the parallellisms of the two analyses will be pointed out to illustrate the equivalence of the two systems.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Consider the sentence: "John is going." The Sanskrit paraphrase would be&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;"An Act of going is taking place in which the Agent is 'John' specified by singularity and masculinity."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;If we now turn to the analysis in semantic nets, the event portrayed by a set of triples is the following:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;1. "going events, instance, go (this specific going event)"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;2. "go, agent, John"&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;3. "go, time, present."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The first equivalence to be observed is that the basic framework for inference is the same. John must be a semantic primitive, or it must have a dictionary entry, or it must be further represented (i.e. "John, number, 1" etc.) if further processing requires more detail (e.g. "HOW many people are going?"). Similarly, in the Indian analysis, the detail required in one case is not necessarily required in another case, although it can be produced on demand (if needed). The point to be made is that in both systems, an extensive degree of specification is crucial in understanding the real meaning of the sentence to the extent that it will allow inferences to be made about the facts not explicitly stated in the sentence&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;img alt="Sanskrit Semantic Net System" height="122" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/sanskrit-example1.gif" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="294" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The basic crux of the equivalence can be illustrated by a careful look at sentence (5) noted in Part II.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;"Out of friendship, Maitra cooks rice for Devadatta in a pot over a fire "&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The semantic net is supplied in Figure 5. The triples corresponding to the net are:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cause, event, friendship&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;friendship, objectl, Devadatta&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;friendship, object2, Maitra&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cause, result cook&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, agent, Maitra&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, recipient, Devadatta&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, instrument, fire&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, object, rice&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, on-lot, pot.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The sentence in the Indian analysis is rendered as follows:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The Agent is represented by Maitra, the Object by "rice," the Instrument by "fire," the Recipient by "Devadatta," the Point of Departure (or cause) by "friendship" (between Maitra and Devadatta), the Locality by "pot."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Since all of these syntactic structures represent actions auxiliary to the action "cook," let us write %ook" uext to each karakn and its sentence representat(ion:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, agent, Maitra&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, object, rice&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, instrument, fire&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, recipient, Devadatta&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, because-of, friendship&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;friendship, Maitra, Devadatta&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;cook, locality, pot.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The comparison of the analyses shows that the Sanskrit sentence when rendered into triples matches the analysis arrived at through the application of computer processing. That is surprising, because the form of the Sanskrit sentence is radically different from that of the English. For comparison, the Sanskrit sentence is given here: Maitrah: sauhardyat Devadattaya odanam ghate agnina pacati.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Here the stem forms of the nouns are: Muitra-sauhardya- "friendship," Devadatta -, odana- "gruel," ghatu- "pot," agni- "fire' and the verb stem is paca- "cook". The deviations of the stem forms occuring at the end of each word represent the change dictated by the word's semantic and syntactic position. It should also be noted that the Indian analysis calls for the specification of even a greater amount of grammatical and semantic detail: Maitra, Devadatta, the pot, and fire would all be said to be qualified by "singularity" and "masculinity" and the act of cooking can optionally be expanded into a number of successive perceivable activities. Also note that the phrase "over a fire" on the face of it sounds like a locative of the same form as "in a pot." However, the context indicates that the prepositional phrase describes the instrument through which the heating of the rice takes place and, therefore, is best regarded as an instrument semantically. cause&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Of course, many versions of semantic nets have been proposed, some of which match the Indian system better than others do in terms of specific concepts and structure. The important point is that the same ideas are present in both traditions and that in the case of many proposed semantic net systems it is the Indian analysis which is more specific.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;A third important similarity between the two treatments of the sentence is its focal point which in both cases is the verb. The Sanskrit here is more specific by rendering the activity as a "going-event", rather than "ongoing." This procedure introduces a new necessary level of abstraction, for in order to keep the analysis properly structured, the focal point ought to be phrased: "there is an event taking place which is one of cooking," rather than "there is cooking taking place", in order for the computer to distinguish between the levels of unspecified "doing" (vyapara) and the result of the doing (phala).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;A further similarity between the two systems is the striving for unambiguity. Both Indian and AI schools en-code in a very clear, often apparently redundant way, in order to make the analysis accessible to inference. Thus, by using the distinction of phala and vyapara, individual processes are separated into components which in term are decomposable. For example, "to cook rice" was broken down as "placing a pot on the fire, adding fuel, fanning, etc." Cooking rice also implies a change of state, realized by the phala, which is the heated softened rice. Such specifications are necessary to make logical pathways, which otherwise would remain unclear. For example, take the following sentence:&lt;img align="right" alt="Rice Cooking" border="0" height="156" hspace="7" lowsrc="http://www.vedicsciences.net/newton/big-bang.gif" src="http://www.vedicsciences.net/sanskrit/rice-cooking.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="166" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;"Maitra cooked rice for Devadatta who burned his mouth while eating it."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;The semantic nets used earlier do not give any information about the logical connection between the two clauses. In order to fully understand the sentence, one has to be able to make the inference that the cooking process involves the process of "heating" and the process of "making palatable." The Sanskrit grammarians bridged the logical gap by the employment of the phalu/ vyapara distinction. Semantic nets could accomplish the same in a variety of ways:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;1. by mapping "cooking" as a change of state, which would involve an excessive amount of detail with too much compulsory inference;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;2. by representing the whole statement as a cause (event-result), or&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;3. by including dictionary information about cooking. A further comparison between the Indian system and the theory of semantic nets points to another similarity: The passive and the active transforms of the same sentence are given the same analysis in both systems. In the Indian system the notion of the "intention of the speaker" (tatparya, vivaksa) is adduced as a cause for distinguishing the two transforms semantically. The passive construction is said to emphasize the object, the nonpassive emphasizes the agent. But the explicit triples are not different. This observation indicates that both systems extract the meaning from the syntax.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Finally, a point worth noting is the Indian analysis of the intransitive phrase (7) describing the leaf falling from the tree. The semantic net analysis resembles the Sanskrit analysis remarkably, but the latter has an interesting flavor. Instead of a change from one location to another, as the semantic net analysis prescribes, the Indian system views the process as a uniting and disuniting of an agent. This process is equivalent to the concept of addition to and deletion from sets. A leaf falling to the ground can be viewed as a leaf disuniting from the set of leaves still attached to the tree followed by a uniting with (addition to) the set of leaves already on the ground. This theory is very useful and necessary to formulate changes or statements of state, such as "The hill is in the valley."&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;In the Indian system, inference is very complete indeed. There is the notion that in an event of "moving", there is, at each instant, a disunion with a preceding point (the source, the initial state), and a union with the following point, toward the destination, the final state. This calculus-like concept fascillitates inference. If it is stated that a process occurred, then a language processor could answer queries about the state of the world at any point during the execution of the process.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;As has been shown, the main point in which the two lines of thought have converged is that the decomposition of each prose sentence into karalca-representations of action and focal verbal-action, yields the same set of triples as those which result from the decomposition of a semantic net into nodes, arcs, and labels. It is interesting to speculate as to why the Indians found it worthwhile to pursue studies into unambiguous coding of natural language into semantic elements. It is tempting to think of them as computer scientists without the hardware, but a possible explanation is that a search for clear, unambigous understanding is inherent in the human being.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Let us not forget that among the great accomplishments of the Indian thinkers were the invention of zero, and of the binary number system a thousand years before the West re-invented them.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;img align="middle" alt="Zero Mathematical Symbol" border="1" height="130" hspace="25" lowsrc="http://www.vedicsciences.net/sanskrit/aryan-invasion.gif" src="http://www.vedicsciences.net/sanskrit/math-zero130.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="341" /&gt;&lt;img align="middle" alt="Binary Number System" border="1" height="130" hspace="25" lowsrc="http://www.vedicsciences.net/sanskrit/aryan-invasion.gif" src="http://www.vedicsciences.net/sanskrit/math-binary130.jpg" style="border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial;" width="272" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Their analysis of language casts doubt on the humanistic distinction between natural and artificial intelligence, and may throw light on how research in AI may finally solve the natural language understanding and machine translation problems.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;b&gt;References&lt;/b&gt;&lt;br /&gt;
Bhatta, Nagesha (1963) Vaiyakarana-Siddhanta-Laghu-Manjusa, Benares (Chowkhamba Sanskrit Series Office).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Nilsson, Nils J. Principles of Artificial Intelligence. Palo Alto: Tioga Publishing Co&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Bhatta, Nagesha (1974) Parama-Lalu-Manjusa Edited by Pandit Alakhadeva Sharma, Benares (Chowkhambha Sanskrit Series Office).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Rumelhart, D E. &amp;amp; D A. Norman (1973) Active Semantic Networks as a model of human memory. IJCAI.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;Wang, William S-Y (1967) "Final Administrative Report to the National Science Foundation." Project for Machine Translation. University of California, Berkeley. (A biblzographical summary of work done in Berkeley on a program to translate Chinese.)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 1.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span style="font-family: Verdana;"&gt;&lt;span&gt;[THE AI MAGAZINE Spring, 1985 #39]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-7602422364445025332?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/7602422364445025332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/sanskrit-artificial-intelligence-nasa.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7602422364445025332?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/7602422364445025332?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/sanskrit-artificial-intelligence-nasa.html' title='Sanskrit &amp; Artificial Intelligence — NASA Knowledge Representation in Sanskrit and Artificial Intelligence'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DUYDQXY6cCp7ImA9WhdVE0g.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-3217864250547375365</id><published>2011-09-18T07:46:00.000-07:00</published><updated>2011-09-18T07:46:10.818-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-18T07:46:10.818-07:00</app:edited><title>Powerful quake rocks Nepal</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Tahoma, verdana, arial, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;KATHMANDU, SEP 18 - An earthquake measuring 6.8 on the Richter scale rocked Nepal, with shocks felt as far as Kathmandu Valley and its surrounding districts on Sunday evening.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;According to earthquake.usgs.gov, the epicenter of the quake was at the eastern Nepal bordering with India.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The quake lasted over a mintue in the Capital. However, the exact duration of the quake has yet to be verified.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;After the quake rocked, people were left panic-stricken and started running out of the buildings they were in to safer ground.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Initial reports confirmed, three persons were injured when the wall of British Embassy in Kathmandu collapsed due to the quake.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;This was the most powerful quake to rock Nepal in 78 years.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Nepal is situated on the border between two huge tectonic plates that have moved together over millions of years to form the Himalayas, geologists say.&lt;/div&gt;&lt;div style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #444444; font-size: 14px; line-height: 1.4; margin-bottom: 15px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;The last major earthquake to hit Nepal struck to the east of the capital in 1934. It measured 8.4 on the Richter scale and killed more than 8,500 people in Nepal and neighbouring India.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-3217864250547375365?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/3217864250547375365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/powerful-quake-rocks-nepal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3217864250547375365?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3217864250547375365?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/powerful-quake-rocks-nepal.html' title='Powerful quake rocks Nepal'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CUUMRXo7eSp7ImA9WhdVE0w.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-3339524844825979268</id><published>2011-09-17T19:34:00.001-07:00</published><updated>2011-09-17T19:34:44.401-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-17T19:34:44.401-07:00</app:edited><title>deposites files</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;http://depositfiles.com/en/files/7iuhpnu8s&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-3339524844825979268?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/3339524844825979268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/deposites-files.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3339524844825979268?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3339524844825979268?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/deposites-files.html' title='deposites files'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;CkEMQXw4cCp7ImA9WhdVEU0.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-2435723042758084015</id><published>2011-09-15T08:31:00.000-07:00</published><updated>2011-09-15T08:31:20.238-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-15T08:31:20.238-07:00</app:edited><title>Nepal Telecom and Apple jointly launching the cheaper, 8GB iPhone 4</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;"&gt;&lt;span style="font-family: Calibri;"&gt;iPhone 4 in cheapest price around Rs. 15000 by NTC, this is the good news for Nepalese iPhone lovers, having the dream to touch and feel the features of iPhone 4 in their fingertips.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-eFroKDElBZk/TmzKlMeqzgI/AAAAAAAAABI/KNISVxTp_z4/s1600/019734582e4aede3cd63b60fa1622766_330.jpg" imageanchor="1" style="clear: left; color: #5dc2c0; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration: underline;"&gt;&lt;img border="0" height="378" src="http://1.bp.blogspot.com/-eFroKDElBZk/TmzKlMeqzgI/AAAAAAAAABI/KNISVxTp_z4/s400/019734582e4aede3cd63b60fa1622766_330.jpg" style="-webkit-background-clip: initial; -webkit-background-origin: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative;" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-family: Calibri;"&gt;Now, NTC is trying to bring the iPhone 4 for company’s customers with micro sim cards housed inside it. Android based devices are the key challenges for iPhone 4 in the cheap Asian market including Nepal.&lt;/span&gt;&lt;/div&gt;&amp;nbsp;&lt;span style="font-family: Calibri;"&gt;So, Apple is trying to beat those devices with its lock based cheap iPhone 4 with 8GB flash memory.&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 14px;"&gt;It seems a cheaper 8GB version of the iPhone 4 has entered its manufacturing stages.&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 14px;"&gt;When the iPhone 4 was officially launched by Apple, an 8GB 3GS model was released for a cheaper price. It seems logical for this to happen again after Apple's&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; line-height: 18px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-family: 'Lucida Sans Unicode', sans-serif; font-size: 17pt; line-height: 26px;"&gt;&lt;strong&gt;Possible 8GB iPhone 4 Technical Specifications&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family: 'Lucida Sans Unicode', sans-serif; font-size: 17pt; line-height: 26px;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;Price:&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Calibri;"&gt;200$&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;a href="http://3.bp.blogspot.com/-elAW3hb_1g4/TmzK309OmsI/AAAAAAAAABQ/bip0VT937PY/s1600/8GB-iPhone.jpg" imageanchor="1" style="clear: right; color: #249fa3; float: right; margin-bottom: 1em; margin-left: 1em; text-decoration: none;"&gt;&lt;img border="0" height="290" src="http://3.bp.blogspot.com/-elAW3hb_1g4/TmzK309OmsI/AAAAAAAAABQ/bip0VT937PY/s400/8GB-iPhone.jpg" style="-webkit-background-clip: initial; -webkit-background-origin: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative;" width="400" /&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;Capacity&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;sup&gt;&lt;span style="color: #666666; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 7.5pt; line-height: 11px;"&gt;3&lt;/span&gt;&lt;/sup&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt; line-height: 12px;"&gt;8GB flash drive&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;Size and weight&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;sup&gt;&lt;span style="color: #666666; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 7.5pt; line-height: 11px;"&gt;1&lt;/span&gt;&lt;/sup&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Height:&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;4.5&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;&amp;nbsp;inches (115.2 mm)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Width:&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;2.31&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;&amp;nbsp;inches (58.6 mm)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: x-small;"&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Depth:&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;0.37&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;&amp;nbsp;inch (9.3 mm)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;&lt;/span&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Weight:&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;4.8&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;&amp;nbsp;ounces (137 grams)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: x-small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;Cellular and wireless&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 27pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;GSM model: UMTS/HSDPA/HSUPA (850, 900, 1900, 2100 MHz); GSM/EDGE (850, 900, 1800, 1900 MHz)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 27pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;CDMA model: CDMA EV-DO Rev. A (800, 1900 MHz)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 27pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;802.11b/g/n Wi-Fi (802.11n 2.4GHz only)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 27pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Bluetooth 2.1 + EDR wireless technology&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-gn5-qc25KI8/TmzLR2few7I/AAAAAAAAABc/sKv_vXMI0Sw/s1600/images.jpg" imageanchor="1" style="clear: left; color: #249fa3; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration: none;"&gt;&lt;img border="0" height="252" src="http://2.bp.blogspot.com/-gn5-qc25KI8/TmzLR2few7I/AAAAAAAAABc/sKv_vXMI0Sw/s400/images.jpg" style="-webkit-background-clip: initial; -webkit-background-origin: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative;" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&lt;br /&gt;
&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;Power and battery&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;sup&gt;&lt;span style="color: #666666; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 7.5pt;"&gt;2&lt;/span&gt;&lt;/sup&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Built-in rechargeable lithium-ion battery&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Charging via USB to computer system or power adapter&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Talk time:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Up to 7 hours on 3G&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Up to 14 hours on 2G (GSM model only)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Standby time: Up to 300 hours&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Internet use:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Up to 6 hours on 3G&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 0pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Up to 10 hours on Wi-Fi&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Video playback: Up to 10 hours&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Audio playback: Up to 40 hours&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 10pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-family: 'Times New Roman'; font-size: x-small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;Display&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Retina display&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;3.5-inch (diagonal) widescreen Multi-Touch display&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;960-by-640-pixel resolution at 326 ppi&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;800:1 contrast ratio (typical)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;500 cd/m2 max brightness (typical)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Fingerprint-resistant oleophobic coating on front and back&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Support for display of multiple languages and characters simultaneously&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-IdgxP4e-fwI/TmzLUzS1iNI/AAAAAAAAABg/fJG0bvvAV-w/s1600/overview-multitasking-20101116.jpg" imageanchor="1" style="clear: left; color: #249fa3; float: left; margin-bottom: 1em; margin-right: 1em; text-decoration: none;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-IdgxP4e-fwI/TmzLUzS1iNI/AAAAAAAAABg/fJG0bvvAV-w/s400/overview-multitasking-20101116.jpg" style="-webkit-background-clip: initial; -webkit-background-origin: initial; -webkit-box-shadow: rgba(0, 0, 0, 0.0976563) 1px 1px 5px; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(238, 238, 238); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-top-width: 1px; border-width: initial; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; position: relative;" width="306" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;Audio playback&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Frequency response: 20Hz to 20,000Hz&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE-AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;User-configurable maximum&amp;nbsp;&lt;a href="http://docs.info.apple.com/article.html?artnum=303414" style="color: #249fa3; text-decoration: none;"&gt;&lt;span style="color: #0088cc; text-decoration: none;"&gt;volume limit&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 0in;"&gt;&lt;b&gt;&lt;span style="color: black; font-family: 'Lucida Sans Unicode', sans-serif;"&gt;TV and video&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Video formats supported: H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: white; background-image: initial; background-position: initial initial; background-repeat: initial; line-height: 12pt; margin-bottom: 6pt; margin-left: 6.1pt; margin-right: 0in; margin-top: 0in;"&gt;&lt;span style="color: #333333; font-family: 'Lucida Sans Unicode', sans-serif; font-size: 8.5pt;"&gt;Support for 1024 by 768 pixels with Apple VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #222222; font-family: Arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 13px; line-height: 14px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-2435723042758084015?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/2435723042758084015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/nepal-telecom-and-apple-jointly.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/2435723042758084015?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/2435723042758084015?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/nepal-telecom-and-apple-jointly.html' title='Nepal Telecom and Apple jointly launching the cheaper, 8GB iPhone 4'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-eFroKDElBZk/TmzKlMeqzgI/AAAAAAAAABI/KNISVxTp_z4/s72-c/019734582e4aede3cd63b60fa1622766_330.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;CUQFRXo9fSp7ImA9WhdVEEw.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-6711448877103175255</id><published>2011-09-14T08:15:00.000-07:00</published><updated>2011-09-14T08:15:14.465-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-09-14T08:15:14.465-07:00</app:edited><title>Model Question Paper of : Introduction to System Administration (CSC - 401)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Attempt Any &lt;u&gt;Five&lt;/u&gt; Questions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q1 &lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] Briefly describe the Linux file system and Disk partitioning for Web Server Installation.&lt;span style="mso-tab-count: 10;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[8]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;[b] Explain the stages of Linux boot process.&lt;span style="mso-tab-count: 5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q2&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] Explain with syntax of commands adding, modifying users and groups in Linux with file, directory, and device permission command. &lt;span style="mso-tab-count: 3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[b] What do you understand by quota system in Linux? Briefly write the common UNIX disk quota utilities.&lt;span style="mso-tab-count: 6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q3&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] What are the importance of system logging? How do you manage system log with log-rotate?&lt;span style="mso-tab-count: 9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[b] What do you mean by DNS resolver? Differentiate between Cache DNS and primary DNS with the concept of forwarding.&lt;span style="mso-tab-count: 5;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[8]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q4&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] What is X-window system? Explain the usage and importance of XDMCP with other ports and protocol required to access remote x-Window. &lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[b] What is masquerading? Describe iptables and ip6tables configuration for Linux with example. &lt;span style="mso-tab-count: 8;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q5&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] What is patching? Why do sometimes we need kernel patching?&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[b] Describe with basic SSH configuration to set restriction to normal users and make root users not permitted from remote login.&lt;span style="mso-tab-count: 4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[c] Describe the properties and features of SAMBA server.&lt;span style="mso-tab-count: 3;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q6&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[a] what should be the characteristics of System Administrator? How would you troubleshoot if your SMTP server has relay access deny problem.&lt;span style="mso-tab-count: 2;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in; text-indent: -.5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[b] What is NFS? Describe NFS operations with its basic architecture.&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[6]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;Q7&lt;span style="mso-tab-count: 1;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Write short notes on (any three)&lt;span style="mso-tab-count: 6;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[4+4+4]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;[a] Managing RAID on Linux and LVM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;[b] SeLinux&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;[c] Daemons and Service Startup controlling with xinetd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-left: .5in;"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="mso-bidi-font-size: 10.0pt;"&gt;[d] Virtual Web Hosting in Linux Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 10.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-US;"&gt;[e] Network Troubleshooting in Linux:TCPDUMP&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-6711448877103175255?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/6711448877103175255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/model-question-paper-of-introduction-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6711448877103175255?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6711448877103175255?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/09/model-question-paper-of-introduction-to.html' title='Model Question Paper of : Introduction to System Administration (CSC - 401)'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CEcDQ3Y8eSp7ImA9WhdXEUw.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-6462543796774826897</id><published>2011-08-23T08:07:00.000-07:00</published><updated>2011-08-23T08:07:52.871-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-08-23T08:07:52.871-07:00</app:edited><title>MSC IT( computer science)</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;a href="http://www.cdcsit.edu.np/index.php?cdcsit=syllabus"&gt;http://www.cdcsit.edu.np/index.php?cdcsit=syllabus&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-6462543796774826897?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/6462543796774826897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/msc-it-computer-science.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6462543796774826897?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6462543796774826897?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/msc-it-computer-science.html' title='MSC IT( computer science)'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;Ck4DQHg-fip7ImA9WhdXEUw.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-3595312245237025502</id><published>2011-08-23T07:49:00.000-07:00</published><updated>2011-08-23T07:49:31.656-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-08-23T07:49:31.656-07:00</app:edited><title>TO ALL OUTING GROUP MEMBERS!!!!!!!!!!!!!!!!!!!!!!!!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;b&gt;THURSDAY DRY PICNIC JANE HAI KETAHARU HO!! SABLE MAASU, RAKSI LIYAUNE!&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 14px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 14px;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-3595312245237025502?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/3595312245237025502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/to-all-outing-group-members.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3595312245237025502?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/3595312245237025502?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/to-all-outing-group-members.html' title='TO ALL OUTING GROUP MEMBERS!!!!!!!!!!!!!!!!!!!!!!!!'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;A0YFR3w-eCp7ImA9WhdQGU4.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-1055553750504525175</id><published>2011-08-21T07:58:00.000-07:00</published><updated>2011-08-21T08:05:16.250-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-08-21T08:05:16.250-07:00</app:edited><title>Relation between HOD and St.Xavier's College (father) with 1st batch Computer science students !!!!</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 14px;"&gt;&lt;b&gt;need 2 go colez 2moro at 9:30........HOD has proposed a 15 day vacation despite xams 2 be held at Poush...&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px; line-height: 14px;"&gt;&lt;b&gt;note ---:me absent tomorrow...........&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-1055553750504525175?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/1055553750504525175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/relation-between-hod-and-stxariers.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/1055553750504525175?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/1055553750504525175?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/relation-between-hod-and-stxariers.html' title='Relation between HOD and St.Xavier&apos;s College (father) with 1st batch Computer science students !!!!'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>1</thr:total></entry><entry gd:etag='W/&quot;DkYGQXszfCp7ImA9WhdQGU8.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-8660602281912043680</id><published>2011-08-21T03:55:00.000-07:00</published><updated>2011-08-21T03:55:20.584-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-08-21T03:55:20.584-07:00</app:edited><title>Presidency College(Centennial Higher Secondary School)+2 and Bachelor level</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;"Quality Education For All"&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
TEL-----+977 01 4485312, &amp;nbsp;4499301&lt;br /&gt;
P.o.BOX-----20639,Jorpati -2 ,Kathmandu&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;+2 SUBJECTS OFFERED&lt;/b&gt; according to &lt;span class="Apple-style-span" style="text-decoration: underline;"&gt;&lt;b&gt;H.S.E.B&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1)&lt;b&gt;Management&lt;/b&gt;&lt;br /&gt;
2)&lt;b&gt;Humanities&lt;/b&gt;&lt;br /&gt;
3)&lt;b&gt;Education&lt;/b&gt;&lt;br /&gt;
4)&lt;b&gt;B.B.S(T.U)&lt;/b&gt;&lt;br /&gt;
5)&lt;b&gt;Computer Science&lt;/b&gt;&lt;br /&gt;
(&lt;b&gt;BScCSIT&lt;/b&gt;)4 years degree with eight semesters &amp;nbsp; &amp;nbsp;(Affiliated to &lt;b&gt;Tribhuvan University&lt;/b&gt;)&lt;br /&gt;
Note:&lt;b&gt;FUTURE PLAN(this course will be lead by St.Xavier's students batch 2064B.S)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Curriculum Category&lt;/b&gt;&lt;br /&gt;
Computer Science core course ------:75 Credit&amp;nbsp;hours&lt;br /&gt;
Natural science elective course------------:6Credit&amp;nbsp;hours&lt;br /&gt;
Mathematics course-----------------------:12Credit hours&lt;br /&gt;
Social Science and Management course----:3Credit hours&lt;br /&gt;
Computer Science Elective course---------:9Credit hours.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MISSION&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. a passion for excellence&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. compassionate commitment&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. competence&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. creativity&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. leadership for service to all&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;. innovative Spirit.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-8660602281912043680?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/8660602281912043680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/presidency-collegecentennial-higher.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8660602281912043680?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/8660602281912043680?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/presidency-collegecentennial-higher.html' title='Presidency College(Centennial Higher Secondary School)+2 and Bachelor level'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;C0EGQn4zfCp7ImA9WhdQGU8.&quot;'><id>tag:blogger.com,1999:blog-3065029837003363.post-6927919533947862450</id><published>2011-08-21T03:13:00.000-07:00</published><updated>2011-08-21T03:13:43.084-07:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2011-08-21T03:13:43.084-07:00</app:edited><title>centennial</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;School name................centennial higher secondary school.........&lt;div&gt;address........................Bouddha, Jorpati, 2.......KATHMANDU&lt;/div&gt;&lt;div&gt;ESTD............................2050 B.S&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3065029837003363-6927919533947862450?l=centennial4485312.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://centennial4485312.blogspot.com/feeds/6927919533947862450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/centennial_21.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6927919533947862450?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3065029837003363/posts/default/6927919533947862450?v=2'/><link rel='alternate' type='text/html' href='http://centennial4485312.blogspot.com/2011/08/centennial_21.html' title='centennial'/><author><name>Santosh Rijal</name><uri>http://www.blogger.com/profile/06137594163616885382</uri><email>noreply@blogger.com</email></author><thr:total>0</thr:total></entry></feed>