Initial version of enigma enabled roundcube

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-02-25 13:12:42 +01:00
commit c177022433
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
4 changed files with 35 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.DS_Store

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM robbertkl/roundcube
COPY config.inc.php config/

3
Makefile Normal file
View 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
View 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';