mirror of
https://github.com/luzifer-docker/gmail-roundcube.git
synced 2024-12-20 18:01:21 +00:00
Initial version of enigma enabled roundcube
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
commit
c177022433
4 changed files with 35 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.DS_Store
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
FROM robbertkl/roundcube
|
||||||
|
|
||||||
|
COPY config.inc.php config/
|
3
Makefile
Normal file
3
Makefile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ci:
|
||||||
|
docker build --no-cache --pull -t registry.luzifer.io/roundcube .
|
||||||
|
docker push registry.luzifer.io/roundcube
|
28
config.inc.php
Normal file
28
config.inc.php
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$config = array();
|
||||||
|
|
||||||
|
$config['db_dsnw'] = 'sqlite:////var/www/db/sqlite.db';
|
||||||
|
|
||||||
|
$config['imap_conn_options'] =
|
||||||
|
$config['smtp_conn_options'] =
|
||||||
|
$config['managesieve_conn_options'] = [
|
||||||
|
'ssl' => [
|
||||||
|
'verify_peer' => false,
|
||||||
|
'verify_peer_name' => false,
|
||||||
|
'allow_self_signed' => true,
|
||||||
|
],
|
||||||
|
];
|
||||||
|
|
||||||
|
$config['default_host'] = 'ssl://imap.gmail.com';
|
||||||
|
$config['default_port'] = 993;
|
||||||
|
|
||||||
|
$config['smtp_server'] = 'ssl://smtp.gmail.com';
|
||||||
|
$config['smtp_port'] = 465;
|
||||||
|
$config['smtp_user'] = '%u';
|
||||||
|
$config['smtp_pass'] = '%p';
|
||||||
|
|
||||||
|
$config['enigma_pgp_homedir'] = '/var/www/db/enigma';
|
||||||
|
|
||||||
|
$config['plugins'] = array('enigma');
|
||||||
|
if(getenv('ROUNDCUBE_USER_FILE')) $config['plugins'][] = 'password';
|
Loading…
Reference in a new issue