Wednesday, August 17, 2011

DBMail In Ubuntu

The DBMail installer for Ubuntu Linux works. To start the services using the init script /etc/init.d/dbmail You need to add this parameters in /etc/default/dbmail

1 = start the service startup init script
0 = don't start the service with startup init script

Thank yo to :-

By default DBmail in Ubuntu using sqlite. For MySQL and PostgreSQL databases you need to install different packages

For PostgreSQL

apt-get install dbmail-pgsql


apt-get install dbmail-mysql

Please read this

Monday, August 15, 2011

An old script of mine for backup LDAP data. Crica 16 Oct 2005. Im going to rewrite this for backup LDAP in SongketMail.

DATE=`/bin/date +%Y-%m-%d`
/bin/echo "LDAP LDIF BACKUP START : `/bin/date`" >> /home/ldif/backup_ldif.log
# stop ldap service
/bin/echo "/etc/init.d/ldap stop" >> /home/ldif/backup_ldif.log
/etc/init.d/ldap stop 2>> /home/ldif/backup_ldif.log
# start backup
/bin/echo "/usr/sbin/slapcat -b "dc=harisfazillah,dc=com,dc=my" -l /home/ldif/linuxmalaysia_$DATE.ldif" >> /home/ldif/backup_ldif.log
/usr/sbin/slapcat -b "dc=harisfazillah,dc=com,dc=my" -l /home/ldif/linuxmalaysia_$DATE.ldif 2>> /home/ldif/backup_ldif.log
# start ldap service
/bin/echo "/etc/init.d/ldap start" >> /home/ldif/backup_ldif.log
/etc/init.d/ldap start 2>> /home/ldif/backup_ldif.log
/bin/echo "LDAP LDIF BACKUP FINISH : `/bin/date`" >> /home/ldif/backup_ldif.log 
# To import
# 1. Stop ldap service
# 2. Delete /var/lib/ldap/*.bdb /var/lib/ldap/log.*
# 3. slapadd -v -u -l /tmp/linuxmalaysia_2005-10-16.ldif > /tmp/import.log
# 4. Start ldap service
# -u for dry run only. Remove -u for actual import

Tuesday, April 12, 2011

Horde 4 Is Release

I have wait for years for the new release of Horde. Its good news for us, due to web interface for Songketmail is base on Horde. We will move its in our development and intergrate with SongketMail.

After more than two years of development, the Horde Team is excited to   announce the final release of the Horde Application Framework version 4.0.

The Horde Application Framework is a flexible, modular, general-purpose web application framework written in PHP. It provides an extensive array of components that are targeted at the common problems and tasks involved in developing modern web applications. It is the basis for a large number of production-level web applications, notably the Horde Groupware suites.  

For more

information on Horde or the Horde Groupware suites, visit

The installation method for Horde 4 has been changed to use the PEAR installer. To prepare your local PEAR installation to install software from Horde's PEAR server, run the following commands from the command line:

   pear channel-discover
   pear install horde/horde_role
   pear run-scripts horde/horde_role

The last command will ask you for the filessystem location for your Horde installation. This should be some path in your web server's document root, e.g. /var/www/horde. These commands only need to be run once. You are now prepared to install, upgrade and uninstall Horde packages. To install the release candidate of Horde, run the following commands:

   pear install horde/horde

Just go to the config/ directory of your Horde installation and copy conf.php.dist to conf.php:

   cd /var/www/horde/config/
   cp conf.php.dist conf.php

Then point your browser to the installation location, go to the Administration/Configuration screen and start configuring. You probably want to:

1. Configure a real authentication backend!
2. Configure a database backend (Horde configuration, Database tab)
3. Install the database tables ("Update all DB schemas" button)
4. Configure any other applications you installed

To upgrade from the test releases, you only have to run:

   pear upgrade -c horde

Then log in as an administrator and update any outdated configurations and database schemas in the configuration interface.

For more detailed installation and configuration instructions, e.g. how to install Horde from PEAR into a location other than the system default, please see

The major changes compared to the Horde version 4.0-RC2 are:

     * Delayed sidebar loading.
     * Improved resetting of SyncML states.
     * Many small bugfixes and improvements.

The major changes compared to the Horde version 3.3 are:

     * Completely refactored component library for PHP 5.
     * Much easier installation through PEAR installer.
     * Simplified configuration process.
     * ActiveSync support.
     * Frameless layout.
     * Grouping into advanced and simple user preferences.
     * Improved caching and reduced session sizes.
     * Much faster Share library.
     * Better Share support for large user basis.
     * Improved Image library.
     * Reduced dependency on external libraries.
     * Lots of improvements in all library components.

The full list of changes can be viewed here:

Have fun!

The Horde Team.

Thursday, November 12, 2009

Configure Horde With Google AJAX Search API Key

Use this link to configure Horde with Google AJAX Search API Key

The Google AJAX Search API lets you put Google Search in your web pages with JavaScript. You do not need a key to use this API. Using a key in your application/site is completely optional. However, it is useful to have one. Here is why - when a key is present, if we detect any problem or issue that involves your application/site, with a key in hand, we will attempt to contact you. If we do not have a key, we have no way to contact you should something go wrong.

Setting Up Horde To Used User From Mysql Database Table

Install Horde

Load the default mysql file

Choose Mysqli

Configure Horde to used database

Create the admin user using script script.initial_horde_user.sql

Configure Horde Authentication to used Mysql Database

Irank SongketMail

Irank SongketMail is going to be part of our products to improved email deliveriable and making sure valid email get to its destination.

We already build a proof of concept application that users can access from this link

This is only alpha and for proof of concept. We are recoding back Irank.

My Blog List