Port 236 Connection refused

Hello,

i would like to migrate from a plain imap server to kopano. In the logs i saw:
IMAP not enabled for user ‘xxxx’

I did a “ucr set kopano/cfg/server/enabled_features=imap” which seemed to be wrong: Config error: Unknown option “enabled_features” found

Then i removed it again from: /etc/univention/base.conf, but i still get " Config error: Unknown option “enabled_features” found!"

ucr unset kopano/cfg/server/enabled_features=imap gives me: W: The config registry variable ‘kopano/cfg/server/enabled_features=imap’ does not exist

It looks like i have to do a:
ucr set kopano/cfg/server/disabled_features=pop3

However, i somehow broke something, the logs are full of errors now:

ucs kopano-search[522]: [error ] HrLogon server “default:” user “SYSTEM”: network error
ucs kopano-search[522]: 2020-01-28 08:43:21,941 - search - WARNING - could not connect to server at ‘default:’, retrying in 5 sec
ucs kopano-search[522]: [error ] gsoap connect: ()
ucs kopano-search[522]: [error ] HrLogon server “default:” user “SYSTEM”: network error
ucs kopano-search[522]: 2020-01-28 08:43:26,947 - search - WARNING - could not connect to server at ‘default:’, retrying in 5 sec
ucs kopano-search[522]: [error ] gsoap connect: ()

How do i debug this?

Thanks,
Michael

Hi @mliebherr99,

can you post the information included in https://wiki.z-hub.io/display/K4U/Debugging+Kopano+on+Univention. This helps with troubleshooting.

In general kopano-server (as well as the other services) will refuse to start when there is an unknown configuration option. And an option such as enabled_features does not exist in server.cfg.

So you’d at least have to run ucr unset kopano/cfg/server/enabled_features. Afterwards the service will start again and other services (such as kopano-search) will be able to connect to it.

One thing to be aware of: when enabling pop3/imap for a user messages delivered to the mailbox will be additionally stored in an optimized version for these protocols. meaning you need more storage capacity and this is also the reason why its off by default.

The config option enabled_features is btw something you can set at the user object (to enable it for this user and not the whole server). To enable imap access for the while server you need to remove the value from the disabled_features config option.