NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
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.

docker-entrypoint.sh on main
Author Date Commit Line Code
andryyy over 6 years ago 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
same change 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
2
Open commit View diff
2
andryyy over 6 years ago c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
3
# Run hooks
Open commit View diff
3 # Run hooks
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
4
for file in /hooks/*; do
Open commit View diff
4 for file in /hooks/*; do
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
5
  if [ -x "${file}" ]; then
Open commit View diff
5 if [ -x "${file}" ]; then
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
6
    echo "Running hook ${file}"
Open commit View diff
6 echo "Running hook ${file}"
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
7
    "${file}"
Open commit View diff
7 "${file}"
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
8
  fi
Open commit View diff
8 fi
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
9
done
Open commit View diff
9 done
same change c54cfbf

[Postfix] Add hooks

Full commit hash
c54cfbf332fbd01fb0170282d12f1c2f7590d3e6
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
10
Open commit View diff
10
andryyy over 6 years ago 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
11
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
Open commit View diff
11 if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
same change 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
12
  cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
Open commit View diff
12 cp /etc/syslog-ng/syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng.conf
same change 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
13
fi
Open commit View diff
13 fi
same change 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
14
Open commit View diff
14
Niklas Meyer almost 2 years ago fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
15
# Fix OpenSSL 3.X TLS1.0, 1.1 support (https://community.mailcow.email/d/4062-hi-all/20)
Open commit View diff
15 # Fix OpenSSL 3.X TLS1.0, 1.1 support (https://community.mailcow.email/d/4062-hi-all/20)
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
16
if grep -qE '\!SSLv2|\!SSLv3|>=TLSv1(\.[0-1])?$' /opt/postfix/conf/main.cf /opt/postfix/conf/extra.cf; then
Open commit View diff
16 if grep -qE '\!SSLv2|\!SSLv3|>=TLSv1(\.[0-1])?$' /opt/postfix/conf/main.cf /opt/postfix/conf/extra.cf; then
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
17
    sed -i '/\[openssl_init\]/a ssl_conf = ssl_configuration' /etc/ssl/openssl.cnf
Open commit View diff
17 sed -i '/\[openssl_init\]/a ssl_conf = ssl_configuration' /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
18
Open commit View diff
18
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
19
    echo "[ssl_configuration]" >> /etc/ssl/openssl.cnf
Open commit View diff
19 echo "[ssl_configuration]" >> /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
20
    echo "system_default = tls_system_default" >> /etc/ssl/openssl.cnf
Open commit View diff
20 echo "system_default = tls_system_default" >> /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
21
    echo "[tls_system_default]" >> /etc/ssl/openssl.cnf
Open commit View diff
21 echo "[tls_system_default]" >> /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
22
    echo "MinProtocol = TLSv1" >> /etc/ssl/openssl.cnf
Open commit View diff
22 echo "MinProtocol = TLSv1" >> /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
23
    echo "CipherString = DEFAULT@SECLEVEL=0" >> /etc/ssl/openssl.cnf
Open commit View diff
23 echo "CipherString = DEFAULT@SECLEVEL=0" >> /etc/ssl/openssl.cnf
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
24
fi  
Open commit View diff
24 fi
same change fda9530

fix: added tls1.0/1.1 patch for openssl when using older tls versions in override (#6105)

Full commit hash
fda95301ba62fa1b354d177aa0e88526d9e6fd9e
Author
Niklas Meyer <[email protected]>
Date
almost 2 years ago
Selected line
25
Open commit View diff
25
andryyy over 6 years ago 15fb2e2

[Postfix] Use Redis master if set

Full commit hash
15fb2e22eaecd30cc5ae6345803d3894a778ad2e
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
26
exec "$@"
Open commit View diff
26 exec "$@"