Installing Zarafa from packages

From Zarafa wiki

(Difference between revisions)
Jump to: navigation, search
 
Line 44: Line 44:
Install the postfix mta.
Install the postfix mta.
<pre>$ sudo aptitude install postfix</pre>
<pre>$ sudo aptitude install postfix</pre>
-
 
-
- Add to /etc/postfix/main.cf.
 
-
 
-
<pre>mailbox_command = /usr/bin/zarafa-dagent "$USER"
 
-
mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1</pre>
 
- Add virtual_mailbox_domains to add your own maildomain in /etc/postfix/main.cf
- Add virtual_mailbox_domains to add your own maildomain in /etc/postfix/main.cf
Example: <pre>virtual_mailbox_domains = yourdomain.ltd</pre>
Example: <pre>virtual_mailbox_domains = yourdomain.ltd</pre>
-
- Next add virtual_transport = lmtp:127.0.0.1:2003
+
- Next add: <pre>virtual_transport = lmtp:127.0.0.1:2003</pre>
Restart apache to commit the changes zarafa made for webaccess.
Restart apache to commit the changes zarafa made for webaccess.
<pre>$ sudo /etc/init.d/apache2 restart</pre>
<pre>$ sudo /etc/init.d/apache2 restart</pre>
-
 
-
Add your domain to the '''mydestination''' variable in /etc/postfix/main.cf.
 
Restart postfix to commit the changes to postfix.
Restart postfix to commit the changes to postfix.

Latest revision as of 13:04, 3 February 2014

Article information
Logo zarafa.jpg
Applies to:
Version(s) 7.1.0
Linux distribution Ubuntu 12.04

First do a clean install of Ubuntu Server 12.04

Note that you need to install mysql-server, apache2 and postfix as well. That setup is not described here. For the full documentation on dependencies and general installation instructions go to http://doc.zarafa.com/7.1/Administrator_Manual/ and review the dependencies section. Make sure you have the following components installed: apache2, php5

For other supported distributions view the downloads here: http://download.zarafa.com/community/final/7.1/

Download the latest Zarafa packages with wget, below is the 64bit version. Change x86_64 to i386 for the 32bit version.

$ wget http://download.zarafa.com/community/final/7.1/7.1.4-41394/zcp-7.1.4-41394-ubuntu-12.04-x86_64-free.tar.gz

Untar the .tar.gz file that you just downloaded.

$ tar -zxf zcp-7.1.4-41394-ubuntu-12.04-x86_64-free.tar.gz

Change to the folder you just untarred.

$ cd zcp-7.1.4-41394-ubuntu-12.04-x86_64-free

Install packages

$ dpkg -i *.deb
$ apt-get install -f

Note: zarafa-server will not start because it does not have the mysql password yet.

Specified the mysql root password in the /etc/zarafa/server.cfg configuration file.

$ sudo vi /etc/zarafa/server.cfg

Install the Zarafa license.

$ sudo echo "yourlicense" > /etc/zarafa/license/base

Install the postfix mta.

$ sudo aptitude install postfix

- Add virtual_mailbox_domains to add your own maildomain in /etc/postfix/main.cf

Example:
virtual_mailbox_domains = yourdomain.ltd
- Next add:
virtual_transport = lmtp:127.0.0.1:2003

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.

http://your_ip/webaccess

Personal tools