Working setup v1

This commit is contained in:
2022-11-19 14:44:58 +01:00
parent ef88c67176
commit e26aff43bc
7 changed files with 216 additions and 32 deletions

View File

@ -1,14 +0,0 @@
FROM alpine
MAINTAINER Lieuwe Leene
ARG SSL_ALGO=secp521r1
RUN apk update && \
apk add --no-cache openssl && \
rm -rf /var/cache/apk/*
RUN mkdir -p /etc/letsencrypt/live
RUN openssl ecparam -name ${SSL_ALGO} -genkey | openssl pkey -out /etc/letsencrypt/live/ecprivkey.pem && \
openssl pkey -in /etc/letsencrypt/live/ecprivkey.pem -pubout -out /etc/letsencrypt/live/ecpubkey.pem

19
config/mail/config.php Normal file
View File

@ -0,0 +1,19 @@
<?php
$config['imap_host'] = 'tls://mailserver:143';
$config['smtp_host'] = 'tls://mailserver:587';
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
),
);
$config['smtp_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
),
);