2016-10-28 13:43:44 +00:00
|
|
|
[Roundcube](https://roundcube.net/) webmail interface with postgres backend.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
# Environment Variables
|
2017-10-06 16:27:06 +00:00
|
|
|
## DOMAINS
|
|
|
|
Semicolon seperated list of domains to listen to.
|
2016-10-28 13:43:44 +00:00
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## DB_USER
|
2016-10-28 13:43:44 +00:00
|
|
|
Name of the database user.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## DB_PASSWORD
|
2016-10-28 13:43:44 +00:00
|
|
|
Password for the database user.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## DB_HOST
|
2016-10-28 13:43:44 +00:00
|
|
|
Database host.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## DB_NAME
|
2016-10-28 13:43:44 +00:00
|
|
|
Database name.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## LDAP_HOST
|
2016-10-28 13:43:44 +00:00
|
|
|
Ldap host to connect to for password changes.
|
|
|
|
|
2016-12-30 14:29:26 +00:00
|
|
|
## LDAP_CONNECTION_PORT
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: 389
|
|
|
|
|
|
|
|
Port of the ldap host.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## LDAP_STARTTLS
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: true
|
|
|
|
|
|
|
|
Whether to use starttls when connecting to the ldap host.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## LDAP_BASE_DN
|
2016-10-28 13:43:44 +00:00
|
|
|
Base DN on the ldap host.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## LDAP_USER_DN_MASK
|
2016-10-28 13:43:44 +00:00
|
|
|
How user DNs look like.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## LDAP_PASSWORD_ATTRIBUTE
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: userPassword
|
|
|
|
|
|
|
|
How is the ldap attribute for the user password called.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## IMAP_HOST
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: tls://%n
|
|
|
|
|
|
|
|
IMAP host to authenticate users against.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## SMTP_HOST
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: tls://%n
|
|
|
|
|
|
|
|
SMTP host for sending mails.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## SMTP_PORT
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: 587
|
|
|
|
|
|
|
|
Port for the SMTP host.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## SECRET_KEY
|
2016-10-28 13:43:44 +00:00
|
|
|
Secret key for session secrets.
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
## CIPHER_METHOD
|
2016-10-28 13:43:44 +00:00
|
|
|
- default: AES-256-CBC
|
|
|
|
|
|
|
|
Encryption algorithm for session secrets.
|
|
|
|
|
2019-06-21 11:58:29 +00:00
|
|
|
## CARDDAV_PRESETS
|
|
|
|
Configured preset addressbooks are created for a user as they log in.
|
|
|
|
|
|
|
|
For example:
|
|
|
|
```$prefs['Personal'] = array(
|
|
|
|
// required attributes
|
|
|
|
'name' => 'Personal',
|
|
|
|
// will be substituted for the roundcube username
|
|
|
|
'username' => '%u',
|
|
|
|
// will be substituted for the roundcube password
|
|
|
|
'password' => '%p',
|
|
|
|
// %u will be substituted for the CardDAV username
|
|
|
|
'url' => 'https://my.nextcloud.org/remote.php/dav/addressbooks/users/%u/contacts/',
|
|
|
|
|
|
|
|
'active' => true,
|
|
|
|
'readonly' => false,
|
|
|
|
'refresh_time' => '02:00:00',
|
|
|
|
|
|
|
|
'fixed' => array( 'username' ),
|
|
|
|
'hide' => false,
|
|
|
|
);
|
|
|
|
|
|
|
|
```
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
# Ports
|
2016-10-28 13:43:44 +00:00
|
|
|
- 80
|
|
|
|
|
2016-10-31 10:13:03 +00:00
|
|
|
# Capabilities
|
2016-10-28 14:24:42 +00:00
|
|
|
- CHOWN
|
2016-10-28 13:43:44 +00:00
|
|
|
- DAC_OVERRIDE
|
|
|
|
- NET_BIND_SERVICE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|