Scroll to navigation

KOPANO-GATEWAY(8) Kopano Core user reference KOPANO-GATEWAY(8)


kopano-gateway - Start the Kopano IMAP/POP3 Gateway.


kopano-gateway [OPTION...]


The gateway enables other e-mail clients to connect through POP3 or IMAP to the storage server to read their e-mail. With IMAP, it is also possible to view the contents of other folders and subfolders. The gateway can be configured to listen for POP3, POP3S, IMAP and/or IMAPS.

The default settings of the gateway program are defined in kopano-gateway.cfg(5).


Various options are possible. None of these options are required.

--config, -c gateway.cfg

Specify the location of the gateway.cfg file. If the gateway.cfg file is not specified, the gateway will continue using its default settings.

Default: /etc/kopano/gateway.cfg


Displays the values of gateway.cfg configuration parameters and the implied defaults.

--host, -h path

Connect to the storage server through path, e.g. file:///path/to/socket. Default: file:///var/run/kopano/server.sock. Overrides the config file setting.

--foreground, -F

Run in the foreground. Normally the gateway will daemonize and run in the background.


The following signals can be sent to the kopano-gateway process:


When the HUP signal is received, some options from the configuration file are reloaded. The reloadable options are listed in the kopano-gateway.cfg(5) manual page.

Also, when using log_method = file, the logfile will be closed and a new logfile will be opened. You can use this signal in your logrotate system.


To gracefully let the service exit, the normal TERM signal is used.


To start the gateway:


The gateway process will keep running. You may also use the init.d scripts:

/etc/init.d/kopano-gateway [start| stop| restart]


Written by Kopano.


kopano-gateway.cfg(5), kopano-server(8)

November 2016 Kopano 8