Example #1
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano(
    {r"/etc/kopano/monitor.cfg": {
        'log_file': "-",
        'log_level': "4"
    }})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #2
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/spooler.cfg": {
        'log_file': "-",
        'log_level': "4",
        'tmp_path': "/tmp/spooler/"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #3
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/etc/kopano/ical.cfg": {
        'ical_listen': "0.0.0.0:8080",
        'log_file': "-",
        'log_level': "3"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #4
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/etc/kopano/dagent.cfg": {
        'lmtp_listen': "0.0.0.0:2003",
        'log_file': "-",
        'log_level': "4",
        'tmp_path': "/tmp/dagent/"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #5
0
#!/usr/bin/env python3
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/dagent.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'lmtp_listen': "0.0.0.0:2003",
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #6
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/etc/kopano/server.cfg": {
        'log_file': "-",
        'log_level': "3",
        'attachment_path': "/kopano/data/attachments/",
        'user_plugin': "ldap",
        'server_listen': "0.0.0.0:236",
        'server_listen_tls': "0.0.0.0:237",
        'sync_gab_realtime': "no",
        'softdelete_lifetime': "0",
        'kcoidc_initialize_timeout': "360"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #7
0
import os
import kcconf

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #8
0
#!/usr/bin/env python3
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/search.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'index_path': "/kopano/data/search/"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #9
0
#!/usr/bin/env python3
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/kapid.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'listen': "0.0.0.0:8039",
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #10
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/search.cfg":
    {
        'log_file': "-",
        'log_level': "4",
        'index_path': "/kopano/data/search/"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #11
0
#!/usr/bin/env python3
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/spamd.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'log_level': "3"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #12
0
#!/usr/bin/env python3
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/server.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'server_listen': "0.0.0.0:236",
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #13
0
#!/usr/bin/env python3
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/tmp/kopano/gateway.cfg": {
        # Certain configuration can be pre-defined at startup:
        #'imap_listen': "0.0.0.0:143",
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/tmp/kopano/"))
Example #14
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/etc/kopano/gateway.cfg":
    {
        'imap_listen': "0.0.0.0:143",
        'log_file': "-",
        'log_level': "3",
        'tmp_path': "/tmp/gateway/"
    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))
Example #15
0
import os
import kcconf

# Component specific configurations
kcconf.configkopano({
    r"/etc/kopano/kapid.cfg":
    {
        'log_level': "info",
        'listen': "0.0.0.0:8039",
        'DEFAULT_PLUGIN_PUBS_SECRET_KEY_FILE': "/kopano/ssl/kapid-pubs-secret.key",
        'plugin_kvs_db_datasource': "/kopano/data/kapi-kvs/kvs.db",
        'plugin_grapi_socket_path': "/var/run/kopano/grapi"

    }
})

# Override configs from environment variables
kcconf.configkopano(kcconf.parseenvironmentvariables(r"/etc/kopano/"))