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-tlspol/postfix-tlspol.sh

Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.

postfix-tlspol.sh on main
Author Date Commit Line Code
DerLinkman 11 months ago 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
2
Open commit View diff
2
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
3
LOGLVL=info
Open commit View diff
3 LOGLVL=info
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
4
Open commit View diff
4
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
5
if [ ${DEV_MODE} != "n" ]; then
Open commit View diff
5 if [ ${DEV_MODE} != "n" ]; then
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
6
  echo -e "\e[31mEnabling debug mode\e[0m"
Open commit View diff
6 echo -e "\e[31mEnabling debug mode\e[0m"
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
7
  set -x
Open commit View diff
7 set -x
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
8
  LOGLVL=debug
Open commit View diff
8 LOGLVL=debug
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
9
fi
Open commit View diff
9 fi
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
10
Open commit View diff
10
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
11
[[ ! -d /etc/postfix-tlspol ]] && mkdir -p /etc/postfix-tlspol
Open commit View diff
11 [[ ! -d /etc/postfix-tlspol ]] && mkdir -p /etc/postfix-tlspol
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
12
[[ ! -d /var/lib/postfix-tlspol ]] && mkdir -p /var/lib/postfix-tlspol
Open commit View diff
12 [[ ! -d /var/lib/postfix-tlspol ]] && mkdir -p /var/lib/postfix-tlspol
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
13
Open commit View diff
13
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
14
until dig +short mailcow.email > /dev/null; do
Open commit View diff
14 until dig +short mailcow.email > /dev/null; do
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
15
  echo "Waiting for DNS..."
Open commit View diff
15 echo "Waiting for DNS..."
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
16
  sleep 1
Open commit View diff
16 sleep 1
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
17
done
Open commit View diff
17 done
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
18
Open commit View diff
18
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
19
# Do not attempt to write to slave
Open commit View diff
19 # Do not attempt to write to slave
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
20
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
Open commit View diff
20 if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
21
  export REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
Open commit View diff
21 export REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
22
else
Open commit View diff
22 else
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
23
  export REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
Open commit View diff
23 export REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
24
fi
Open commit View diff
24 fi
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
25
Open commit View diff
25
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
26
until [[ $(${REDIS_CMDLINE} PING) == "PONG" ]]; do
Open commit View diff
26 until [[ $(${REDIS_CMDLINE} PING) == "PONG" ]]; do
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
27
  echo "Waiting for Redis..."
Open commit View diff
27 echo "Waiting for Redis..."
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
28
  sleep 2
Open commit View diff
28 sleep 2
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
29
done
Open commit View diff
29 done
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
30
Open commit View diff
30
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
31
echo "Waiting for Postfix..."
Open commit View diff
31 echo "Waiting for Postfix..."
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
32
until ping postfix -c1 > /dev/null; do
Open commit View diff
32 until ping postfix -c1 > /dev/null; do
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
33
  sleep 1
Open commit View diff
33 sleep 1
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
34
done
Open commit View diff
34 done
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
35
echo "Postfix OK"
Open commit View diff
35 echo "Postfix OK"
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
36
Open commit View diff
36
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
37
cat <<EOF > /etc/postfix-tlspol/config.yaml
Open commit View diff
37 cat <<EOF > /etc/postfix-tlspol/config.yaml
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
38
server:
Open commit View diff
38 server:
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
39
  address: 0.0.0.0:8642
Open commit View diff
39 address: 0.0.0.0:8642
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
40
Open commit View diff
40
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
41
  log-level: ${LOGLVL}
Open commit View diff
41 log-level: ${LOGLVL}
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
42
Open commit View diff
42
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
43
  prefetch: true
Open commit View diff
43 prefetch: true
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
44
Open commit View diff
44
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
45
  cache-file: /var/lib/postfix-tlspol/cache.db
Open commit View diff
45 cache-file: /var/lib/postfix-tlspol/cache.db
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
46
Open commit View diff
46
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
47
dns:
Open commit View diff
47 dns:
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
48
  # must support DNSSEC
Open commit View diff
48 # must support DNSSEC
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
49
  address: 127.0.0.11:53
Open commit View diff
49 address: 127.0.0.11:53
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
50
EOF
Open commit View diff
50 EOF
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
51
Open commit View diff
51
same change 1cb38ba

Postfix: Split TLSPol companion app into separate container (#6688)

Full commit hash
1cb38bacdb0d652781007175fc37eb0361da6aa4
Author
DerLinkman <[email protected]>
Date
11 months ago
Selected line
52
/usr/local/bin/postfix-tlspol -config /etc/postfix-tlspol/config.yaml
Open commit View diff
52 /usr/local/bin/postfix-tlspol -config /etc/postfix-tlspol/config.yaml