<?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"
	>

<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>
	<pubDate>Tue, 19 Aug 2008 09:08:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Mail Server Setup Guide for RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/mail-server-setup-centos-5/</link>
		<comments>http://www.linuxmail.info/mail-server-setup-centos-5/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 06:37:44 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[CentOS 5]]></category>

		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/mail-server-setup-centos-5/</guid>
		<description><![CDATA[How to setup a Linux mail server using Red Hat Enterprise Linux 5 or CentOS 5]]></description>
			<content:encoded><![CDATA[<div class="announcement_post"><p>This guide will show you how to setup an email server accessible using a POP3, IMAP or web browser client. It will also show you how to include virus scanning and spam tagging in the mail server. If you have an existing Active Directory or LDAP infrastructure, the last section will show you how to integrate it into your email server so you won&#8217;t have to maintain two sets of user accounts.</p>
<h2>How to install Linux</h2>
<p>You can use either <a href="http://www.redhat.com" >Red Hat Enterprise Linux 5</a> or <a href="http://www.centos.org" >CentOS 5</a>. RHEL 5 can be purchased from <a href="http://www.redhat.com" >Red Hat</a> and comes with support. CentOS 5 on the other hand can be downloaded <a href="http://isoredirect.centos.org/centos/5/isos/" >here</a>.</p>
<div class="clearfix steps"><a href="/images/centos-5/boot.png"><img class="preview" alt="Boot" src="/images/centos-5/t-boot.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/how-to-install-centos-5-linux/">How to install CentOS 5.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/welcome2.png"><img class="preview" alt="Welcome" src="/images/centos-5/t-welcome2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/how-to-setup-centos-5-linux/">How to setup CentOS 5.</a></div>
<p><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />To simplify our administration tasks, log in as the user <strong>root</strong> and specify your root password. This is not the recommended way of administering a Linux box, but for the tasks at hand it is the most efficient way.</p>
<h2>How to install SMTP, POP3, IMAP and Webmail service</h2>
<p>Postfix will be providing the SMTP service, Dovecot will provide the POP3 and IMAP service, while Apache and SquirrelMail will provide the Webmail service.</p>
<div class="clearfix steps"><a href="/images/centos-5/service-config-2.png"><img class="preview" alt="Postfix service" src="/images/centos-5/t-service-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/postfix-smtp-server-howto-centos-5/">How to install and setup Postfix SMTP server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-3.png"><img class="preview" alt="Dovecot service" src="/images/centos-5/t-service-config-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/install-setup-dovecot-centos-5/">How to install and setup Dovecot POP3 and IMAP server.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/telnet-smtp-sasl.png"><img class="preview" alt="Telnet SMTP SASL" src="/images/centos-5/t-telnet-smtp-sasl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/postfix-smtp-auth-dovecot-sasl/">Configure Postfix SMTP Authentication using Dovecot SASL.</a></div>
<div class="clearfix 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>4. <a href="/squirrelmail-webmail-setup-howto-in-centos-5/">How to install and setup SquirrelMail WebMail.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config-2.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. <a href="/firewall-configuration-centos-5/">How to configure the firewall.</a></div>
<h2>How to create mailboxes, aliases and distribution groups</h2>
<div class="clearfix steps"><a href="/images/centos-5/create-new-user.png"><img class="preview" alt="Create New User" src="/images/centos-5/t-create-new-user.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/how-to-add-remove-user-accounts-centos-5/">To create a mailbox, just create a new user account.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/edit-aliases.png"><img class="preview" alt="Edit /etc/aliases" src="/images/centos-5/t-edit-aliases.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/postfix-aliases-mailing-list/">How to setup a mailing list or proxy address in Postfix.</a></div>
<h2>How to add antivirus and antispam filtering</h2>
<p>We will be using Clam AntiVirus for virus scanning, SpamAssassin for the spam tagging and MailScanner to integrate them into Postfix.</p>
<div class="clearfix steps"><a href="/images/centos-5/mailscanner-download.png"><img class="preview" alt="Mailscanner" src="/images/centos-5/t-mailscanner-download.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/how-to-install-mailscanner-centos-5/">How to install MailScanner.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-4.png"><img class="preview" alt="Clamscan" src="/images/centos-5/t-terminal-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. <a href="/how-to-install-clam-antivirus-centos-5/">How to install Clam AntiVirus (ClamAV).</a></div>
<div class="clearfix steps"><a href="/images/centos-5/service-config-4.png"><img class="preview" alt="Mailscanner" src="/images/centos-5/t-service-config-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. <a href="/mailscanner-postfix-clamav-spamassassin-howto-centos-5/">MailScanner, ClamAV, SpamAssassin and Postfix Integration Guide.</a></div>
<p><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />You can greatly reduce the volume of spam and viruses reaching your mail server if you are willing to give up something. If you are willing to have your mail delayed (time), install <a href="/postgrey-postfix-anti-spam/">Postgrey</a>. If you are willing to spend (money), get the <a href="/barracuda-anti-spam-firewall/">Barracuda Spam Firewall</a>.</p>
<h2>How to integrate Active Directory/LDAP</h2>
<p>Integrating Active Directory/LDAP into your mail server will turn your Linux email server into a lean and mean Exchange like machine. And you won&#8217;t have to deal with Linux system accounts or edit configuration files for common tasks like creating mailboxes and mailing lists. And finally, you can provide your users with standard address book.</p>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-ad.png"><img class="preview" alt="JXplorer Active Directory" src="/images/centos-5/t-jxplorer-ad.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/postfix-dovecot-ldap-centos-5/">Active Directory/LDAP virtual users in Postfix and Dovecot.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/ad-group.png"><img class="preview" alt="Active Directory Group" src="/images/centos-5/t-ad-group.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/postfix-active-directory-ldap-lookup-howto/">How to use the Active Directory Distribution Group in Postfix.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/sm-addressbook.png"><img class="preview" alt="SquirrelMail" src="/images/centos-5/t-sm-addressbook.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/squirrelmail-active-directory-ldap-addressbook/">How to add Active Directory/LDAP into the SquirrelMail Addressbook.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/getent-passwd.png"><img class="preview" alt="getent passwd" src="/images/centos-5/t-getent-passwd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/active-directory-integration-samba-centos-5/">Using Winbind to integrate Active Directory user accounts.</a><br />Another way to integrate Active Directory into your mail server. I highly recommend using the virtual user solution above instead of this one.</div><p class="akst_link"><a href="http://www.linuxmail.info/?p=28&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_28" class="akst_share_link" rel="nofollow">Share This</a>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/mail-server-setup-centos-5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rsync Howto</title>
		<link>http://www.linuxmail.info/rsync-howto/</link>
		<comments>http://www.linuxmail.info/rsync-howto/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 09:04:39 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=83</guid>
		<description><![CDATA[Learn how to synchronize files using a small amount of data transfers with rsync.]]></description>
			<content:encoded><![CDATA[<p><strong>Rsync</strong> is a software that synchronizes files and directories using a small amount of data transfers. You can use this to backup data. This page will show you how to use rsync to synchronize files from a source machine.</p>
<span id="more-83"></span>
<div class="clearfix steps"><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />For Windows users, you can use <a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp" >DeltaCopy</a>. DeltaCopy includes the rsync console application and a client and server GUI.</div>
<h2>Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/edit-rsyncd-conf.png"><img class="preview" alt="Edit rsyncd.conf" src="/images/centos-5/t-edit-rsyncd-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Edit the file <em>/etc/rsyncd.conf</em> and add the lines below.
<pre class="steps">
[pub]
path=/home/public
read only=no
</pre>
Replace <em>pub</em> with any directory name you prefer. The <em>path</em> on the other hand should point to a valid <em>nobody</em> readable and writeable directory.
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/service-rsync.png"><img class="preview" alt="Service rsync" src="/images/centos-5/t-service-rsync.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Allow the <em>rsync</em> service to launch by enabling it in the <em>On Demand Service</em> in the <strong>Service Configuration</strong> tool. <a href="/how-to-start-stop-services-centos-5/">Learn more about the Service Configuration tool.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config-2.png"><img class="preview" alt="Security Level Configuration" src="/images/centos-5/t-security-level-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Open the rsync port 873 in the firewall. <a href="/firewall-configuration-centos-5/">Learn how to configure the firewall.</a></div>
<h2>Client</h2>
<p>To transfer a file/directory, the basic command is <tt>rsync src dest</tt>. Below are some examples.</p>
<div class="clearfix steps"><a href="/images/centos-5/rsync-download.png"><img class="preview" alt="Terminal rsync" src="/images/centos-5/t-rsync-download.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">To get a file/directory from the server, type in
<pre class="steps">rsync rsync://server/pub/test.txt .</pre>
Replace <em>server</em> with the name of your server, <em>pub</em> with the name of your directory, <em>test.txt</em> with the name of a file or directory you wish to download and replace <em>.</em> with a path to your local directory if you do not want to save into your current directory.
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/rsync-upload.png"><img class="preview" alt="Terminal rsync" src="/images/centos-5/t-rsync-upload.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">To send a file/directory to the server, type in
<pre class="steps">rsync test.txt rsync://server/pub</pre>
Replace <em>server</em> with the name of your server, <em>pub</em> with the name of your directory, <em>test.txt</em> with the name of a file or directory you wish to upload.
</div></div>
<p class="akst_link"><a href="http://www.linuxmail.info/?p=83&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_83" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/rsync-howto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Securing SquirrelMail using SSL</title>
		<link>http://www.linuxmail.info/securing-squirrelmail-using-ssl/</link>
		<comments>http://www.linuxmail.info/securing-squirrelmail-using-ssl/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 23:59:05 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[SSL]]></category>

		<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=82</guid>
		<description><![CDATA[Learn how to secure your SquirrelMail communication using SSL.]]></description>
			<content:encoded><![CDATA[<p><strong>Secure Sockets Layer (SSL)</strong> enables the HTTP protocol to be secured. This page will show you how to configure SSL in Apache and SquirrelMail.</p>
<span id="more-82"></span>
<h2>Generate a Private Key</h2>
<p>Make sure you are logged in as the root user when doing steps below.</p>
<div class="clearfix steps"><a href="/images/centos-5/openssl-genrsa.png"><img class="preview" alt="OpenSSL GenRSA" src="/images/centos-5/t-openssl-genrsa.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Generate a pass phrase protected private key using the command below. Provide a pass phrase when asked.
<pre class="steps">openssl genrsa -des3 -out localhost.key 1024</pre>
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/openssl-rsa.png"><img class="preview" alt="OpenSSL RSA" src="/images/centos-5/t-openssl-rsa.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Remove the pass phrase protection using the command below. Provide the pass phrase when asked.
<pre class="steps">openssl rsa -in localhost.key -out localhost.key</pre>
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/chmod-localhost-key.png"><img class="preview" alt="chmod" src="/images/centos-5/t-chmod-localhost-key.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">3. Type in the command below to ensure that the private key will be readable by the root user only.
<pre class="steps">chmod 400 localhost.key</pre>
</div></div>
<h2>Generate a Certificate</h2>
<div class="clearfix steps"><a href="/images/centos-5/openssl-req.png"><img class="preview" alt="OpenSSL CSR" src="/images/centos-5/t-openssl-req.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Generate a certificate signing request by typing in the command below and filling in your host information.
<pre class="steps">openssl req -new -key localhost.key -out localhost.csr</pre>
</div></div>
<h3>Signing options</h3>
<ul>
<li>For a publicly accessible site, have it signed by a reputable third party like Verisign</li>
<li>For Active Directory intranets, you can sign it using the Microsoft Certificate Services. <a href="/submitting-certificate-request-to-microsoft-certificate-services/">Learn how to submit a certificate request to the Microsoft Certificate Services.</a></li>
<li>For intranets or testing sites, you can sign it yourself.</li>
</ul>
<div class="clearfix steps"><a href="/images/centos-5/openssl-x509.png"><img class="preview" alt="OpenSSL x509" src="/images/centos-5/t-openssl-x509.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">To self sign your certificate request, type in the command below.
<pre class="steps">openssl x509 -req -days 365 -in localhost.csr<br /> -signkey localhost.key -out localhost.crt</pre>
</div></div>
<h2>Configuring Apache for SSL</h2>
<div class="clearfix steps"><a href="/images/centos-5/mv-localhost-key.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-mv-localhost-key.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">1. Move the file <em>localhost.key</em> into <em>/etc/pki/tls/private/</em>
<pre class="steps">mv localhost.key /etc/pki/tls/private/</pre>
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/mv-localhost-key.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-mv-localhost-key.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Place the certificate file into <em>/etc/pki/tls/certs/</em> and name the file as <em>localhost.crt</em>. The command below applies to self-signed certificate only.
<pre class="steps">mv localhost.crt /etc/pki/tls/certs/</pre>
</div></div>
<div class="clearfix steps"><a href="/images/centos-5/edit-ssl-conf.png"><img class="preview" alt="Edit ssl.conf" src="/images/centos-5/t-edit-ssl-conf.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Edit the file <em>/etc/httpd/conf.d/ssl.conf</em> and edit the lines below.
<pre class="steps">
DocumentRoot = /usr/share/squirrelmail
ServerName = mail.acme.local:443
</pre>
Replace <em>mail.acme.local</em> with your server name.
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Restart the httpd service. <a href="/how-to-start-stop-services-centos-5/">Learn how to restart services here.</a></div>
<div class="clearfix steps"><a href="/images/windows-xp/https-squirrelmail.png"><img class="preview" alt="HTTPS SquirrelMail" src="/images/windows-xp/t-https-squirrelmail.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Try accessing SquirrelMail using <em>https</em> instead of <em>http</em>.</div><p class="akst_link"><a href="http://www.linuxmail.info/?p=82&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_82" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/securing-squirrelmail-using-ssl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Submitting Certificate Request to Microsoft Certificate Services</title>
		<link>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/</link>
		<comments>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 23:51:06 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.linuxmail.info/?p=81</guid>
		<description><![CDATA[Learn how to submit a certificate request to the Microsoft Certificate Services.]]></description>
			<content:encoded><![CDATA[<p>If you are using Active Directory, you can use the <strong>Microsoft Certificate Services</strong> to generate an SSL certificate suitable for use in an office environment. This page will show you how to request a certificate from the Microsoft Certificate Services for use in a web server.</p>
<span id="more-81"></span>
<p>To issue a certificate for a web server, make sure you have all of the items below.</p>
<ul>
<li>Domain administrator account</li>
<li>Internet Explorer</li>
<li>Windows server installed with Microsoft Certificate Services. <a href="/enable-ldap-ssl-active-directory/">Learn how to install Microsoft Certificate Services in Windows 2003 Server.</a></li>
</ul>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-welcome.png"><img class="preview" alt="CertSrv Welcome" src="/images/windows-xp/t-certsrv-welcome.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Launch Internet Explorer and connect to your Certificate Services server. The URL is <em>http://server/certsrv</em>, replace <em>server</em> with the name of your server. Next, click <em>Request a certificate</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqus.png"><img class="preview" alt="CertSrv Request" src="/images/windows-xp/t-certsrv-certrqus.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. In the <strong>Request a Certificate</strong> page, click <em>submit an advanced certificate request</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqad.png"><img class="preview" alt="CertSrv Advanced Request" src="/images/windows-xp/t-certsrv-certrqad.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Advanced Certificate Request</strong> page, click <em>Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file or submit a renewal request by using a base-64-encoded PKCS#7 file</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certrqxt.png"><img class="preview" alt="CertSrv Submit Request" src="/images/windows-xp/t-certsrv-certrqxt.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the <strong>Submit a Certificate Request or Renewal Request</strong> page, paste the content of the request file into the <em>Base-64-encoded certificate request</em> box. Select <em>Web Server</em> in the <em>Certificate Template</em> and click <em>Submit</em>.</div>
<div class="clearfix steps"><a href="/images/windows-xp/certsrv-certfnsh.png"><img class="preview" alt="CertSrv Finish" src="/images/windows-xp/t-certsrv-certfnsh.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. In the <strong>Certificate Issued</strong> page, select <em>Base 64 encoded</em> and click <em>Download certificate</em>.</div><p class="akst_link"><a href="http://www.linuxmail.info/?p=81&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_81" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/submitting-certificate-request-to-microsoft-certificate-services/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Webmin Setup Howto</title>
		<link>http://www.linuxmail.info/webmin-setup-howto/</link>
		<comments>http://www.linuxmail.info/webmin-setup-howto/#comments</comments>
		<pubDate>Wed, 28 May 2008 13:47:49 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[System Administration]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/webmin-setup-howto/</guid>
		<description><![CDATA[This page will show you how to install Webmin, a web-based interface for system administration for Unix.]]></description>
			<content:encoded><![CDATA[<p><strong>Webmin</strong> is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. This page will show you how to install Webmin.</p>
<span id="more-80"></span>
<div class="clearfix steps"><a href="/images/centos-5/firefox-webmin.png"><img class="preview" alt="Firefox Webmin" src="/images/centos-5/t-firefox-webmin.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Go to <a href="http://www.webmin.com" >www.webmin.com</a> and download the Webmin RPM package.</div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-install.png"><img class="preview" alt="Install Webmin" src="/images/centos-5/t-webmin-install.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Double click the downloaded file to install Webmin.</div>
<div class="clearfix steps"><a href="/images/centos-5/security-level-config-2.png"><img class="preview" alt="Firewall Configuration" src="/images/centos-5/t-security-level-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. After installing Webmin, configure the firewall to allow traffic on the TCP port 10000. <a href="/firewall-configuration-centos-5/">Learn how to configure the firewall</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-login.png"><img class="preview" alt="Webmin Login" src="/images/centos-5/t-webmin-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. From web browser, connect to <strong>https://localhost:10000</strong> and login using root.</div>
<div class="clearfix steps"><a href="/images/centos-5/webmin-main.png"><img class="preview" alt="Webmin Main" src="/images/centos-5/t-webmin-main.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. That&#8217;s it. It&#8217;s working.</div>
<p class="akst_link"><a href="http://www.linuxmail.info/?p=80&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_80" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/webmin-setup-howto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fedora Directory Server Setup Howto for RHEL/CentOS 5</title>
		<link>http://www.linuxmail.info/fedora-directory-server-setup-howto-centos-5/</link>
		<comments>http://www.linuxmail.info/fedora-directory-server-setup-howto-centos-5/#comments</comments>
		<pubDate>Sun, 25 May 2008 08:29:30 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[CentOS 5]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[Red Hat Enterprise Linux 5]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/fedora-directory-server-setup-howto-centos-5/</guid>
		<description><![CDATA[How to setup Fedora Directory Server in Red Hat Enterprise Linux 5.1 or CentOS 5.1]]></description>
			<content:encoded><![CDATA[<p><strong>Fedora Directory Server</strong> is an enterprise-class open source LDAP server for Linux. This page will show you how to setup the Fedora Directory Server.</p>
<span id="more-78"></span>
<div class="clearfix steps"><img class="icon32x32 left" alt="Important" src="/images/emblem-important.png" />Make sure that your host name is properly registered in your DNS or /etc/hosts file. Check if your hostname is registered properly by executing
<pre class="steps">
ping mail.acme.local
</pre>
in a terminal window, replace mail.acme.local with your own host name. If it returns 127.0.0.1 or unknown host that means it is not registered properly. </div>
<h2>Installing Fedora Directory Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal-yum.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-yum.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. <a href="/update-centos-50-to-51/">Update your Red Hat Enterprise Linux or CentOS to 5.1.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-yum-fds.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-yum-fds.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">2. Install Fedora Directory Server by typing in the commands below in a terminal window
<pre class="steps">
cd /etc/yum.repos.d
wget www.linux-mail.info/files/fedora-ds.repo
yum install fedora-ds openldap-clients
</pre>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/create-user-fds.png"><img class="preview" alt="Create New User" src="/images/centos-5/t-create-user-fds.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Create a new user and group named <em>fds</em>. This account will be used to run the fds service. <a href="/how-to-add-remove-user-accounts-centos-5/">Learn how to create a new user.</a></div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-setup-ds-admin.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-setup-ds-admin.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Type in <tt>setup-ds-admin.pl</tt> in a terminal window to setup Fedora Directory Server. Most of the time, the default is simply accepted indicated by the <strong>&crarr;</strong> in the sample session below.</div>
<pre class="steps">
[root@mail yum.repos.d]# <span class="h">setup-ds-admin.pl</span>

==============================================================================
This program will set up the Fedora Directory and Administration Servers.

It is recommended that you have &#8220;root&#8221; privilege to set up the software.
Tips for using this program:
  - Press &#8220;Enter&#8221; to choose the default and go to the next screen
  - Type &#8220;Control-B&#8221; then &#8220;Enter&#8221; to go back to the previous screen
  - Type &#8220;Control-C&#8221; to cancel the setup program

Would you like to continue with set up? [yes]: <span class="h">&crarr;</span>

==============================================================================
BY SETTING UP AND USING THIS SOFTWARE YOU ARE CONSENTING TO BE BOUND BY
AND ARE BECOMING A PARTY TO THE AGREEMENT FOUND IN THE
LICENSE.TXT FILE. IF YOU DO NOT AGREE TO ALL OF THE TERMS
OF THIS AGREEMENT, PLEASE DO NOT SET UP OR USE THIS SOFTWARE.

Do you agree to the license terms? [no]: <span class="h">yes</span>

==============================================================================
Your system has been scanned for potential problems, missing patches,
etc.  The following output is a report of the items found that need to
be addressed before running this software in a production
environment.

Fedora Directory Server system tuning analysis version 10-AUGUST-2007.

NOTICE : System is i686-unknown-linux2.6.18-53.el5 (1 processor).

WARNING: 376MB of physical memory is available on the system. 1024MB is recommended for best performance on large production system.

NOTICE : The net.ipv4.tcp_keepalive_time is set to 7200000 milliseconds
(120 minutes).  This may cause temporary server congestion from lost
client connections.

WARNING: There are only 1024 file descriptors (hard limit) available, which
limit the number of simultaneous connections.  

WARNING: There are only 1024 file descriptors (soft limit) available, which
limit the number of simultaneous connections.  

Would you like to continue? [no]: <span class="h">yes</span>

==============================================================================
Choose a setup type:

   1. Express
       Allows you to quickly set up the servers using the most
       common options and pre-defined defaults. Useful for quick
       evaluation of the products.

   2. Typical
       Allows you to specify common defaults and options.

   3. Custom
       Allows you to specify more advanced options. This is 
       recommended for experienced server administrators only.

To accept the default shown in brackets, press the Enter key.

Choose a setup type [2]: <span class="h">&crarr;</span>

==============================================================================
Enter the fully qualified domain name of the computer
on which you&#8217;re setting up server software. Using the form
&lt;hostname&gt;.&lt;domainname&gt;
Example: eros.example.com.

To accept the default shown in brackets, press the Enter key.

Computer name [mail.acme.local]: <span class="h">&crarr;</span>

==============================================================================
The servers must run as a specific user in a specific group.
It is strongly recommended that this user should have no privileges
on the computer (i.e. a non-root user).  The setup procedure
will give this user/group some permissions in specific paths/files
to perform server-specific operations.

If you have not yet created a user and group for the servers,
create this user and group using your native operating
system utilities.

System User [nobody]: <span class="h">fds</span>
System Group [nobody]: <span class="h">fds</span>

==============================================================================
Server information is stored in the configuration directory server.
This information is used by the console and administration server to
configure and manage your servers.  If you have already set up a
configuration directory server, you should register any servers you
set up or create with the configuration server.  To do so, the
following information about the configuration server is required: the
fully qualified host name of the form
&lt;hostname&gt;.&lt;domainname&gt;(e.g. hostname.example.com), the port number
(default 389), the suffix, the DN and password of a user having
permission to write the configuration information, usually the
configuration directory administrator, and if you are using security
(TLS/SSL).  If you are using TLS/SSL, specify the TLS/SSL (LDAPS) port
number (default 636) instead of the regular LDAP port number, and
provide the CA certificate (in PEM/ASCII format).

If you do not yet have a configuration directory server, enter &#8216;No&#8217; to
be prompted to set up one.

Do you want to register this software with an existing
configuration directory server? [no]: <span class="h">&crarr;</span>

==============================================================================
Please enter the administrator ID for the configuration directory
server.  This is the ID typically used to log in to the console.  You
will also be prompted for the password.

Configuration directory server
administrator ID [admin]: <span class="h">&crarr;</span>
Password: 
Password (confirm): 

==============================================================================
The information stored in the configuration directory server can be
separated into different Administration Domains.  If you are managing
multiple software releases at the same time, or managing information
about multiple domains, you may use the Administration Domain to keep
them separate.

If you are not using administrative domains, press Enter to select the
default.  Otherwise, enter some descriptive, unique name for the
administration domain, such as the name of the organization
responsible for managing the domain.

Administration Domain [acme.local]: <span class="h">&crarr;</span>

==============================================================================
The standard directory server network port number is 389.  However, if
you are not logged as the superuser, or port 389 is in use, the
default value will be a random unused port number greater than 1024.
If you want to use port 389, make sure that you are logged in as the
superuser, that port 389 is not in use.

Directory server network port [389]: <span class="h">&crarr;</span>

==============================================================================
Each instance of a directory server requires a unique identifier.
This identifier is used to name the various
instance specific files and directories in the file system,
as well as for other uses as a server instance identifier.

Directory server identifier [mail]: <span class="h">&crarr;</span>

==============================================================================
The suffix is the root of your directory tree.  The suffix must be a valid DN.
It is recommended that you use the dc=domaincomponent suffix convention.
For example, if your domain is example.com,
you should use dc=example,dc=com for your suffix.
Setup will create this initial suffix for you,
but you may have more than one suffix.
Use the directory server utilities to create additional suffixes.

Suffix [dc=acme, dc=local]: <span class="h">&crarr;</span>

==============================================================================
Certain directory server operations require an administrative user.
This user is referred to as the Directory Manager and typically has a
bind Distinguished Name (DN) of cn=Directory Manager.
You will also be prompted for the password for this user.  The password must
be at least 8 characters long, and contain no spaces.

Directory Manager DN [cn=Directory Manager]: <span class="h">&crarr;</span>
Password: 
Password (confirm): 

==============================================================================
The Administration Server is separate from any of your web or application
servers since it listens to a different port and access to it is
restricted.

Pick a port number between 1024 and 65535 to run your Administration
Server on. You should NOT use a port number which you plan to
run a web or application server on, rather, select a number which you
will remember and which will not be used for anything else.

Administration port [9830]: <span class="h">&crarr;</span>

==============================================================================
The interactive phase is complete.  The script will now set up your
servers.  Enter No or go Back if you want to change something.

Are you ready to set up your servers? [yes]: <span class="h">&crarr;</span>
Creating directory server . . .
Your new DS instance &#8216;mail&#8217; was successfully created.
Creating the configuration directory server . . .
Beginning Admin Server creation . . .
Creating Admin Server files and directories . . .
Updating adm.conf . . .
Updating admpw . . .
Registering admin server with the configuration directory server . . .
Updating adm.conf with information from configuration directory server . . .
Updating the configuration for the httpd engine . . .
Starting admin server . . .
The admin server was successfully started.
Admin server was successfully created, configured, and started.
Exiting . . .
Log file is &#8216;/tmp/setupcT78dr.log&#8217;

[root@mail yum.repos.d]# 
</pre>
<div class="clearfix steps"><a href="/images/centos-5/terminal-setup-fds-ssl.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-setup-fds-ssl.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">5. Setup the Fedora Directory Server SSL by executing the commands below in a terminal window
<pre class="steps">
wget directory.fedoraproject.org/download/setupssl2.sh
chmod +x setupssl2.sh
./setupssl2.sh /etc/dirsrv/slapd-<strong>mail</strong>
</pre>
</div>
Replace <strong>mail</strong> with your own server instance. During setup, you will be asked for the password of directory manager.
</div>
<div class="clearfix steps"><a href="/images/centos-5/service-config.png"><img class="preview" alt="CentOS 5 Service Configuration" src="/images/centos-5/t-service-config.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Restart the <em>dirsrv</em>, <em>dirsrv-admin</em> and <em>httpd</em> service. <a href="/how-to-start-stop-services-centos-5/">Learn how to stop and start services here.</a></div>
<h2>Administering Fedora Directory Server</h2>
<div class="clearfix steps"><a href="/images/centos-5/firefox-java-rpm.png"><img class="preview" alt="Java RPM" src="/images/centos-5/t-firefox-java-rpm.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 from Sun Microsystem</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/fds-console-login.png"><img class="preview" alt="FDS Console Login" src="/images/centos-5/t-fds-console-login.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. From a terminal window, type in <tt>fedora-idm-console</tt>. This will launch the <strong>Fedora Console Login</strong> window.
<div>&nbsp;</div>
<div class="m">
    <div class="fw">User ID</div><div>cn=directory manager</div>
    <div class="fw">Password</div><div>the directory manager password</div>
    <div class="fw">Administration URL</div><div>localhost:9830</div>
    <div>&nbsp;</div>
The values above assumes you have used the default values.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/fds-console.png"><img class="preview" alt="Fedora Management Console " src="/images/centos-5/t-fds-console.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Success.</div>
<h2>Related Pages</h2>
<div class="clearfix steps"><a href="/images/centos-5/jxplorer-ad.png"><img class="preview" alt="JXplorer Active Directory" src="/images/centos-5/t-jxplorer-ad.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><a href="/postfix-dovecot-ldap-centos-5/">Active Directory/LDAP virtual users in Postfix and Dovecot.</a></div><p class="akst_link"><a href="http://www.linuxmail.info/?p=78&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_78" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/fedora-directory-server-setup-howto-centos-5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Java (JRE) Setup Howto</title>
		<link>http://www.linuxmail.info/java-jre-setup-howto/</link>
		<comments>http://www.linuxmail.info/java-jre-setup-howto/#comments</comments>
		<pubDate>Sun, 25 May 2008 04:30:37 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/java-jre-setup-howto/</guid>
		<description><![CDATA[This page will show you how to install the Java Runtime Environment (JRE) from Sun Microsystem.]]></description>
			<content:encoded><![CDATA[<p>This page will show you how to install the Java Runtime Environment (JRE) from Sun Microsystem which is required by some applications like the JXplorer LDAP Browser and the Fedora Directory Server Administration tools.</p>
<span id="more-79"></span>
<h2>Installing the Java Runtime Environment (JRE)</h2>
<div class="clearfix steps"><a href="/images/centos-5/firefox-java-rpm.png"><img class="preview" alt="Firefox Java RPM" src="/images/centos-5/t-firefox-java-rpm.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Download the <a href="http://www.java.com/en/download/linux_manual.jsp" >Java software for Linux from Sun Microsystem</a>. Choose the RPM format.</div>
<div class="clearfix steps"><a href="/images/centos-5/jre-properties.png"><img class="preview" alt="JRE Properties" src="/images/centos-5/t-jre-properties.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Right click the downloaded file and click <em>Properties</em>. This will launch the <strong>Properties</strong> window.</div>
<div class="clearfix steps"><a href="/images/centos-5/jre-permission-execute.png"><img class="preview" alt="JRE Permission" src="/images/centos-5/t-jre-permission-execute.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the  Properties window, click the <em>Permissions</em> tab and check <em>Allow executing file as program</em>. Click <em>Close</em> when you are done.</div>
<div class="clearfix steps"><a href="/images/centos-5/jre-license-agreement.png"><img class="preview" alt="JRE License Agreement" src="/images/centos-5/t-jre-license-agreement.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. Double click the file to execute it and click <em>Run in Terminal</em>. Press <em>Spacebar</em> until you reach the end of the text. Type in <tt>yes</tt> and press <em>Enter</em> to agree to the license terms and proceed with the installation.</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-java-version.png"><img class="preview" alt="Check Java Version" src="/images/centos-5/t-terminal-java-version.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">5. Check your Java installation by typing in the command below. Note down the version.
<pre class="steps">
java -version
</pre>
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-ln-java.png"><img class="preview" alt="Terminal" src="/images/centos-5/t-terminal-ln-java.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">6. If the version being used is not the one you installed, type in the command below to make it so.
<pre class="steps">
ln -sf /usr/java/default/bin/java /usr/bin/java
</pre>
</div>
</div>
<p><img class="icon32x32 left" alt="Note" src="/images/emblem-note.png" />The above would be the case if you install the Fedora Directory Server which pulls in on an old version of Java during installation.</p>
<h2>Configuring Firefox</h2>
<div class="clearfix steps"><a href="/images/centos-5/terminal-ln-java-plugin.png"><img class="preview" alt="Terminal Java Plugins" src="/images/centos-5/t-terminal-ln-java-plugin.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Enable Firefox to find the Java plugin by typing in the commands below in a terminal window.</div>
<pre class="steps">
cd /usr/lib/mozilla/plugins
ln -sf /usr/java/default/plugin/i386/ns7/libjavaplugin_oji.so .
</pre>
<div class="clearfix steps"><a href="/images/centos-5/firefox-java-plugins.png"><img class="preview" alt="Firefox Plugins" src="/images/centos-5/t-firefox-java-plugins.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Launch Firefox and type in <tt>about:plugins</tt> in the address bar to verify the presence of Java.</div>
<p class="akst_link"><a href="http://www.linuxmail.info/?p=79&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_79" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/java-jre-setup-howto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SquirrelMail LDAP Change Password Howto</title>
		<link>http://www.linuxmail.info/squirrelmail-ldap-change-password-howto/</link>
		<comments>http://www.linuxmail.info/squirrelmail-ldap-change-password-howto/#comments</comments>
		<pubDate>Mon, 19 May 2008 15:36:01 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/squirrelmail-ldap-change-password-howto/</guid>
		<description><![CDATA[Shows how to change an LDAP password using the SquirrelMail Change Password plugin.]]></description>
			<content:encoded><![CDATA[<p>This page will show you how to configure the <strong>ldap-chpasswd</strong> included in the <a href="/change_passwd/">SquirrelMail Change Password plugin</a>. The ldap-chpasswd can change an LDAP server password. If you have not yet installed this plugin, see the <a href="/squirrelmail-change-password-howto/">SquirrelMail Change Password Howto</a>.</p>
<span id="more-77"></span>
<div class="clearfix steps"><a href="/images/centos-5/installing-rpmforge.png"><img class="preview" alt="Install RPMForge" src="/images/centos-5/t-installing-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. If you have not yet configured the RPMForge yum repository, see <a href="/how-to-install-clam-antivirus-centos-5/#rpmforge">Add RPMForge to your Yum repository</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/yum-install-perl-ldap.png"><img class="preview" alt="Yum Install Perl" src="/images/centos-5/t-yum-install-perl-ldap.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type in <em>yum install perl perl-ldap</em> from a terminal window. This will install the ldap-chpasswd prerequisites.</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-ldap-chpasswd.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-terminal-ldap-chpasswd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Go to the <em>/usr/share/squirrelmail/plugin/change_passwd</em> directory. Check if ldap-chpasswd runs by typing in <tt>./ldap-chpasswd</tt></div>
<div class="clearfix steps"><a href="/images/centos-5/edit-ldap-chpasswd-cfg-2.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-edit-ldap-chpasswd-cfg-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a><div class="m">4. Copy the file <em>ldap-chpasswd.cfg.sample</em> and save it as <em>ldap-chpasswd.cfg</em>. Next edit the <em>ldap-chpasswd.cfg</em> file and set the value of the keys below.
<pre class="steps">
$isActiveDirectory = 0;
$hosts = "localhost";
$domain = "acme.local";
$searchBase = "dc=acme,dc=local";
$bindDN = "cn=manager,dc=acme,dc=local";
$bindPW = "secret";
$userAttr = "uid";
</pre>
Values above are samples only, replace them with values appropriate for your setup.
</div>
</div>
<div class="clearfix steps"><a href="/images/centos-5/ldap-chpasswd-search-2.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-ldap-chpasswd-search-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Check your configuration by typing in <tt>./ldap-chpasswd user</tt>. Replace <em>user</em> and with a LDAP user name. You should see the distinguished name of the user.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-change-passwd-config-2.png"><img class="preview" alt="Edit config.php" src="/images/centos-5/t-edit-change-passwd-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Edit the <em>config.php</em> and set <em>$overridePathToChpasswd</em> to <em>ldap-chpasswd</em>. That&#8217;s it, you should now be able to change your LDAP password from SquirrelMail.</div>
<p class="akst_link"><a href="http://www.linuxmail.info/?p=77&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_77" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/squirrelmail-ldap-change-password-howto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SquirrelMail Active Directory Change Password Howto</title>
		<link>http://www.linuxmail.info/squirrelmail-active-directory-change-password-howto/</link>
		<comments>http://www.linuxmail.info/squirrelmail-active-directory-change-password-howto/#comments</comments>
		<pubDate>Mon, 19 May 2008 15:34:27 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[SquirrelMail]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/squirrelmail-active-directory-change-password-howto/</guid>
		<description><![CDATA[Shows how to change an Active Directory password using the SquirrelMail Change Password plugin.]]></description>
			<content:encoded><![CDATA[<p>This page will show you how to configure the <strong>ldap-chpasswd</strong> included in the <a href="/change_passwd/">SquirrelMail Change Password plugin</a>. The ldap-chpasswd can change an Active Directory or LDAP server password. If you have not yet installed this plugin, see the <a href="/squirrelmail-change-password-howto/">SquirrelMail Change Password Howto</a>.</p>
<span id="more-74"></span>
<div class="clearfix steps"><a href="/images/centos-5/installing-rpmforge.png"><img class="preview" alt="Install RPMForge" src="/images/centos-5/t-installing-rpmforge.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. If you have not yet configured the RPMForge yum repository, see <a href="/how-to-install-clam-antivirus-centos-5/#rpmforge">Add RPMForge to your Yum repository</a>.</div>
<div class="clearfix steps"><a href="/images/centos-5/yum-install-perl-ldap.png"><img class="preview" alt="Yum Install Perl" src="/images/centos-5/t-yum-install-perl-ldap.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Type in <em>yum install perl perl-ldap</em> from a terminal window. This will install the ldap-chpasswd prerequisites.</div>
<div class="clearfix steps"><a href="/images/centos-5/terminal-ldap-chpasswd.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-terminal-ldap-chpasswd.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. Go to the <em>/usr/share/squirrelmail/plugin/change_passwd</em> directory. Check if ldap-chpasswd runs by typing in <tt>./ldap-chpasswd</tt>. You should see your autodetected settings.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-4.png"><img class="preview" alt="OpenSSL" src="/images/windows-2003/t-certificate-wizard-4.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. <a href="/export-ssl-certificate-windows-2003/">Export a base-64 encoded certificate from your SSL enabled Active Directory server</a> and place the file into this directory.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-ldap-chpasswd-cfg.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-edit-ldap-chpasswd-cfg.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Copy the file <em>ldap-chpasswd.cfg.sample</em> and save it as <em>ldap-chpasswd.cfg</em>. Next edit the <em>ldap-chpasswd.cfg</em> file and set the value of <em>$certificate</em> to the name of the certificate file. If any of the autodetected settings are incorrect, you can specify the correct values here.</div>
<div class="clearfix steps"><a href="/images/centos-5/ldap-chpasswd-search.png"><img class="preview" alt="ldap-chpasswd" src="/images/centos-5/t-ldap-chpasswd-search.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Check your configuration by typing in <tt>./ldap-chpasswd user password</tt>. Replace <em>user</em> and <em>password</em> with a valid Active Directory user name and password. You should see the distinguished name of the user.</div>
<div class="clearfix steps"><a href="/images/centos-5/edit-change-passwd-config-2.png"><img class="preview" alt="Edit config.php" src="/images/centos-5/t-edit-change-passwd-config-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Edit the <em>config.php</em> and set <em>$overridePathToChpasswd</em> to <em>ldap-chpasswd</em>. That&#8217;s it, you should now be able to change your Active Directory password from SquirrelMail.</div>
<p class="akst_link"><a href="http://www.linuxmail.info/?p=74&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_74" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/squirrelmail-active-directory-change-password-howto/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Export SSL Certificate in Windows Server 2003</title>
		<link>http://www.linuxmail.info/export-ssl-certificate-windows-2003/</link>
		<comments>http://www.linuxmail.info/export-ssl-certificate-windows-2003/#comments</comments>
		<pubDate>Mon, 19 May 2008 15:25:32 +0000</pubDate>
		<dc:creator>consultant</dc:creator>
		
		<category><![CDATA[Active Directory]]></category>

		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.linux-mail.info/export-ssl-certificate-windows-2003/</guid>
		<description><![CDATA[Shows how to export an SSL certificate from an SSL enabled Windows Server 2003 to use the LDAP API over SSL.]]></description>
			<content:encoded><![CDATA[<p>To communicate with the Active Directory server over the Secure Sockets Layer (SSL), you need an SSL enabled server and an SSL certificate for the client. SSL communication is required to programmatically change the Active Directory password. This page will show you how to export an SSL certificate from an SSL enabled Windows Server 2003 to use the LDAP API over SSL. If you have not yet configured SSL, see <a href="/enable-ldap-ssl-active-directory/">Enable LDAP SSL with Active Directory</a>.</p>
<span id="more-75"></span>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-shortcut.png"><img class="preview" alt="Certificate Authority shortcut" src="/images/windows-2003/t-certificate-authority-shortcut.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>1. Click <em>Start</em>, select <em>Administrative Tools</em> and click <em>Certification Authority</em>. This will launch the <strong>Certification Authority</strong> application.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-select.png"><img class="preview" alt="Certificate Authority select" src="/images/windows-2003/t-certificate-authority-select.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>2. Select a certification authority, press right click and click <em>Properties</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-properties.png"><img class="preview" alt="Certificate Authority Properties" src="/images/windows-2003/t-certificate-authority-properties.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>3. In the <strong>Properties</strong> window, click the <em>View Certificate</em> button.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-authority-certificate.png"><img class="preview" alt="Certificate Authority Certificate" src="/images/windows-2003/t-certificate-authority-certificate.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>4. In the <strong>Certificate</strong> window, click the <em>Details</em> tab and click the <em>Copy to File</em> button.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-1.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-1.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>5. Click <em>Next</em> in the <strong>Certificate Export Wizard</strong> window.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-2.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-2.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>6. Select <em>Base-64 encoded X.509</em> and click <em>Next</em>.</div>
<div class="clearfix steps"><a href="/images/windows-2003/certificate-wizard-3.png"><img class="preview" alt="Certificate Export Wizard" src="/images/windows-2003/t-certificate-wizard-3.png" onmouseover="changeSrc(this)" /><img class="full" alt="" src="/images/busy.gif" /></a>7. Specify the path and file name of the certificate and click <em>Next</em>.</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>8. Finally, click <em>Finish</em> to export the certificate.</div><p class="akst_link"><a href="http://www.linuxmail.info/?p=75&amp;akst_action=share-this"   title="E-mail this, post to del.icio.us, etc." id="akst_link_75" class="akst_share_link" rel="nofollow">Share This</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxmail.info/export-ssl-certificate-windows-2003/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
