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/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.
Author
Date
Commit
Line
Code
1
#!/bin/bash
3
password_file='/etc/rspamd/override.d/worker-controller-password.inc'
4
password_hash=`/usr/bin/rspamadm pw -e -p $1`
6
echo 'enable_password = "'$password_hash'";' > $password_file
8
if grep -q "$password_hash" "$password_file"; then
9
echo "OK"
10
else
11
echo "ERROR"
12
fi