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/rspamd/set_worker_password.sh

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

set_worker_password.sh on main
Author Date Commit Line Code
FreddleSpl0it almost 4 years ago 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
2
Open commit View diff
2
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
3
password_file='/etc/rspamd/override.d/worker-controller-password.inc'
Open commit View diff
3 password_file='/etc/rspamd/override.d/worker-controller-password.inc'
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
4
password_hash=`/usr/bin/rspamadm pw -e -p $1`
Open commit View diff
4 password_hash=`/usr/bin/rspamadm pw -e -p $1`
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
5
Open commit View diff
5
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
6
echo 'enable_password = "'$password_hash'";' > $password_file
Open commit View diff
6 echo 'enable_password = "'$password_hash'";' > $password_file
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
7
Open commit View diff
7
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
8
if grep -q "$password_hash" "$password_file"; then
Open commit View diff
8 if grep -q "$password_hash" "$password_file"; then
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
9
    echo "OK"
Open commit View diff
9 echo "OK"
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
10
else
Open commit View diff
10 else
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
11
    echo "ERROR"
Open commit View diff
11 echo "ERROR"
same change 10e560c

fix set rspamd worker password

Full commit hash
10e560c5b22c41e54c28c7a5b4d631c2858cff39
Author
FreddleSpl0it <[email protected]>
Date
almost 4 years ago
Selected line
12
fi
Open commit View diff
12 fi