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/whitelist_forwardinghosts.sh

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

whitelist_forwardinghosts.sh on main
Author Date Commit Line Code
andryyy about 9 years ago 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
1
#!/bin/bash
Open commit View diff
1 #!/bin/bash
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2
Open commit View diff
2
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3
while read QUERY; do
Open commit View diff
3 while read QUERY; do
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4
	QUERY=($QUERY)
Open commit View diff
4 QUERY=($QUERY)
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5
	if [ "${QUERY[0]}" != "get" ]; then
Open commit View diff
5 if [ "${QUERY[0]}" != "get" ]; then
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6
		echo "500 dunno"
Open commit View diff
6 echo "500 dunno"
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
7
		continue
Open commit View diff
7 continue
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
8
	fi
Open commit View diff
8 fi
andre.peters over 8 years ago a7a7b3f

[Postfix] Use name instead of IP

Full commit hash
a7a7b3f3fdf359d69dbb098dd1eef3f6ecaddb36
Author
andre.peters <[email protected]>
Date
over 8 years ago
Selected line
9
	result=$(curl -s http://nginx:8081/forwardinghosts.php?host=${QUERY[1]})
Open commit View diff
9 result=$(curl -s http://nginx:8081/forwardinghosts.php?host=${QUERY[1]})
andryyy about 9 years ago 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
10
	logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result"
Open commit View diff
10 logger -t whitelist_forwardinghosts -p mail.info "Look up ${QUERY[1]} on whitelist, result $result"
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
11
	echo ${result}
Open commit View diff
11 echo ${result}
same change 40f8605

Move forwarding host script to Docker image

Full commit hash
40f86057e50d5da72be6e25b27e5a9813d130aa6
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
12
done
Open commit View diff
12 done