Koozali.org: home of the SME Server

uninstall Zarafa

Offline EdelingF

  • *****
  • 215
  • +0/-0
uninstall Zarafa
« on: June 09, 2011, 10:28:39 PM »
I'm trying to uninstall Zarafa, but I don't know (and can't find) how to resture my users settings.

I probably used these commands:
Code: [Select]
db accounts setprop $USERNAME zarafa enabled
Code: [Select]
/etc/e-smith/events/actions/qmail-update-user
Does anyone have experience with this?
« Last Edit: June 09, 2011, 10:31:37 PM by EdelingF »
...

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Re: uninstall Zarafa
« Reply #1 on: June 10, 2011, 01:22:25 PM »
If you uninstall zarafa and smeserver-zarafa (and the other rpms installed with Zarafa) then the db settings won't matter any more.

If you're just trying to disable zarafa, simply re-run the db commands you ran to enable users, replacing 'enabled' with 'disabled'.

If you're trying to remove the db settings (because you've uninstalled zarafa and the unused db entries offend you) you'd use something like 'config delete zarafa-server' for the global entry, or 'db accounts delprop $USERNAME zarafa', repeating the command for each value of '$USERNAME' you used when installing zarafa (that is - 'db accounts delprop mjones zarafa' for user 'mjones', assuming that you had enabled zarafa for 'mjones' at some point in the past).

You can get a list of users with zarafa enabled using db accounts print |grep -i zarafa