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

<channel>
	<title>Linux Mail Server Setup and Howto Guide</title>
	<atom:link href="http://www.linuxmail.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxmail.info</link>
	<description>Rapidly deploy Linux based mail solutions today</description>
	<lastBuildDate>Sat, 13 Feb 2010 23:39:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Configure Postfix to Accept All Mails</title>
		<link>http://www.linuxmail.info/configure-postfix-accept-all-mails/</link>
		<comments>http://www.linuxmail.info/configure-postfix-accept-all-mails/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 23:23:45 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=375</guid>
		<description><![CDATA[This article describes how to configure Postfix to accept all emails without doing any recipient checking.]]></description>
			<content:encoded><![CDATA[<p>This article describes how to configure Postfix to blindly accept all emails, meaning receive email without checking the recipient. This setup is useful as a <a href="/backup-mail-postfix/">backup or archive mail destination.</a></p>
<span id="more-375"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Create the Virtual Mail User Account</h2>
<div class="clearfix steps"><a href="/images/centos-5/create-user-vmail.png"><img class="preview" alt="Create user vmail" src="/images/centos-5/t-create-user-vmail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Create a new user, we will call it <em>vmail.</em> Change the <em>Login Shell</em> to <em>/sbin/nologin</em>, this user account should not be used for logging in. <a href="/how-to-add-remove-user-accounts-centos-5/">Learn how to use the User Manager application here.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-vmail.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-vmail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Take note of the <em>User ID</em> and <em>Home Directory</em> of vmail.</div>
<div class="clearfix steps"><a href="/images/centos-5/user-manager-vmail-groups.png"><img class="preview" alt="User Manager" src="/images/centos-5/t-user-manager-vmail-groups.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click the <em>Groups</em> tab and now note down the <em>Group ID</em>  of vmail. We&#8217;ll be needing all of them later.</div>
<h2>Configuring Postfix and Dovecot</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-main-cf-dovecot-transport.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-edit-main-cf-dovecot-transport.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/postfix/main.cf</em> and add the lines below.
<pre class="steps">
virtual_transport = dovecot
virtual_mailbox_domains = $mydomain
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-main-cf-dovecot-transport.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-edit-main-cf-dovecot-transport.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/dovecot.conf</em> and add the lines below.</div>
<pre class="steps">
userdb static {
  args = uid=501 gid=501 home=/home/vmail/%u allow_all_users=yes
}

socket listen {
  master {
    path = /var/run/dovecot/auth-master
    mode = 0600
    user = vmail
    group = vmail
  }
}
</pre>
<p><em>uid</em>, <em>gid</em> and <em>home</em> should contain the user id, group id and home directory respectively of the vmail user account.</p>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />Comment out all the other <em>passdb</em> and <em>userdb</em> sections except for those specified above to ensure that nothing will conflict with our virtual accounts setting.</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Restart the Postfix or MailScanner service if you have installed it. Do the same for Dovecot. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you encounter any problems, check the log file at <em>/var/log/maillog.</em></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/configure-postfix-accept-all-mails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customize SquirrelMail Login Page</title>
		<link>http://www.linuxmail.info/customize-squirrelmail-login-page/</link>
		<comments>http://www.linuxmail.info/customize-squirrelmail-login-page/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 09:41:09 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=374</guid>
		<description><![CDATA[This article describes how to customize the SquirrelMail login page to suit your needs.]]></description>
			<content:encoded><![CDATA[<div class="pad-top steps"><a href="/images/centos-5/squirrelmail.png"><img class="preview" alt="SquirrelMail" src="/images/centos-5/t-squirrelmail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>The SquirrelMail login page, shown on the left, can easily be changed to suit your needs. This article describes how to customize the SquirrelMail login page.</div>
<span id="more-374"></span>
<br class="clearfix" />
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2 id="configure-squirrelmail">Configuring SquirrelMail</h2>
<div class="clearfix steps"><a href="/images/centos-5/sm-config.png"><img class="preview" alt="SquirrelMail Configuration" src="/images/centos-5/t-sm-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. From a Terminal window, type in <tt>/usr/share/squirrelmail/config/conf.pl</tt> and press <em>Enter</em>. This will launch the <strong>SquirrelMail Configuration</strong> utility.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If your Terminal window has a white background, make sure that the colors are off by looking for the command <tt>Turn color on</tt>. If the command is <tt>Turn color off</tt>, type in C and press <em>Enter</em> to turn the colors off. This will ensure that you will be able to read all of the text.</div>
<div class="clearfix steps"><a href="/images/centos-5/sm-config-organization.png"><img class="preview" alt="SquirrelMail Configuration" src="/images/centos-5/t-sm-config-organization.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type in <tt>1</tt> and press <em>Enter</em> to select the <strong>Organization Preferences</strong> menu.</div>
<div class="clearfix steps"><a href="/images/centos-5/sm-config-organization-2.png"><img class="preview" alt="SquirrelMail Configuration" src="/images/centos-5/t-sm-config-organization-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Update the options to suit your needs. For the logo, put it into the <em>/usr/share/squirrelmail/images/</em> directory. Save your changes when you are done.</div> 
<div class="clearfix steps"><a href="/images/centos-5/squirrelmail-customized-login.png"><img class="preview" alt="SquirrelMail" src="/images/centos-5/t-squirrelmail-customized-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Try out the result.</div> ]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/customize-squirrelmail-login-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Incoming Mail in Postfix</title>
		<link>http://www.linuxmail.info/backup-mail-postfix/</link>
		<comments>http://www.linuxmail.info/backup-mail-postfix/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 03:59:27 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=373</guid>
		<description><![CDATA[This article will show you how to copy incoming mail to another mail server using the blind carbon copy (BCC) feature in Postfix. This capability is useful for backup, archive or disaster recovery purposes.


1. Edit the file /etc/postfix/main.cf and add the lines below.

recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
transport_maps = hash:/etc/postfix/transport
smtp_generic_maps = pcre:/etc/postfix/generic.pcre


2. Create the file /etc/postfix/backup_bcc.pcre containing 

/^(.*)@acme\.local$/ [...]]]></description>
			<content:encoded><![CDATA[<p>This article will show you how to copy incoming mail to another mail server using the blind carbon copy (BCC) feature in Postfix. This capability is useful for backup, archive or disaster recovery purposes.</p>
<span id="more-373"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/edit-main-cf-backup.png"><img class="preview" alt="Edit main.cf" src="/images/centos-5/t-edit-main-cf-backup.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/postfix/main.cf</em> and add the lines below.
<pre class="steps">
recipient_bcc_maps = pcre:/etc/postfix/backup_bcc.pcre
transport_maps = hash:/etc/postfix/transport
smtp_generic_maps = pcre:/etc/postfix/generic.pcre
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-backup-bcc-pcre.png"><img class="preview" alt="Edit backup-bcc.pcre" src="/images/centos-5/t-edit-backup-bcc-pcre.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Create the file <em>/etc/postfix/backup_bcc.pcre</em> containing 
<pre class="steps">
/^(.*)@acme\.local$/ $1@backup.invalid
</pre>
<p>which tells Postfix to BCC emails to the domain <em>backup.invalid</em>.</p>
<table>
<tr><th>Email for</th><th>BCC to</th></tr>
<tr><td>johndoe@acme.local</td><td>johndoe@backup.invalid</td></tr>
<tr><td>janedoe@acme.local</td><td>janedoe@backup.invalid</td></tr>
</table>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-transport-backup.png"><img class="preview" alt="Edit transport" src="/images/centos-5/t-edit-transport-backup.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">3. Edit the file <em>/etc/postfix/transport</em> and add the line below.
<pre class="steps">
backup.invalid smtp:[192.168.1.4]
</pre>
<p>Replace the IP address with the IP address of your backup mail server.</p>
<p>Next, type in the command below to convert it to a database file.</p>
<pre class="steps">
postmap /etc/postfix/transport
</pre>
<p>This tells Postfix to send all emails for the domain <em>backup.invalid</em> to the specified mail server.</p>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-generic-pcre.png"><img class="preview" alt="Edit generic.pcre" src="/images/centos-5/t-edit-generic-pcre.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">4. Create the file <em>/etc/postfix/generic.pcre</em> containing 
<pre class="steps">
/^(.*)@backup\.invalid$/ $1@acme.local
</pre>
<p>which tells Postfix to change the email address back to the original recipient before sending it out.</p>
<table>
<tr><th>BCC to</th><th>Email for</th></tr>
<tr><td>johndoe@backup.invalid</td><td>johndoe@acme.local</td></tr>
<tr><td>janedoe@backup.invalid</td><td>janedoe@acme.local</td></tr>
</table>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Restart the Postfix or MailScanner service if you have installed it. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The destination <a href="/configure-postfix-accept-all-mails/">Postfix server can be configured to accept emails without validating the recipient.</a></div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />If you encounter any problems, check the log file at <em>/var/log/maillog.</em></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/backup-mail-postfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using LDAP as NIS Replacement</title>
		<link>http://www.linuxmail.info/ldap-nis-replace/</link>
		<comments>http://www.linuxmail.info/ldap-nis-replace/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 17:24:20 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[389 Directory Server]]></category>
		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=372</guid>
		<description><![CDATA[This article describes how to use the 389 Directory Server to function as a Network Information Service by showing how to store the list of service as an example.]]></description>
			<content:encoded><![CDATA[<p>All the information you can store in a <em>Network Information Service (NIS)</em> can also be stored in an LDAP server. This article describes how to use the 389 Directory Server to function as a Network Information Service by showing how to store the list of service as an example.</p>
<span id="more-372"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Creating an LDAP entry</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-org-unit-services.png"><img class="preview" alt="Create Organizational Unit" src="/images/centos-5/t-389-ds-create-new-org-unit-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/389-management-console-howto/#create-org-unit">Create a new organizational unit</a> called <em>Services</em> that will hold all your services.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-create-new-others.png"><img class="preview" alt="Create Object" src="/images/centos-5/t-389-ds-create-new-others.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select the Services organizational unit. Right click an empty space in the right pane, select <em>New</em> then click <em>Other</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-new-object-ipservice.png"><img class="preview" alt="New Object" src="/images/centos-5/t-389-ds-new-object-ipservice.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>New Object</strong> window, select <em>ipservice</em> and click <em>OK</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-new-ipserviceprotocol.png"><img class="preview" alt="Property Editor" src="/images/centos-5/t-389-ds-new-ipserviceprotocol.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Fill in the <em>Full name</em>, <em>ipserviceport</em> and <em>ipserviceprotocol</em> and click the <em>Change</em> button.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ipservice-change-naming-attribute.png"><img class="preview" alt="Change Naming Attribute" src="/images/centos-5/t-389-ds-ipservice-change-naming-attribute.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In the <strong>Change Naming Attribute</strong> window, check <em>cn</em> and uncheck <em>ipserviceprotocol</em>. Click the <em>OK</em> button to close the Change Naming window and click <em>OK</em> again to close the Property Editor window.</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-directory-services.png"><img class="preview" alt="Directory Services" src="/images/centos-5/t-389-ds-directory-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. You should now have a service entry.</div>
<h2>Configuring the Client</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-ldap-conf-services.png"><img class="preview" alt="Edit ldap.conf" src="/images/centos-5/t-edit-ldap-conf-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Edit the file <em>/etc/ldap.conf</em> and update at least the items below with the appropriate values for your environment.
<pre class="steps">
host ldap.acme.local
base dc=acme,dc=local
nss_base_services ou=Services,dc=acme,dc=local?one
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-nsswitch-conf.png"><img class="preview" alt="Edit nsswitch.conf" src="/images/centos-5/t-edit-nsswitch-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Edit the file <em>/etc/nsswitch.conf</em> and add <em>ldap</em> in the <em>services</em> entry. This will tell the system to also look in the LDAP server when enumerating the list of service.</div>
<div class="clearfix steps"><a href="/images/centos-5/getent-services.png"><img class="preview" alt="Edit nsswitch.conf" src="/images/centos-5/t-getent-services.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. To test, type in the command below. You should be able to see the entry you added.
<pre class="steps">
getent services
</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/ldap-nis-replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix Backup MX</title>
		<link>http://www.linuxmail.info/postfix-backup-mx/</link>
		<comments>http://www.linuxmail.info/postfix-backup-mx/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 15:42:49 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Postfix]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=371</guid>
		<description><![CDATA[This article describes how to configure Postfix to act as a backup MX server.]]></description>
			<content:encoded><![CDATA[<p>Postfix can be configured to act as a backup mail server. A backup MX server accepts mail if the primary mail server goes down and will forward all mails in its queue if the primary mail server goes back online.</p>
<span id="more-371"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<img src="/images/backup-mx.png" alt="Backup MX" style="width: 450px; height: 320px; margin: auto; display: block" />
<p>This article describes how to configure Postfix to act as a backup MX server.</p>
<h2>Configuring Postfix</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-main-cf-relay.png"><img class="preview" alt="Edit main.cf" src="/images/centos-5/t-edit-main-cf-relay.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Edit the file <em>/etc/postfix/main.cf</em> and update the lines below.
<pre class="steps">
mynetworks = 127.0.0.0/8
relay_domains = $mydestination acme.local
smtpd_recipient_restrictions = permit_mynetworks, 
    reject_unauth_destination
transport_maps = hash:/etc/postfix/transport
</pre>
<p>Replace <em>acme.local</em> with your own domain name.</p>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-transport-relay.png"><img class="preview" alt="Edit transport" src="/images/centos-5/t-edit-transport-relay.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Edit the file <em>/etc/postfix/transport</em> and add the line below.
<pre class="steps">
acme.local :[192.168.3.1]
</pre>
<p>Replace <em>acme.local</em> with your own domain name and <em>192.168.3.1</em> with the hostname or IP address of your primary mail server.</p>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/postmap-transport-relay.png"><img class="preview" alt="postmap transport" src="/images/centos-5/t-postmap-transport-relay.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Type the line command below to create a transport database file.
<pre class="steps">
postmap /etc/postfix/transport
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Restart the Postfix or MailScanner service if you have installed it. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services here.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. You should now be able to send mails to your backup mail server and those mails will be automatically forwarded to your primary mail server. See <a href="/postfix-smtp-server-howto-centos-5/#test-postfix">Test Postfix using Telnet</a>.</div>
<h2>Backup MX Notes</h2>
<p>It is easy to setup a backup mail server but you also need to consider the items below.</p>
<ul>
<li><p><strong>Add DNS MX Record.</strong> In order for your backup mail server to be identified over the internet, you need to add a lower priority DNS MX record. A higher number means lower priority.</p>
<table style="width: 100%; text-align: center; margin-bottom: 1em">
<tr style="background-color: #dbe6ea"><th>Domain</th><th>TTL</th><th>Priority</th><th>Mail Server Name</th></tr>
<tr><td>acme.local</td><td>86400</td><td>10</td><td>mail.acme.local</td></tr>
<tr><td>acme.local</td><td>86400</td><td>20</td><td>mail2.acme.local</td></tr>
</table>
</li>
<li><p><strong>Add Antivirus and Antispam Filtering.</strong> Make sure to have the same or better <a href="/mail-server-setup-centos-5/#antivirus">virus and spam protection</a> in your backup mail server as you have in your primary mail server. Otherwise, viruses and spams will be entering your inbox through the backdoor.</p></li>
<li><p><strong>Verify Recipient.</strong> If possible, you also need to apply the same recipient verification method you used in your primary mail server. This will allow your backup mail server to reject all invalid recipient address instead of having the primary mail server bounce the forwarded emails with invalid recipients. Use the <em>relay_recipient_maps</em> setting in <em>/etc/postfix/main.cf</em> to specify the valid recipients.</p></li>
<li><p><strong>Relay Only.</strong> In your <em>/etc/postfix/main.cf</em>, make sure the relay domain is not found in <em>mydestination</em>, <em>virtual_alias_domains</em> and <em>virtual_mailbox_domains</em>. Otherwise, the backup mail server will not forward emails to the primary mail server and will instead store it into its own mailbox.</p></li>
<li><p><strong>Use IP Address.</strong> By specifying the hostname or IP address in the transport file, the DNS MX lookup can be eliminated. Specifying the IP address will be even better since this will eliminate the need for any DNS lookup. It will also avoid relay loopback problems if you are using port forwarding in your backup mail server.</p></li>
<li><p><strong>Flush Mail Queue.</strong> You can force Postfix to immediately send all the mail in its queue by typing in the command below. This useful after bringing the primary mail server back online to eliminate the waiting period for the backup mail server to resend mails in its queue.</p>
<pre class="steps">
postfix flush
</pre>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/postfix-backup-mx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Email Works</title>
		<link>http://www.linuxmail.info/how-email-works/</link>
		<comments>http://www.linuxmail.info/how-email-works/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 14:43:29 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Technical Articles]]></category>

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

		<guid isPermaLink="false">http://www.linuxmail.info/?p=369</guid>
		<description><![CDATA[This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.]]></description>
			<content:encoded><![CDATA[<p>An SSL connection to Active Directory is required in order to update a user&#8217;s password using LDAP. This article describes how to configure and test 389 Directory Server to synchronize with an Active Directory Server via an SSL LDAP connection.</p>
<span id="more-369"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Configuring SSL Connection</h2>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-issued-certs.png"><img class="preview" alt="Certificate Authority" src="/images/windows-2003/t-certificate-authority-issued-certs.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Make sure SSL is enabled in Active Directory. <a href="/enable-ldap-ssl-active-directory/">Learn how to enable LDAP SSL in Active Directory.</a></div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/export-ssl-certificate-windows-2003/">Export a base-64 encoded SSL certificate from your Active Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-1.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Make sure SSL is enabled in 389 Directory Server. <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">Learn how to enable LDAP SSL in 389 Directory Server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-manage-certificates-3.png"><img class="preview" alt="389 Directory Manage Certificates" src="/images/centos-5/t-389-ds-manage-certificates-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. <a href="/install-ssl-certificate-fds/">Install the exported SSL certificate into 389 Directory Server.</a></div>
<h2>Testing SSL Connection</h2>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch.png"><img class="preview" alt="ldapsearch" src="/images/centos-5/t-389-ds-ldapsearch.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type the command below to test if you can do a plain LDAP connection to your Active Directory server. You&#8217;ll be asked for the password of the user account you specified in the <strong>-D</strong> option.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - "objectclass=*"
</pre>
<p>Replace the value after <strong>-b</strong> with your search base, the value after <strong>-h</strong> with your server hostname and the value after <strong>-D</strong> with the distinguished name of a user account having read/write access to your Active Directory server.</p>
</div>
<div class="clearfix steps"><a href="/images/centos-5/389-ds-ldapsearch-ssl.png"><img class="preview" alt="ldapsearch SSL" src="/images/centos-5/t-389-ds-ldapsearch-ssl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type the command below to test if you can do an SSL enabled LDAP connection to your Active Directory server.
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" 
-h server.acme.local -R 
-D "cn=fds,cn=users,dc=acme,dc=local" 
-w - -Z -P /etc/dirsrv/slapd-mail "objectclass=*"
</pre>
</div>
<p>Replace the value after <strong>-P</strong> with the settings path of your 389 Directory server.</p>
<p>If the two test above succeeds, you can use SSL connection to synchronize with Active Directory.</p>
<h2>Troubleshooting</h2>
<p>If the output from the test above contains</p>
<ul>
<li><em>Invalid credentials</em><br /><p>Check the distinguished name of the user account after the <strong>-D</strong> option and the bind password for it. To check the distinguished name, type the command below.</p>
<pre class="steps">
/usr/lib/mozldap/ldapsearch -b "dc=acme,dc=local" -h server 
-R -D "ACME\fds" -w - "samaccountname=fds" DN
</pre>
<p>Replace the value <strong>ACME</strong> with your own domain and <strong>fds</strong> with your own user name. It will output the distinguished name of the user name you specified.</p>
</li>
<li><em>TCP connection reset by peer</em><br /><p>Check the host name you specified after <strong>-h</strong>. If the host name is correct, check the firewall.</p></li>
<li><em>security library: bad database</em><br /><p>Make sure <a href="/389-directory-server-setup-howto-centos-5/#setup-ssl">SSL is enabled in 389 Directory Server.</a> And check the path you specified after <strong>-P</strong>.</p></li>
<li><em>Encountered end of file</em><br /><p>After <a href="/enable-ldap-ssl-active-directory/">configuring SSL in Active Directory</a>, you probably did not reboot your Active Directory server. Reboot your AD server to complete the changes and try the test again.</p></li>
<li><em>Peer&#8217;s Certificate has expired</em><br /><p>Make sure the <a href="/synchronize-system-clock-centos-5/">system clock is synchronized in the Linux server</a> and the Active Directory server. And the check the certificate, it may indeed be expired.</p></li>
<li><em>Peer&#8217;s certificate issuer has been marked as not trusted by the user</em><br /><p>Check the trust setting you specified in the certificate of the 389 Directory server. <a href="/install-ssl-certificate-fds/#intended-purpose"><em>Making connections to other servers</em> should be checked.</a></p></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/389-directory-active-directory-ssl-synch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Synchronize System Clock in RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/synchronize-system-clock-centos-5/</link>
		<comments>http://www.linuxmail.info/synchronize-system-clock-centos-5/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 05:05:27 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=368</guid>
		<description><![CDATA[This article describes how to synchronize the system clock with an NTP server.]]></description>
			<content:encoded><![CDATA[<p>Services in Linux like cron and kerberos relies on an accurate and synchronized clock. This article describes how to synchronize the system clock with an NTP server.</p>
<span id="more-368"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<div class="clearfix steps"><a href="/images/centos-5/date-time-shortcut.png"><img class="preview" alt="Date Time Properties Shortcut" src="/images/centos-5/t-date-time-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> and click <em>Date &#038; Time</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties.png"><img class="preview" alt="Date Time Properties" src="/images/centos-5/t-date-time-properties.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Date/Time Properties</strong> window, click the <em>Network Time Protocol</em> tab.</div>
<div class="clearfix steps"><a href="/images/centos-5/date-time-properties-2.png"><img class="preview" alt="Date Time Properties" src="/images/centos-5/t-date-time-properties-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Check <em>Enable Network Time Protocol</em>. Next click <em>Show advanced options</em> and check <em>Synchronize system clock before starting service</em>. Finally, click <em>OK</em>.</div>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can also do this from the command line, below are the equivalent commands. You need to have root level access to use the commands below.</div>
<ul class="spaced">
<li><tt><strong>/usr/sbin/ntpdate pool.ntp.org</strong></tt><br />immediately synchronizes the system clock. Make sure the ntpd service is not running before using this command.</li>
<li><tt><strong>/sbin/service ntpd start</strong></tt><br />starts the ntpd service</li>
<li><tt><strong>/sbin/service ntpd stop</strong></tt><br />stops the ntpd service</li>
<li><tt><strong>/etc/ntp.conf</strong></tt><br />the above is not a command, it is the location of the ntpd configuration file</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/synchronize-system-clock-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BIND Setup Howto</title>
		<link>http://www.linuxmail.info/bind-setup-howto/</link>
		<comments>http://www.linuxmail.info/bind-setup-howto/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 00:52:28 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=367</guid>
		<description><![CDATA[This article describes how to install and configure BIND in Red Hat Enterprise Linux 5 or CentOS 5.]]></description>
			<content:encoded><![CDATA[<p><strong>BIND</strong> is an open-source software that implements the Domain Name System (DNS) protocols for the Internet. The name BIND stands for &#8220;Berkeley Internet Name Domain&#8221;. This article describes how to install and configure BIND in Red Hat Enterprise Linux 5 or CentOS 5.</p>
<span id="more-367"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Installing BIND</h2>
<p>The steps below will install the chrooted BIND and the GUI configuration tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-install.png"><img class="preview" alt="Install Bind" src="/images/centos-5/t-bind-install.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type in the command below to install BIND.
<pre class="steps">
yum install bind-chroot system-config-bind
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Start the <em>named</em> service. <a href="/how-to-start-stop-services-centos-5/">Learn how to start and stop services.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Open the TCP port 53 and UDP port 53. <a href="/firewall-configuration-centos-5/">Learn how to configure the firewall.</a></div>
<h2>Configuring BIND</h2>
<p>The steps shows how to configure BIND using the GUI configuration tool.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-shortcut.png"><img class="preview" alt="Bind Shortcut" src="/images/centos-5/t-bind-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>System</em>, select <em>Administration</em> and click <em>Domain Name System</em>. This will launch the <strong>BIND Configuration GUI</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configure.png"><img class="preview" alt="BIND Configuration GUI" src="/images/centos-5/t-bind-configure.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Click <em>Ok</em> to initialize BIND with default values.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration.png"><img class="preview" alt="Bind Configuration GUI" src="/images/centos-5/t-bind-configuration.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. BIND has now been initialized. We can now create a DNS zone and add DNS records.</div>
<h2>Creating a DNS Zone</h2>
<p>The steps below will show you how to create a DNS zone named &#8220;acme.local&#8221;.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-add-zone.png"><img class="preview" alt="BIND add zone" src="/images/centos-5/t-bind-configuration-add-zone.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. To create a DNS zone, right click <em>DNS Server</em>, select <em>Add</em> and click <em>Zone</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-new-zone-1.png"><img class="preview" alt="BIND new zone" src="/images/centos-5/t-bind-configuration-new-zone-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>New Zone</strong> window, click the <em>Ok</em> button under <em>Class</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-new-zone-2.png"><img class="preview" alt="BIND new zone" src="/images/centos-5/t-bind-configuration-new-zone-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Next, click the <em>Ok</em> button under <em>Origin Type</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-new-zone-3.png"><img class="preview" alt="BIND new zone" src="/images/centos-5/t-bind-configuration-new-zone-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Provide the name of the zone and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-new-zone-4.png"><img class="preview" alt="BIND new zone" src="/images/centos-5/t-bind-configuration-new-zone-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Review the various settings and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-save.png"><img class="preview" alt="BIND save" src="/images/centos-5/t-bind-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Click <em>Save</em> and click <em>Yes</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-2.png"><img class="preview" alt="BIND configuration GUI" src="/images/centos-5/t-bind-configuration-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. You now have a new DNS zone.</div>
<h2>Creating DNS Records</h2>
<p>The steps below describes how to create some of the most common DNS records.</p>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="8337256735";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h3>Creating an A record</h3>
<p>An A record maps a hostname to its IPv4 address.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-add-ipv4.png"><img class="preview" alt="BIND add A" src="/images/centos-5/t-bind-configuration-add-ipv4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click the zone you where you want to add an A record, select <em>Add</em> and click <em>A IPv4 Address</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-aipv4.png"><img class="preview" alt="BIND add A" src="/images/centos-5/t-bind-configuration-aipv4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Specify the <em>Domain Name</em> and <em>IPv4 Address</em> and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-save.png"><img class="preview" alt="BIND save" src="/images/centos-5/t-bind-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Save</em> and click <em>Yes</em>.</div>
<h3>Creating a CNAME record</h3>
<p>A CNAME record specifies that a  domain name is an alias of another domain name.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-add-cname.png"><img class="preview" alt="BIND add CNAME" src="/images/centos-5/t-bind-configuration-add-cname.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click the zone you where you want to add a CNAME record, select <em>Add</em> and click <em>CNAME Alias</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-cname-alias.png"><img class="preview" alt="BIND add CNAME" src="/images/centos-5/t-bind-cname-alias.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Specify the <em>Domain Name</em> and <em>Canonical Name</em> (target domain name) and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-save.png"><img class="preview" alt="BIND save" src="/images/centos-5/t-bind-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Save</em> and click <em>Yes</em>.</div>
<h3>Creating an MX record</h3>
<p>An MX record specifies how Internet e-mail should be routed using SMTP.</p>
<div class="clearfix steps"><a href="/images/centos-5/bind-configuration-add-mx.png"><img class="preview" alt="BIND add MX" src="/images/centos-5/t-bind-configuration-add-mx.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Right click the zone you where you want to add an MX record, select <em>Add</em> and click <em>MX Mail Exchange</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-mxmail-exchange.png"><img class="preview" alt="BIND add MX" src="/images/centos-5/t-bind-mxmail-exchange.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Specify the <em>Mail Server Name</em> and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/bind-save.png"><img class="preview" alt="BIND save" src="/images/centos-5/t-bind-save.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Click <em>Save</em> and click <em>Yes</em>.</div>
<h2>Testing BIND</h2>
<p>To test your BIND setup, you can use the <em>nslookup</em> and <em>dig</em> utility.</p>
<div class="clearfix steps"><a href="/images/centos-5/nslookup-localhost.png"><img class="preview" alt="BIND add MX" src="/images/centos-5/t-nslookup-localhost.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type the command below in a terminal window to use nslookup
<pre class="steps">
nslookup mail.acme.local localhost
</pre>
Replace <em>mail.acme.local</em> with the domain you want to check. If your DNS server is not on <em>localhost</em> then change it.
</div>
<div class="clearfix steps"><a href="/images/centos-5/dig-localhost.png"><img class="preview" alt="BIND add MX" src="/images/centos-5/t-dig-localhost.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type in the command below to query any records using dig.
<pre class="steps">
dig @localhost acme.local ANY
</pre>
Replace <em>acme.local</em> with your own domain. If your DNS server is not on <em>localhost</em> then change it.
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/bind-setup-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JXplorer Setup Howto</title>
		<link>http://www.linuxmail.info/jxplorer-setup-howto/</link>
		<comments>http://www.linuxmail.info/jxplorer-setup-howto/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 09:00:44 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
				<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=361</guid>
		<description><![CDATA[This article describes to how install the JXplorer open source ldap browser.]]></description>
			<content:encoded><![CDATA[<p><strong>JXplorer</strong> is a standards compliant general purpose open source ldap browser that can be used to read and search any ldap directory, or any X500 directory with an ldap interface. This article describes to how install the JXplorer open source ldap browser.</p>
<span id="more-361"></span>
<div class="post-info-spacing"><script type="text/javascript">google_ad_client="pub-3384844279561399";google_ad_slot="5340126843";google_ad_width=336;google_ad_height=280;</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>

<h2>Installing JXplorer</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal-java-version.png"><img class="preview" alt="Java" src="/images/centos-5/t-terminal-java-version.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/java-jre-setup-howto/">Install the Java Runtime Environment.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-download.png"><img class="preview" alt="JXplorer download" src="/images/centos-5/t-jxplorer-download.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Download the JXplorer deploy bz2 archive at <a href="http://sourceforge.net/projects/jxplorer/files/">http://sourceforge.net/projects/jxplorer/files/</a></div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-tar-bz2.png"><img class="preview" alt="JXplorer Archive" src="/images/centos-5/t-jxplorer-tar-bz2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Double click the downloaded file to launch the <strong>Archive Manager</strong>.</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-tar-bz2-archive.png"><img class="preview" alt="Archive Manager" src="/images/centos-5/t-jxplorer-tar-bz2-archive.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Click the <em>Extract</em> button to launch the <strong>Extract</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-tar-bz2-extract.png"><img class="preview" alt="Destination" src="/images/centos-5/t-jxplorer-tar-bz2-extract.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Change the destination folder by clicking on <em>Desktop</em>. In the popup menu, select <em>Other….</em></div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-tar-bz2-dest.png"><img class="preview" alt="Destination" src="/images/centos-5/t-jxplorer-tar-bz2-dest.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Click the notepad button and in the Location field type in <em>/opt/</em> and click Open.</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-tar-bz2-extract2.png"><img class="preview" alt="Extract" src="/images/centos-5/t-jxplorer-tar-bz2-extract2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Click the <em>Extract</em> button to start extracting</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-chmod.png"><img class="preview" alt="JXplorer chmod" src="/images/centos-5/t-jxplorer-chmod.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>8. Type in the commands below in a terminal window to give the proper permission to JXplorer.</div>
<h2>Starting JXplorer</h2>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-sh.png"><img class="preview" alt="JXplorer terminal" src="/images/centos-5/t-jxplorer-sh.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Type in the commands below in a terminal window to launch JXplorer.
<pre class="steps">
cd /opt/jxplorer
./jxplorer.sh
</pre>
</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer.png"><img class="preview" alt="JXplorer" src="/images/centos-5/t-jxplorer.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In <strong>JXplorer</strong>, click the connect button located in the upper left of the window.</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-connect.png"><img class="preview" alt="JXplorer Connect" src="/images/centos-5/t-jxplorer-connect.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Fill in the connection information and click <em>Ok</em>.</div>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-acme.png"><img class="preview" alt="JXplorer" src="/images/centos-5/t-jxplorer-acme.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. That&#8217;s it, it&#8217;s working.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/jxplorer-setup-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.914 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-03-13 09:28:51 -->
<!-- Compression = gzip -->