[kde-linux] Akonadi/Kmail - possible solution

Kevin Kempter kevink at consistentstate.com
Tue Mar 2 16:38:08 UTC 2010

Hi all;

Just wanted to share this with the community.  I've changed the configuration 
of Akonadi to use PostgreSQL (Kmenu --> System Settings --> Advanced --> 
Akonadi Configuration --> Akonadi Server Configuration)

I created a separate postgres instance (cluster) for Akonadi. Created a db 
user 'akonadiuser'  and created a db 'akonadi'. I set this up on a non-
standard port (5477) and I added this to /etc/rc.local:

su - postgres -c '/stage/akonadidb/start_akonadidb.sh'

The/stage/akonadidb/start_akonadidb.sh script looks like this:

$ cat /stage/akonadidb/start_akonadidb.sh

. /home/postgres/.bashrc                                                                             
/stage/pgsql/8.4.2/bin/pg_ctl -D /stage/akonadidb start 

At this point all the akonadi issues seem to have gone away...

Hopefully this is useful to others.

More information about the kde-linux mailing list