public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/postfix/docker-entrypoint.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
#!/bin/bash
3
# Run hooks
4
for file in /hooks/*; do
5
if [ -x "${file}" ]; then
6
echo "Running hook ${file}"
7
"${file}"
8
fi
9
done
11
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
12
cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
13
fi
15
# Fix OpenSSL 3.X TLS1.0, 1.1 support (https://community.mailcow.email/d/4062-hi-all/20)
16
if grep -qE '\!SSLv2|\!SSLv3|>=TLSv1(\.[0-1])?$' /opt/postfix/conf/main.cf /opt/postfix/conf/extra.cf; then
17
sed -i '/\[openssl_init\]/a ssl_conf = ssl_configuration' /etc/ssl/openssl.cnf
19
echo "[ssl_configuration]" >> /etc/ssl/openssl.cnf
20
echo "system_default = tls_system_default" >> /etc/ssl/openssl.cnf
21
echo "[tls_system_default]" >> /etc/ssl/openssl.cnf
22
echo "MinProtocol = TLSv1" >> /etc/ssl/openssl.cnf
23
echo "CipherString = DEFAULT@SECLEVEL=0" >> /etc/ssl/openssl.cnf
24
fi
26
exec "$@"