add managesieve
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 1m32s

This commit is contained in:
Sebastian Hugentobler 2024-04-26 22:08:57 +02:00
parent efc49cad69
commit d307aadf40
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 32 additions and 5 deletions

View File

@ -1,73 +1,99 @@
[Roundcube](https://roundcube.net/) webmail interface with postgres backend and oauth login. [Roundcube](https://roundcube.net/) webmail interface with postgres backend and
oauth login.
# Environment Variables # Environment Variables
## DOMAINS ## DOMAINS
Semicolon seperated list of domains to listen to. Semicolon seperated list of domains to listen to.
## DB_USER ## DB_USER
Name of the database user. Name of the database user.
## DB_PASSWORD ## DB_PASSWORD
Password for the database user. Password for the database user.
## DB_HOST ## DB_HOST
Database host. Database host.
## DB_NAME ## DB_NAME
Database name. Database name.
## IMAP_HOST ## IMAP_HOST
- default: tls://%n - default: tls://%n
IMAP host to authenticate users against. IMAP host to authenticate users against.
## SMTP_HOST ## SMTP_HOST
- default: tls://%n - default: tls://%n
SMTP host for sending mails. SMTP host for sending mails.
## SMTP_PORT ## SMTP_PORT
- default: 587 - default: 587
Port for the SMTP host. Port for the SMTP host.
## SECRET_KEY ## SECRET_KEY
Secret key for session secrets. Secret key for session secrets.
## CIPHER_METHOD ## CIPHER_METHOD
- default: AES-256-CBC - default: AES-256-CBC
Encryption algorithm for session secrets. Encryption algorithm for session secrets.
## OAUTH_PROVIDER_NAME ## OAUTH_PROVIDER_NAME
Name of the oauth provider on the roundcube login page. Name of the oauth provider on the roundcube login page.
## OAUTH_CLIENT_ID ## OAUTH_CLIENT_ID
Client id for oauth login. Client id for oauth login.
## OAUTH_CLIENT_SECRET ## OAUTH_CLIENT_SECRET
Client secret for oauth login. Client secret for oauth login.
## OAUTH_AUTH_URI ## OAUTH_AUTH_URI
Auth uri for oauth login. Auth uri for oauth login.
Example for keycloak: `https://example.com/realms/master/protocol/openid-connect/auth` Example for keycloak:
`https://example.com/realms/master/protocol/openid-connect/auth`
## OAUTH_TOKEN_URI ## OAUTH_TOKEN_URI
Token uri for oauth login. Token uri for oauth login.
Example for keycloak: `https://example.com/realms/master/protocol/openid-connect/token` Example for keycloak:
`https://example.com/realms/master/protocol/openid-connect/token`
## OAUTH_IDENTITY_URI ## OAUTH_IDENTITY_URI
Userinfo uri for oauth login. Userinfo uri for oauth login.
Example for keycloak: `https://example.com/realms/master/protocol/openid-connect/userinfo` Example for keycloak:
`https://example.com/realms/master/protocol/openid-connect/userinfo`
## MANAGESIEVE_HOST
Where to connect to managesieve.
# Ports # Ports
- 80 - 80
# Capabilities # Capabilities
- CHOWN - CHOWN
- DAC_OVERRIDE - DAC_OVERRIDE
- NET_BIND_SERVICE - NET_BIND_SERVICE

View File

@ -36,7 +36,7 @@ $config['username_domain'] = '%d';
$config['username_domain_forced'] = true; $config['username_domain_forced'] = true;
$config['password_charset'] = 'UTF-8'; $config['password_charset'] = 'UTF-8';
$config['plugins'] = array('archive', 'zipdownload'); $config['plugins'] = array('archive', 'managesieve', 'zipdownload');
$config['spellcheck_engine'] = 'pspell'; $config['spellcheck_engine'] = 'pspell';
$config['default_charset'] = 'UTF-8'; $config['default_charset'] = 'UTF-8';
@ -52,3 +52,4 @@ $config['oauth_scope'] = 'email profile openid';
$config['oauth_auth_parameters'] = []; $config['oauth_auth_parameters'] = [];
$config['oauth_identity_fields'] = ['preferred_username']; $config['oauth_identity_fields'] = ['preferred_username'];
$config['oauth_login_redirect'] = true; $config['oauth_login_redirect'] = true;
$config['managesieve_host'] = '{{getenv "MANAGESIEVE_HOST"}}';