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/sogo/syslog-ng-redis_slave.conf
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
@version: 3.38
2
@include "scl.conf"
3
options {
4
chain_hostnames(off);
5
flush_lines(0);
6
use_dns(no);
7
use_fqdn(no);
8
owner("root"); group("adm"); perm(0640);
9
stats_freq(0);
10
bad_hostname("^gconfd$");
11
};
12
source s_src {
13
unix-stream("/dev/log");
14
internal();
15
};
16
source s_sogo {
17
pipe("/dev/sogo_log" owner(sogo) group(sogo));
18
};
19
destination d_stdout { pipe("/dev/stdout"); };
20
destination d_redis_ui_log {
21
redis(
22
host("`REDIS_SLAVEOF_IP`")
23
persist-name("redis1")
24
port(`REDIS_SLAVEOF_PORT`)
25
auth("`REDISPASS`")
26
command("LPUSH" "SOGO_LOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n")
27
);
28
};
29
destination d_redis_f2b_channel {
30
redis(
31
host("`REDIS_SLAVEOF_IP`")
32
persist-name("redis2")
33
port(`REDIS_SLAVEOF_PORT`)
34
auth("`REDISPASS`")
35
command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
36
);
37
};
38
log {
39
source(s_sogo);
40
destination(d_redis_ui_log);
41
destination(d_redis_f2b_channel);
42
};
43
log {
44
source(s_sogo);
45
source(s_src);
46
destination(d_stdout);
47
};