Beruflich Dokumente
Kultur Dokumente
1
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Today Open Source continues to open the door for companies that are looking to keep on growing despite
the current economic environment. It is a fact that many corporations are starting to consider Open
Source technologies as a way to reduce IT spending while taking advantage of existing technologies. It is
also a fact that more companies are widening Open Source reach to projects that wouldn't have been
considered before, opening more possibilities for the community to spread – and we at Global Open wants
to play a major role in helping small business to harness the power of Open Source – thereby allowing
them to use the money saved in value added products thereby giving more ability to grow faster without
being bogged down with propitiatory software licensing that never stops growing.
Now, imagine a real world where you can use the pure raw power of Open Source to power your entire
messaging systems – that is, have a fully functional suite of open source-driven services available to your
enterprise that gives, if not the full functionality of something like Exchange, but gives enough so that the
users can interact and exchange information cleanly, without having to jump through hoops or pay for it.
The idea of a centralized general information repository that could be used for authentication, contacts,
and general configuration details is very appealing – if you have cool dollars to spend then head straight
for Windows Active Directory integrated with Exchanger server plus Outlook to power your messaging
systems. Alternatively, take a quick turn-around and head to the Open Source world – the world of
freshness and pure freedom. While power your systems with a fully functional integrated Sendmail and
Dovecot messaging server with Mozilla Thunderbird mail client and OpenLDAP powered LDAP server.
For a start, however, be warned, setting up an open source powered LDAP server is not for the weak of
heart! And of course, don’t forget to install that cool DNS server powered by Bind9.
2
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
• Note: There are great articles and HowTos by the same author for the above requirements,
and you can find most of them in Scribd.com.
For example, once you have installed and configured Sendmail with Dovecot (IMAP/POP) server to taste
then you need a nifty email client like Thunderbird to power your e-mail communication on your PC, laptop
etc. across your network and for your remote road warriors.
Mozilla Thunderbird is a fully featured, secure and very functional email client and RSS feed reader. It
also includes well functional address-book manager. It lets you handle mail efficiently and with style, and
Mozilla Thunderbird filters away junk mail too.
Thunderbird is a free, open-source and cross-platform mail client for most operating systems including,
but not limited to, Windows, Linux and Macintosh. It is based on the Mozilla code base. It is a robust and
easy to use client, similar to competing products like Outlook Express, but with some major advantages
such as junk mail classification and security.
You can install Thunderbird either from your repository provided by your Distro, yum command or by
downloading the Thunderbird file from their official site. Make sure you choose the correct software for
your OS. In our case we want to download the one for Linux OS. This was tested with CentOS5, FC10
and RHE5.
Here we present two options to install Thunderbird mail client: i) Download and install, and via yum
command. Although the first method gives you the ability to choose the directory to run your thunderbird,
and just delete when you no longer need, however, we prefer the yum method as it’s easier and gives a
clean and problem free install.
Step 1: Downloading
1. Download the latest version of Thunderbird client from http://www.mozilla.com/en-
US/thunderbird/all.html. I have downloaded thunderbird-2.0.0.23.tar.gz for this tutorial.
]# mv thunderbird-2.0.0.23.tar.gz /usr/MAIL_CLIENT/.
]# cd /usr/MAIL_CLIENT
3
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
• Note: remember to replace filename with your own (I've this file version which was latest at the
time of writing).
2. Finally, issue the following command to execute the Thunderbird Mail Client:
Note: If you happen to get the error as shown above when you run thunderbird, then it’s because
Fedora and CentOS have compatibility issue with Thunderbird e-mail client.
i. Use the yum command to install it on the Fedora Core repo or CentOS5:
ii. Download RPM file and use the RPM command to install the file:
]# cd /usr/MAIL_CLIENT/thunderbird
]# ./thunderbird
4. You’re to go, and if you choose this method then head straight to Part 2 on how to setup email
account with thunderbird.
5. Alternatively, if you opt to use the second installation option, like me, then go to Option 2.
]# whereis thunderbird
4
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
thunderbird: /usr/bin/thunderbird
3. To run thunderbird, change to /usr/bin directory and issue the following command to start it:
]# cd /usr/bin
]# ./thunderbird
4. You can also start Thunderbird via Application > Internet and then select Thunderbird
Email.
5. Go to Part 2 to continue with email account setup with thunderbird, if this is the first time you’re using
thunderbird.
Fig. 1
3. On the New Account Setup dialog box, select Email Account and then click Next, see Fig. 2
5
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 2
4. On the Identity dialog box, enter Your Name, and Email Address and then click Next, see Fig. 3
Fig. 3
6
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
5. On the Server Information dialog box, select POP (or change as desired), enter Incoming
Server, and Outgoing Server and then click Next, see Fig. 4.
Fig. 4
6. On the User Names dialog box, enter the Incoming & Outgoing User Name, click Next, see Fig. 5.
Fig. 5
7
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
7. On the Account Names dialog box, enter the Account Name, and then click Next, see Fig. 6.
Fig. 6
8. On the Congratulation! dialog box, verify that the information is correct, click Finish, see Fig. 7.
Fig. 7
8
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
9. On the Alert message box, when done, click OK, see Fig. 8.
Fig. 8
10. On the Enter your password message box, enter your password and then click OK, see Fig. 9.
And you should be able to access your email account page, see Fig. 10
Fig. 9
11. Figure 10 shows your new email account, and as you can see, there is already an email from Kefa
Rabah.
12. From the left pane, click “Testing My New Evolution” new email link to read it, as shown in Fig. 12.
Fig. 12
13. To compose a new email, click icon on the toolbox, to access email composing page, see Fig.
12: Click Send icon when done to dispatch your email.
Fig. 12
10
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
14. Click the "Get Mail" icon to immediately check if you have a new email pending on the server.
Fig. 13
15. Next, click Inbox (1), which at the moment tells you that you have one new email (1)
• Next click the “Testing my new Mozilla Thunderbird!” email link listed in your Inbox message
list to access its content, see Fig. 14:
Fig. 14
16. You’re done – now just spent some time to familiarize yourself with your newly acquired Thunderbird!
11
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Figure 15 shows the OpenLDAP infrastructure obtained with JXplorer LDAP browser.
Fig. 15: shows the OpenLDAP infrastructure obtained with JXplorer LDAP browser
12
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
1. Click Application > Internet and then select Thunderbird Email (see Fig. 16) to open Thunderbird
email client:
Fig. 16
2. Once you are in Thunderbird click on Tools > Address Book as shown in Fig. 17.
Fig. 17
3. The Address Book window appears. Click on File, New > LDAP Directory as shown in Fig. 18.
13
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 18
4. The Directory Server Properties screen should appear. Type in the following information as shown
in Fig. 19 then Click the OK button.
Fig. 19
14
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
5. This will return you to the Address Book screen. You should now have a new entry labeled
Beemtech LDAP as shown in Fig. 20. Click the Blue X in the upper right hand corner to exit.
Fig. 20
1. Click Application > Internet and then select Thunderbird Email to open Thunderbird email client
as shown in Fig. 21:
Fig. 21
6. From 22, click on the Write button to compose a new email message.
15
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
• Note: We recommend displaying the contacts sidebar permanently. This will enable you to quickly
search our LDAP directory and your personal address book.
• To do so click View > Contacts Sidebar as shown in Fig. 22.
Fig. 22
7. The Contacts Sidebar will appear on the left hand side of your window. Click the drop-down button
underneath Address Book and select the Beemtech LDAP entry we created earlier as shown in Fig.
23.
Fig. 23
8. You may begin typing the person you are looking for in the Search For box. In Fig. 24 we are looking
for a user named “Kefa Rabah” therefore we started typing the user’s name (k) in the box.
• As we type the LDAP will start narrowing the search. As can be observer, the letter k quickly
brings in names of users with letter k in their names: Kate, Kefa, Rick and O’Keefe.
16
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
Fig. 24
• Once the email address that we desire is shown in the results box (under Name), we can double
click the address to select it. This will place the address into the To: field and you are now ready
to compose and send your email, see Fig. 25.
Fig. 25
9. Once you have searched the LDAP for an address and have successfully sent them an email at least
once, Thunderbird will "cache" that entry. You will then be able to start typing the email address
17
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada
directly in the To: field; Thunderbird will auto-display all entries in its cache in drop-down form that
match what you are typing as shown in Fig. 26.
Fig. 26
10. You’re done with Thunderbird integration with LDAP, you can now access all your friends contacts
through the address book – giving you a cool messaging systems that doesn’t blow a deep hole in
your dollar pocket like happens when go for proprietary messaging systems like MS Exchange
integration with Outlook.
Stay tuned – as I’ll continuously update this HowTo to make it more user friendly for technical savvy guys
as well as for many ordinary folks!
Enjoy Thunderberding your emails via cool OpenLDAP integrated with Sendmail & Dovecot messaging
servers!
-----------------------
Kefa Rabah is the Founder and CIO, of Serengeti Systems Group Inc. Kefa is knowledgeable in
several fields of Science & Technology, IT Security Compliance and Project Management, and
Renewable Energy Systems. He is also the founder of Global Open Versity, a Center of Excellence
in online eLearning.
18
© April 2007, Kefa Rabah, Global Open Versity, Vancouver Canada