Kopano createuser_script not working anymore after Update to 10.0.6


  • Lately we updated kopano to 10.0.6 (previous version was from three month ago) and the createuser_script stoped working.

    my server.cfg looked like this:

    (...)
    createuser_script = /usr/lib/kopano/userscripts/createuser
    (...)
    

    But this directory does not exist anymore.
    The directory looks like this after the update:

    root@mail01:~# ls -la /usr/lib/kopano/userscripts/
    insgesamt 16
    drwxr-xr-x 4 root root 4096 Okt  9 18:09 .
    drwxr-xr-x 6 root root 4096 Aug 11 17:15 ..
    drwxr-xr-x 2 root root 4096 Okt 21 15:25 createcompany.d
    drwxr-xr-x 2 root root 4096 Okt 21 15:25 createuser.d
    
    root@mail01:~# cat /usr/lib/kopano/userscripts/createuser.d/00createstore 
    #! /bin/sh
    PATH=$PATH:/sbin:/usr/local/sbin:/usr/sbin
    exec kopano-storeadm -Cn "$KOPANO_USER"
    

    So, I changed the server.cfg to:

    createuser_script = /usr/lib/kopano/userscripts/createuser.d
    

    But after creating a new User with LDAP I still get the Error while login “MAPI_E_NOT_FOUND” - which implies that the createuser_script did not fire.

    /var/log/mail.log does not says anything about it.

    Any Ideas?


  • Hello,

    I had the same question and its answered already.

    https://forum.kopano.io/topic/3459/userscripts-not-available

    Good luck.