From c1770224335acbad9a2f655e51128329ce565e35 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 25 Feb 2017 13:12:42 +0100 Subject: [PATCH] Initial version of enigma enabled roundcube Signed-off-by: Knut Ahlers --- .gitignore | 1 + Dockerfile | 3 +++ Makefile | 3 +++ config.inc.php | 28 ++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 Makefile create mode 100644 config.inc.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8484b99 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM robbertkl/roundcube + +COPY config.inc.php config/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..eaf0e3d --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +ci: + docker build --no-cache --pull -t registry.luzifer.io/roundcube . + docker push registry.luzifer.io/roundcube diff --git a/config.inc.php b/config.inc.php new file mode 100644 index 0000000..7d0eadb --- /dev/null +++ b/config.inc.php @@ -0,0 +1,28 @@ + [ + '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';