Installing Zarafa from Ubuntu Repository
From Zarafa wiki
Ddebyttere (Talk | contribs) (→Install Zarafa from Ubuntu repository) |
(added postfix restart, start zarafa-server before adding a user) |
||
| Line 46: | Line 46: | ||
Add your domain to the '''mydestination''' variable in /etc/postfix/main.cf. | Add your domain to the '''mydestination''' variable in /etc/postfix/main.cf. | ||
| - | + | Restart postfix to commit the changes to postfix. | |
| - | <pre># sudo / | + | <pre># sudo /etc/init.d/postfix restart</pre> |
Start the zarafa-server. | Start the zarafa-server. | ||
<pre># sudo /etc/init.d/zarafa-server start</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. | ||
| + | <pre># sudo /usr/bin/zarafa-admin -c test -p password -e test@zarafa.com -f "Zarafa Test"</pre> | ||
Login on webaccess and check if mail can be sent/received. | Login on webaccess and check if mail can be sent/received. | ||
Revision as of 17:04, 4 June 2010
Since December 2009 the Zarafa Collaboration Platform is available in the Ubuntu Partner repository.
First do a clean install of Ubuntu Server 10.04
Install mysql-server with aptitude.
# sudo aptitude install mysql-server
Added the ubuntu partners repository to the aptitude sources.list.
# sudo echo "deb http://archive.canonical.com/ubuntu lucid partner" >> /etc/apt/sources.list
Run aptitude update to activate the newly added repository.
# sudo aptitude update
Install Zarafa with aptitude.
# sudo aptitude install zarafa zarafa-webaccess zarafa-libs zarafa-licensed
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 "yourserial" > /etc/zarafa/license/base
Install the postfix mta.
# sudo aptitude install postfix
- Add to /etc/postfix/main.cf.
mailbox_command = /usr/bin/zarafa-dagent "$USER" mailbox_transport = zarafa: zarafa_destination_recipient_limit = 1
- Add to /etc/postfix/main.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.
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
Add your domain to the mydestination variable in /etc/postfix/main.cf.
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@zarafa.com -f "Zarafa Test"
Login on webaccess and check if mail can be sent/received.