HOWTO_Install_Hula_Mailserver
Contents |
Intoduction
This HowTo discribes, how you can install Hula under Gentoo Linux and setup a multiple domain mail system.
"Hula is a calendar and mail server whose goal is to be fun and easy to use, while scaling effortlessly from small groups to large organizations with thousands of members." (from Hula Project)"
Hula is an open source project, that is based on the source code of Novell's Netmail 3.5. But compared to Postfix or Sendmail it has an integrated webbased administration, webmail interface and webbased calendar.
Package Requirements
Prepare your system
You can install the packages yourself, but you should prefere the latest stable packages for your architecture.
Install all packages:
.# emerge openssl automake mono pkgconfig
If you don't need X-Window support for mono:
.# USE="-X" emerge openssl automake mono pkgconfig
If you want to install the latest, but unstable packages you could simply use:
.# ACCEPT_KEYWORDS="~x86" emerge openssl automake mono pkgconfig
After you have installed all the required packages, you should create a non-privilidged user under which Hula will run.
.# useradd hula && groupadd hula
Download, compile and install the source code
The latest stable source code tarball's are available here. For example:
.# cd /tmp .# wget http://live.hula-project.org:8080/tarballs/hula-r1645.tgz .# tar -xzvf hula-*.tgz .# cd hula*
Now you have to configure and compile the source code.
.# ./autogen.sh --with-user=hula --prefix=/usr --mandir=/usr/share/man --localstatedir=/var .# make && make install
You have now installed Hula and go on to configure it.
Testing Hula
Change the owner of the hula directories to your hula user (here: hula).
.# chown -R hula /var/netmail /var/mdb
Now, you can test your Hula setup with your first domain.
.# hulasetup --domain=your.domain.com
Start the server and look for errors in the startup process.
.# hulamanager
The webadministration and webmail interface are available now.
- Webadministration: https://your.ip.adress:449
Login with username: admin and password: hula
- Webmail: http://your.ip.adress:8080
ALso i found out if you dont have ssl setup in apache you cant login to the admin control panel with port 449 so if you want to login with out ssl you can use http://your.ip.adress:89 to be continued...
Antivirus & Antispam
Antispam with SpamAssassin
Hula supports SpamAssassin as antispam solution. So, the best way is to install the required packages.
.# emerge spamassassin
You have to take care, that you install no old package, because you often need the newest rules and protection functions. Maybe you should do a:
.# emerge --sync
before.
After the the installation you have to add spamd to the boot process.
.# rc-update add spamd default
Maybe you should reboot your system.
The default port for SpamAssassin is 783, but you can change this to any other port you want.
The Hula Wiki gives you a good overview about protecting your system from spam and how you can configure it. You should also configure SpamAssassin you get a higher security. Maybe it's possible in the future to get user-based spamrules, but for this, you have to extend Hula.
Antivirus with ClamAV
You can use a lot of different antivirus solutions with Hula. We will use the opensource solution ClamAV. For the Installation you have to do a simple:
.# emerge clamav
After the installation you should add clamd to the boot process by doing:
.# rc-update add clamav default
Now, you are reading to configure clamd to fit your needs.
Weblinks
- Project
- Antispam
- Antivirus
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
