Zarafa Webmail - ClearOS

I have rebuilt Zarafa so that it runs on ClearOS using the updated version of ldap. The RPM's are now rebuilt using the maintained SRPM's from Fedora (courtesy of Robert Scheck).

The following will install and configure the webmail so that it authenticates against ClearOS users defined in the webconfig. It will configure Postfix so that all mail is delivered to the Zarafa inbox. The contacts list and calendars will function

Please note that Zarafa is intended as a full gateway solution, and therefore only part of the serrvices are actually required. You could feasibly configure it to run all your POP / IMAP access etc. Only the brief configuration is shown below to get it working. The rest can be found in the man pages for the various elements or on the zarafa site.

webaccess screenshot    app-zarafa

As of 1st July 2010 I have written a ClearOS webconfig module that will handle all of the configuration. The old installation instructions are left below for historical purposes and those that like to see whats happening underneath!


#SETUP REPO
rpm --import ftp://www.timburgess.net/RPM-GPG-KEY-TimB.txt
wget ftp://www.timburgess.net/repo/clearos/5.2/os/timb-release-1-0.noarch.rpm
rpm -Kv timb-release-1-0.noarch.rpm
rpm -Uvh timb-release-1-0.noarch.rpm

#INSTALL
yum --enablrepo=timb install app-zarafa zarafa zarafa-webaccess
## and the following work around to fix the webaccess attachment upload
cd /usr/share/zarafa-webaccess/client/widgets/
wget ftp://www.timburgess.net/zarafa/swfupload-zarafa.tar.gz
tar zxvf swfupload-zarafa.tar.gz


CONFIGURATION
Go to the Webconfig > System > Mail > Zarafa and finish the configuration.

As a minimum you will need to enter the LDAP Bind DN, LDAP Bind Password and LDAP Search Base. These fields are all present on the Directory > LDAP webconfig page. Simply copy and paste them in.

You will also need to enter your MYSQL root password, so that Zarafa can create the database for mail storage. Note that ClearOS services SMTP, MYSQL, and the webserver need to be configured and running for Zarafa to work.

Start the 3 CORE services, Zarafa-Dagent, Zarafa-Spooler and Zarafa-Server.

Navigate to yourwebserver.com/webaccess and login

OPTIONAL Outlook MAPI Connectivity
NOT required for normal IMAP/POP3 or Webaccess


wget ftp://www.timburgess.net/zarafa/zarafa-licensed-6.40.5-24860.i386.rpm
rpm -Uvh --nodeps zarafa-licensed-6.40.5-24860.i386.rpm


 

Restart the Zarafa-Server service, and start the Zarafa-licensed service from the webconfig

Note that the community edition has a limit of 3 Win32 MAPI users. If you review /var/log/zarafa/licensed.log you should now see the presence of the licensed module. If you have a license - save it to /etc/zarafa/license/

Install the zarafa-client MSI installer to your client PC. This will enable "Zarafa 6" as a new outlook mail server type. Follow steps to create a new user Mail profile from Control Panel selecting 'Other type of account' then select Zarafa 6. You can download the client here, or direct from Zarafa.com
ftp://download.clearfoundation.com/community/timb80/zarafa/win32/zarafac...

DOCUMENTATION
For more details read the user manual, which is very good. You can now use Outlook as it was connected to Exchange, share contacts, folders, calendars, public folders etc
www.zarafa.com/content/documentation

MIGRATION
You can find details for migrating outlook users here, and also using imapsync
download.zarafa.com/zarafa/release/docs/zarafa_migration.en.pdf

For example you can use the imapsync tool to copy files from one IMAP mailbox to another. Setup the zarafay-gateway service (in this case set IMAP to port 8143), and transfer from the existing ClearOS IMAP service on port 143. (Add the --dry option to trial options first). If you wish to delete the mail from the original IMAP add --expunge1 --delete)


imapsync \
--host1 192.168.1.1:143 --user1 yourusername --password1 yourpassword --prefix1 INBOX  --authmech1 LOGIN \
--host2 192.168.1.1:8143 --user2 yourusername --password2 yourpassword --prefix2 INBOX --authmech2 LOGIN \
  --subscribe --sep2=/ --useheader 'Message-ID' --skipsize


TODO:-
-Presently only available for the english locale, (en_US). Any translators?
-Mail archive will only work if the ClearOS IMAP service is left running
-Zarafa-Gateway POP3/IMAP ports conflict with ClearOS POP3/IMAP so change the ports manually or disable the ClearOS mail services.
-POP3S/IMAPS require certificates to be copied to /etc/zarafa/gateway/privkey.pem and cert.pem from /etc/postfix/

PROBLEM SOLVING:-
If you have problems check the respective log files in /var/log/zarafa/
If zarafa-server fails to run on boot, try editing the "run_as_user" in /etc/zarafa/server.cfg to root and let us know (Thanks to Keil Gyozo for spotting this one)

ENJOY! ...BIG thanks to all the ClearFoundation forum users who have tested this and use it. This howto and now module would not have come this far without you. If you find the above useful, buy my a beer sometime, or just say hi and thanks in the forum

MIGRATION

This command :
-----------------
imapsync \
--host1 192.168.1.1:143 --user1 yourusername --password1 yourpassword --prefix1 INBOX --authmech1 LOGIN \
--host2 192.168.1.1:8143 --user2 yourusername --password2 yourpassword --prefix2 INBOX --authmech2 LOGIN \
--subscribe --sep2=/ --useheader 'Message-ID' --skipsize
---------------------------------------------------------------------------------
works great, copy all the inbox,But doesn't copy entiry account, is some one who knows how can do?

Group of user in ClearOS 5.2 SP1

Hi,

I have follow up your tutorial and working as well with ClearOS 5.2 SP1.
However, I have question about email group, why I can not send to group of users?

Thank you

T-Share

Hi, Group emails do not

Hi, Group emails do not function at present in ClearOS 5.2, it will be available in ClearOS6.0
You can sort of work round it by creating an alias with all the individual users in.

Webui not show in webconfig

Hi Tim,
i did what shown here but nothing show on my clearos 5.2 sp1 new install?
can you help?.
thanks

Hi, are you logged into the

Hi, are you logged into the webconfig as the root user? you'll need to assing admin users access to the Zarafa app if you have it setup that way.

Interesting information about activation

I think this board is the proper place to ask you about the activation proccess. My link is not working properly, do you know why it is happening? http://www.timburgess.net/?45fb5d5eafa9ceaca42992f6e1f,

Zarafa Client MSI

Tim,

I noticed that your link to the Client MSI file no longer works. Do you have another link as I am having great difficulty in downloading it from their own site which I find somewhat frustrating.

Andy

License RPM missing

Tim,

I can not download the Client MSI file and having difficulty finding it on their website. Located a later file on another site but would prefer to use the version you suggest.

I also can not download the license RPM either so I am unable to test this with Outlook. Can you advise where I can download this from? Your link does not locate the zarafa-licensed-6.40.5-24860.i386.rpm

Best wishes,

Andy

Zarafa Licensed and Client MSI

Hi Andy,
Sorry the links haven't been updated for the newer versions - you can find them in the same place:-
(Both files are the versions supplied by Zarafa for RHEL5)
ftp://timburgess.net/zarafa/
Zarafaclient
ftp://timburgess.net/zarafa/win32/

syntax error :-)

in line...

yum --enablrepo=timb install app-zarafa zarafa zarafa-webaccess

from: --enablrepo
to : --enablerepo

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is used to make sure you are a human visitor and to prevent spam submissions.
Image CAPTCHA
Enter the characters shown in the image.

User login

Navigation

Poll

What wireless chipset do you use in Linux?: