Koozali.org: home of the SME Server

Zarafa - smeserver-zarafa-unix

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Zarafa - smeserver-zarafa-unix
« on: January 06, 2015, 03:59:08 PM »
Did an update of my 8.1 server following this http://wiki.contribs.org/Moving_SME_to_new_Hardware to 9.0. Went smooth so far, all data seems o.k.

Zarafa was configured with the db-plugin. For the re-install I followed http://wiki.contribs.org/Zarafa_on_SME_9. Now it's the unix-plugin. Zarafa is running, all data seems to be o.k. users are able to login. The server is receiving emails, they're shown in webmail but not in zarafa.

Here's the config:

# config show zarafa-server
zarafa-server=service
    DbPassword=XXX
    GlobalForward=enabled
    IncludeAdmin=disabled
    Multicompany=no
    Plugin=db
    TCPPort=236
    UserSafeMode=yes
    access=private
    enable_hosted_zarafa=false
    index_services_enabled=yes
    log_level=5
    loginname_format=%u
    status=enabled
    user_plugin=db

Here's the output of:

]# /etc/e-smith/events/actions/zarafa-install
** initialize-default-databases **

Migrating existing database yum_updates
Migrating existing database yum_available
Migrating existing database networks
Migrating existing database yum_installed
Migrating existing database configuration
Migrating existing database accounts
Migrating existing database domains
Migrating existing database hosts
Migrating existing database mailpatterns
Migrating existing database spamassassin
Migrating existing database backups
Migrating existing database yum_repositories
** signal-event remoteaccess-update **

** webaccess config **

ok: run: /service/httpd-e-smith: (pid 3536) 0s, normally down
** z-push config **

** /var/lib/z-push already exists, skipping **

** /var/log/z-push already exists, skipping **

** Zarafa database already exists, skipping creation **

************************************************************************
*               IMPORTANT NOTE ABOUT USER SAFE MODE:                   *
* Zarafa user and mail databese already exist.  your server is being   *
* set to "User Safe Mode" for safety reasons.  This mode will not      *
* allow the creation or deletion of users and allows you to verify     *
* the server is correctly configured.  After you are sure the server   *
* is configured correctly then issue the following to place the server *
* in normal operation: "config setprop zarafa-server UserSafeMode no"  *
* Then followed by "signal-event zarafa update"                        *
************************************************************************
** Placing Zarafa Server in "SAFE MODE" **

** Reseting Zarafa database password for security reasons **

** The Zarafa database password has been reset to: XXX

************************************************************************
*             IMPORTANT WARNING ABOUT THE USER PLUGIN:                 *
* Your installation is currently NOT set to use the "unix" user plugin *
* and Zarafa on SME Server is intended and designed to work best       *
* with the "unix" plugin.  If you elect to use a different plugin      *
* via db commands, that is OK but "Your Mileage May Vary!" and you     *
* will be responsible for any consequences.                            *
************************************************************************

************************************************************************
* Global Forward is used to make ALL SME users use the Zarafa webmail, *
* imap and pop3 services.  This is an all-or-none setting. If you want *
* to limit which users will use Zarafa, you will need to change this   *
* and you will be able to set each user individually via db settings.  *
* This will be set to "enabled" by default.                            *
************************************************************************
** Zarafa Global Forward setting already set to "enabled", skipping **

Enabling Zarafa, expanding templates and (re)starting Zarafa services

creating Public store

Unable to create store, public already exists

To enable the InnoDB engine, run the following commands:

db configuration setprop mysqld InnoDB enabled
expand-template /etc/my.cnf
sv t /service/mysqld

Now zarafa is running like before, users are receiving the emails with zarafa.
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)

guest22

Re: Zarafa - smeserver-zarafa-unix
« Reply #1 on: January 06, 2015, 06:05:08 PM »
Stefan,

would you be able to add your experience to the wiki please?

TIA
guest

Offline SchulzStefan

  • *
  • 620
  • +0/-0
Re: Zarafa - smeserver-zarafa-unix
« Reply #2 on: January 20, 2015, 08:01:01 PM »
RequestedDeletion,

I did as you requested. http://wiki.contribs.org/Zarafa_on_SME_9#smeserver-zarafa-unix

stefan
And then one day you find ten years have got behind you.

Time, 1973
(Mason, Waters, Wright, Gilmour)