Posts Tagged Citadel

Backup and Restore Citadel Groupware

Posted by Filed Under Citadel with Comments Off

Backup and Restore
There are two different ways to backup Citadel.  This is the safest and most reliable.  The one disadvantage is that Citadel must be off to make this happen.

Offline Backup

The offline backup is used when you have set the Citadel server to automatically delete committed database logs. The setting to check to verify that you have this set is the Tuning Tab under Site Configuration.  You can see by default th e”Automatically delete committed database logs” is checked.

The citadel server must be stopped in order to complete this backup.

sudo  /etc/init.d/citadel stop

You will need to designate where to make the backup.  In the example script the backup is placed in the /home directory with a timestamp but certainly it should be placed in a directory on a separate partition in case you have drive problems.  This backup will backup everything that has to do with Citadel so it should restore and save you regardless of any issues.

Create a file in the /root directory called

Now copy this script into that file and save it.

chmod 755

Then execute the file with:

# Complete Backup for Citadel

TIMESTAMP=`date +%Y%m%d_%H%M%S`;
tar -cvf /home/citadel_$TIMESTAMP.tar /etc/citadel /usr/lib/citadel-server/ /var/lib/citadel/ /var/spool/citadel/ /var/run/citadel/ /usr/sbin/citserver /usr/sbin/sendcommand /usr/sbin/sendmail /usr/bin/citadel/ /etc/init.d/citadel /etc/init.d/webcit /usr/share/doc/citadel-server/ /usr/share/locale /usr/share/citadel-server/

Here you can see what the timestamped backup looks like.
-rw-r–r–  1 root root    10240 2009-01-24 13:23 citadel_20090124_142509.tar

Be sure to start the server once it is complete.

Offline Restore
The offline restore will also require you to have the server turned off.

sudo  /etc/init.d/citadel stop

Move to the location of the backup tar file so that when you do ls you can see the tar file.

tar xvf  citadel_20090124_142509.tar -C /

The -C / at the end will restore all of the directories in relationship to the / or root of the filesystem.

You could create a tar on one server and move to a second server with the same distro and restore on the new box, thus replicate the whole system on a second box.

Citadel Features

Posted by Filed Under Citadel with Comments Off

One of the most important features for many people is the ease of use and installation.  Citadel tries to eliminate all of the hassel in setting up a Mail server with groupware.  This example uses Postfix for the install.

The website has a lot of valuable information and there is adequate documentation for the set up and management of the mail server.

  • Email, calendaring, address books, bulletin boards, instant messaging, and more … all in one tightly integrated server package.
  • High-performance, multiprotocol, multithreaded server engine
  • Web browser, telnet/SSH, local client software accessible
  • Standards-compliant e-mail built in: IMAP, POP3, ESMTP
  • Group calendaring and scheduling (GroupDAV and Kolab-1 compatible)
  • Built-in listserv (mailing list server)
  • Integrated server-side mail sorting and filtering. Users can choose between an easy-to-use web based rules editor, or the power of writing complex scripts using the industry standard Sieve language.
  • Support for push e-mail and mobile devices
  • Database-driven, single-instance message store
  • Built-in full text index for fast searching
  • Authenticated SMTP for remote email submission
  • Multiple domain support
  • Built-in integration with perimiter email filtering technologies such as Realtime Blackhole Lists (RBL’s) and SpamAssassin
  • Server-to-server replication. Users in any number of domains can be spread out across any number of Citadel servers, allowing you to put data where you need it, and enabling infinite horizontal scalability.
  • Web-based access to email, calendars, and everything else through a powerful AJAX-style front end
  • Very strong support for “public folders” and message forums.
  • Built-in instant messenger service
  • SSL/TLS encryption for all protocols
  • LDAP integration capabilities. Citadel can populate your existing directory server, or it can configure a standalone directory server if you don’t already have one.
  • Citadel is true open source software.