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/dovecot/trim_logs.sh

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

trim_logs.sh on main
Author Date Commit Line Code
André almost 8 years ago 04b43d0

[Dovecot] Add new imapsync + dependencies

Full commit hash
04b43d0a3bcb567d08c8eae6eb523e73f1de4eae
Author
AndrĂ© <[email protected]>
Date
almost 8 years ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
andryyy over 7 years ago 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
2
catch_non_zero() {
Open commit View diff
2 catch_non_zero() {
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
3
  CMD=${1}
Open commit View diff
3 CMD=${1}
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
4
  ${CMD} > /dev/null
Open commit View diff
4 ${CMD} > /dev/null
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
5
  EC=$?
Open commit View diff
5 EC=$?
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
6
  if [ ${EC} -ne 0 ]; then
Open commit View diff
6 if [ ${EC} -ne 0 ]; then
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
7
    echo "Command ${CMD} failed to execute, exit code was ${EC}"
Open commit View diff
7 echo "Command ${CMD} failed to execute, exit code was ${EC}"
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
8
  fi
Open commit View diff
8 fi
same change 244ab19

[Dovecot] Dovecot 2.3.3, Pigeonhole 0.5.3

Full commit hash
244ab191bdf75b02d6fa4488fc7763845ef13019
Author
andryyy <[email protected]>
Date
over 7 years ago
Selected line
9
}
Open commit View diff
9 }
andryyy about 6 years ago 9078031

[Dovecot] WIP: Read env vars for cronjobs from prepared file

Full commit hash
9078031255b8e21cd5bbf9905859788ec0bb9be3
Author
andryyy <[email protected]>
Date
about 6 years ago
Selected line
10
source /source_env.sh
Open commit View diff
10 source /source_env.sh
andryyy over 6 years ago c8b9f2b

[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master

Full commit hash
c8b9f2b36ca533ada7c7ff01bbbd84209e982d06
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
11
# Do not attempt to write to slave
Open commit View diff
11 # Do not attempt to write to slave
same change c8b9f2b

[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master

Full commit hash
c8b9f2b36ca533ada7c7ff01bbbd84209e982d06
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
12
if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
Open commit View diff
12 if [[ ! -z ${REDIS_SLAVEOF_IP} ]]; then
FreddleSpl0it over 1 year ago 6831f94

[Redis] redis-cli suppress auth warning

Full commit hash
6831f94fdb209fb4a558f5f81fb7db340c856bd2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
13
  REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
Open commit View diff
13 REDIS_CMDLINE="redis-cli -h ${REDIS_SLAVEOF_IP} -p ${REDIS_SLAVEOF_PORT} -a ${REDISPASS} --no-auth-warning"
andryyy over 6 years ago c8b9f2b

[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master

Full commit hash
c8b9f2b36ca533ada7c7ff01bbbd84209e982d06
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
14
else
Open commit View diff
14 else
FreddleSpl0it over 1 year ago 6831f94

[Redis] redis-cli suppress auth warning

Full commit hash
6831f94fdb209fb4a558f5f81fb7db340c856bd2
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
15
  REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
Open commit View diff
15 REDIS_CMDLINE="redis-cli -h redis -p 6379 -a ${REDISPASS} --no-auth-warning"
andryyy over 6 years ago c8b9f2b

[Dovecot] Add auth_passdb_lookup to LUA, add default plugins for replicator, check if master, add node to GUID creation, use correct syslog-ng config if Redis write-master is not redis-mailcow, trim logs on Redis master

Full commit hash
c8b9f2b36ca533ada7c7ff01bbbd84209e982d06
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
16
fi
Open commit View diff
16 fi
andryyy over 5 years ago 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
17
catch_non_zero "${REDIS_CMDLINE} LTRIM ACME_LOG 0 ${LOG_LINES}"
Open commit View diff
17 catch_non_zero "${REDIS_CMDLINE} LTRIM ACME_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
18
catch_non_zero "${REDIS_CMDLINE} LTRIM POSTFIX_MAILLOG 0 ${LOG_LINES}"
Open commit View diff
18 catch_non_zero "${REDIS_CMDLINE} LTRIM POSTFIX_MAILLOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
19
catch_non_zero "${REDIS_CMDLINE} LTRIM DOVECOT_MAILLOG 0 ${LOG_LINES}"
Open commit View diff
19 catch_non_zero "${REDIS_CMDLINE} LTRIM DOVECOT_MAILLOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
20
catch_non_zero "${REDIS_CMDLINE} LTRIM SOGO_LOG 0 ${LOG_LINES}"
Open commit View diff
20 catch_non_zero "${REDIS_CMDLINE} LTRIM SOGO_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
21
catch_non_zero "${REDIS_CMDLINE} LTRIM NETFILTER_LOG 0 ${LOG_LINES}"
Open commit View diff
21 catch_non_zero "${REDIS_CMDLINE} LTRIM NETFILTER_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
22
catch_non_zero "${REDIS_CMDLINE} LTRIM AUTODISCOVER_LOG 0 ${LOG_LINES}"
Open commit View diff
22 catch_non_zero "${REDIS_CMDLINE} LTRIM AUTODISCOVER_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
23
catch_non_zero "${REDIS_CMDLINE} LTRIM API_LOG 0 ${LOG_LINES}"
Open commit View diff
23 catch_non_zero "${REDIS_CMDLINE} LTRIM API_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
24
catch_non_zero "${REDIS_CMDLINE} LTRIM RL_LOG 0 ${LOG_LINES}"
Open commit View diff
24 catch_non_zero "${REDIS_CMDLINE} LTRIM RL_LOG 0 ${LOG_LINES}"
same change 971434d

[mailcow] Use ofelia instead of cron daemons (wip: remove init systems)

Full commit hash
971434ddd354a87208cbee87d399fc66be3e94ff
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
25
catch_non_zero "${REDIS_CMDLINE} LTRIM WATCHDOG_LOG 0 ${LOG_LINES}"
Open commit View diff
25 catch_non_zero "${REDIS_CMDLINE} LTRIM WATCHDOG_LOG 0 ${LOG_LINES}"
FreddleSpl0it about 3 years ago 6d3a32c

[Web] trim CRON_LOG

Full commit hash
6d3a32c1d9486e5a40994e03a5c6bfa3ab81655b
Author
FreddleSpl0it <[email protected]>
Date
about 3 years ago
Selected line
26
catch_non_zero "${REDIS_CMDLINE} LTRIM CRON_LOG 0 ${LOG_LINES}"
Open commit View diff
26 catch_non_zero "${REDIS_CMDLINE} LTRIM CRON_LOG 0 ${LOG_LINES}"