Vous êtes sur la page 1sur 2

First of you'll need to install som packages:

apt-get install apache2


apt-get install mysql-server
apt-get install getmail4
apt-get install slapd
apt-get install libapache2-mod-php5
If you get an error msg when runing libapache2-mod-php5 just run "apt-get -f ins
tall" and then run
apt-get install libapache2-mod-php5 agen.
Download the file and unpack it:
tar -xvf zarafa-6.20-ubuntu8.04-i386.tar.gz
Install the packageds in this order:
dpkg -i libvmime0_0.7.1-22_i386.deb
dpkg -i libical0_0.23-6_i386.deb
dpkg -i zarafa_6.20-11749_i386.deb
dpkg -i zarafa-webaccess_6.20-11749_all.deb
dpkg -i zarafa-webaccess-mobile_6.20-11749_all.deb
dpkg -i zarafa-licensed_6.20-11749_i386.deb
Copy the exaple config file from "/usr/share/zarafa/example-config/server.cfg" t
o "/etc/zarafa/server.cfg"
edit it (nano /etc/zarafa/server.cfg) and change the MySQL password from root to
the password you
chose when you installed MySQL.
Create a public store:
/usr/bin/zarafa-admin -s
Create a user:
/usr/bin/zarafa-admin -c <user name> -p <password> -e <email> -f <full name> -a
<administrator>
example.
/usr/bin/zarafa-admin -c arne -p skitnerdig24 -e arne@dindomain.nu -f "Arne Anka
" -a 1
(-a 1 = the user will be a admin user -a 0 = the user will NOT ba a admin user)
Edit the "/etc/php5/apache2/php.ini" and turn magic_quotes_gpc off
nano /etc/php5/apache2/php.ini
Restart Apache
/etc/init.d/apache2 restart
Edit the /etc/zarafa/dagent.cfg
And change the server_socket to:
file:///var/run/zarafa
(This is a workaround for a conntection error that may occure otherwise).
To get the server to download your pop mail automaticly:
Creatate a file (in my example I'll call it pull_mail).
Edit the file and typ in:
getmail_fetch --quiet --delete --ssl --timeout=30 <isp mail server> <mailbox log
on name> <mailbox password> '|/usr/bin/zarafa-dagent -s <Zarafa username>'
Change the:
<isp mail server> to the mail server name that your account is on.
<mailbox logon name> to the logon name to your mail account.
<mailbox password> to your mailbox password
<Zarafa username> to the Zarafa username of the user that's supose to get the ma
il.
Note. If you get a problem with this connection it could be becaus your isp can'
t handel SSL, if so just remove the "--ssl" part.
Chmod the file to make it executebel.
chmod 777 pull_mail
Edit the /etc/crontab file and add:
*/10 * * * * micke /home/admin/pull_mail
And ofcourse your suppose to change the path to where ever you put your pull_mai
l file.
To be able top send files larger than 2MB with the webinterface edit the php.ini
file and change:
php_value post_max_size 8M
php_value upload_max_filesize 2M
To:
php_value post_max_size 25M
php_value upload_max_filesize 25M
And then you'll have to restart Apache
/etc/init.d/apache2 restart

Vous aimerez peut-être aussi