Installing Zarafa from Ubuntu Repository
From Zarafa wiki
Ddebyttere (Talk | contribs) |
Ddebyttere (Talk | contribs) |
||
| (18 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Infobox | ||
| + | |title = Article information | ||
| + | |image = [[File:Logo_zarafa.jpg]] | ||
| + | |||
| + | |header1 = Applies to: | ||
| + | |label2 = Version(s) | ||
| + | |data2 = 6.30.x, 6.40.x | ||
| + | |||
| + | |label3 = Linux distribution | ||
| + | |data3 = Ubuntu 10.04 | ||
| + | }} | ||
| + | |||
| + | '''Note:''' This article describes how to set up Zarafa using the DB plugin. Also, the method described to configure Postfix (without LMTP) does not allow for Single Instance Attachment Storage. | ||
| + | |||
| + | '''TODO:''' Add explanation on how to configure with different user plugins and LMTP. | ||
| + | |||
Since December 2009 the Zarafa Collaboration Platform is available in the Ubuntu Partner repository. | Since December 2009 the Zarafa Collaboration Platform is available in the Ubuntu Partner repository. | ||
| - | For a Fedora installation how-to please visit the [http://fedoraproject.org/wiki/Features/Zarafa Fedora Wiki], keep in mind that we do support Fedora and are not able to help you if any issues occur. | + | For a Fedora installation how-to please visit the [http://fedoraproject.org/wiki/Features/Zarafa Fedora Wiki], keep in mind that we do not support Fedora and are not able to help you if any issues occur. |
| - | First do a clean install of Ubuntu Server 10.04 | + | First do a clean install of Ubuntu Server 10.04. |
| - | Install mysql-server with | + | Install mysql-server with apt-get. |
| - | <pre> | + | <pre>$ sudo apt-get install mysql-server</pre> |
| - | Added the ubuntu partners repository to the | + | Added the ubuntu partners repository to the apt sources.list. |
| - | <pre> | + | <pre>$ sudo echo "deb http://archive.canonical.com/ubuntu lucid partner" >> /etc/apt/sources.list</pre> |
| - | Run | + | Run apt-get update to activate the newly added repository. |
| - | <pre> | + | <pre>$ sudo apt-get update</pre> |
| - | Install Zarafa with | + | Install Zarafa with apt-get. |
| - | <pre> | + | <pre>$ sudo apt-get install zarafa zarafa-webaccess zarafa-libs zarafa-licensed</pre> |
'''Note:''' zarafa-server will not start because it does not have the mysql password yet. | '''Note:''' zarafa-server will not start because it does not have the mysql password yet. | ||
| - | + | Specify the mysql root password in the /etc/zarafa/server.cfg configuration file. | |
| - | <pre> | + | <pre>$ sudo vi /etc/zarafa/server.cfg</pre> |
Install the Zarafa license. | Install the Zarafa license. | ||
| - | <pre> | + | <pre>$ sudo echo "yourserial" > /etc/zarafa/license/base</pre> |
Install the postfix mta. | Install the postfix mta. | ||
| - | <pre> | + | <pre>$ sudo apt-get install postfix</pre> |
- Add to /etc/postfix/main.cf. | - Add to /etc/postfix/main.cf. | ||
| Line 33: | Line 49: | ||
mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1</pre> | mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1</pre> | ||
| - | - | + | - Change mydestination to add your own maildomain in /etc/postfix/main.cf |
| + | Example: <pre>mydestination = hostname.local, example.com, localhost.hostname.local, localhost</pre> | ||
| + | |||
| + | - Add to /etc/postfix/master.cf. | ||
<pre>zarafa unix - n n - 10 pipe | <pre>zarafa unix - n n - 10 pipe | ||
| Line 39: | Line 58: | ||
Create the vmail user on the system. | Create the vmail user on the system. | ||
| - | <pre>adduser --system --no-create-home vmail</pre> | + | <pre>sudo adduser --system --no-create-home vmail</pre> |
Add the user vmail to the variable '''local_admin_users''' in /etc/zarafa/server.cfg. | Add the user vmail to the variable '''local_admin_users''' in /etc/zarafa/server.cfg. | ||
Restart apache to commit the changes zarafa made for webaccess. | Restart apache to commit the changes zarafa made for webaccess. | ||
| - | <pre> | + | <pre>$ sudo /etc/init.d/apache2 restart</pre> |
| - | + | ||
| - | + | ||
Restart postfix to commit the changes to postfix. | Restart postfix to commit the changes to postfix. | ||
| - | <pre> | + | <pre>$ sudo /etc/init.d/postfix restart</pre> |
Start the zarafa-server. | Start the zarafa-server. | ||
| - | <pre> | + | <pre>$ sudo /etc/init.d/zarafa-server start</pre> |
Make a Zarafa tester user and also create this user on the system so it can receive the email. | Make a Zarafa tester user and also create this user on the system so it can receive the email. | ||
| - | <pre> | + | <pre>$ sudo /usr/bin/zarafa-admin -c test -p password -e test@example.com -f "Zarafa Test"</pre> |
To create the user, use the adduser command and follow the wizard. | To create the user, use the adduser command and follow the wizard. | ||
| - | <pre> | + | <pre>$ sudo adduser test</pre> |
Login on webaccess and check if mail can be sent/received. | Login on webaccess and check if mail can be sent/received. | ||
http://your_ip/webaccess | http://your_ip/webaccess | ||
Latest revision as of 13:19, 28 August 2012
| Article information | |
| |
| Applies to: | |
|---|---|
| Version(s) | 6.30.x, 6.40.x |
| Linux distribution | Ubuntu 10.04 |
Note: This article describes how to set up Zarafa using the DB plugin. Also, the method described to configure Postfix (without LMTP) does not allow for Single Instance Attachment Storage.
TODO: Add explanation on how to configure with different user plugins and LMTP.
Since December 2009 the Zarafa Collaboration Platform is available in the Ubuntu Partner repository.
For a Fedora installation how-to please visit the Fedora Wiki, keep in mind that we do not support Fedora and are not able to help you if any issues occur.
First do a clean install of Ubuntu Server 10.04.
Install mysql-server with apt-get.
$ sudo apt-get install mysql-server
Added the ubuntu partners repository to the apt sources.list.
$ sudo echo "deb http://archive.canonical.com/ubuntu lucid partner" >> /etc/apt/sources.list
Run apt-get update to activate the newly added repository.
$ sudo apt-get update
Install Zarafa with apt-get.
$ sudo apt-get install zarafa zarafa-webaccess zarafa-libs zarafa-licensed
Note: zarafa-server will not start because it does not have the mysql password yet.
Specify the mysql root password in the /etc/zarafa/server.cfg configuration file.
$ sudo vi /etc/zarafa/server.cfg
Install the Zarafa license.
$ sudo echo "yourserial" > /etc/zarafa/license/base
Install the postfix mta.
$ sudo apt-get install postfix
- Add to /etc/postfix/main.cf.
mailbox_command = /usr/bin/zarafa-dagent "$USER" mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1
- Change mydestination to add your own maildomain in /etc/postfix/main.cf
Example:mydestination = hostname.local, example.com, localhost.hostname.local, localhost
- Add to /etc/postfix/master.cf.
zarafa unix - n n - 10 pipe
flags=DRhu user=vmail argv=/usr/bin/zarafa-dagent -R ${recipient}
Create the vmail user on the system.
sudo adduser --system --no-create-home vmail
Add the user vmail to the variable local_admin_users in /etc/zarafa/server.cfg.
Restart apache to commit the changes zarafa made for webaccess.
$ sudo /etc/init.d/apache2 restart
Restart postfix to commit the changes to postfix.
$ sudo /etc/init.d/postfix restart
Start the zarafa-server.
$ sudo /etc/init.d/zarafa-server start
Make a Zarafa tester user and also create this user on the system so it can receive the email.
$ sudo /usr/bin/zarafa-admin -c test -p password -e test@example.com -f "Zarafa Test"
To create the user, use the adduser command and follow the wizard.
$ sudo adduser test
Login on webaccess and check if mail can be sent/received.
