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/syslog-ng.conf

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

syslog-ng.conf on main
Author Date Commit Line Code
DerLinkman 13 days ago 3098cae

migrate postfix to trixie

Full commit hash
3098caebbc747f7b329a13f8ee9c381d7cc0452a
Author
DerLinkman <[email protected]>
Date
13 days ago
Selected line
1
@version: 4.8
Open commit View diff
1 @version: 4.8
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
2
@include "scl.conf"
Open commit View diff
2 @include "scl.conf"
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
3
options {
Open commit View diff
3 options {
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
4
  chain_hostnames(off);
Open commit View diff
4 chain_hostnames(off);
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
5
  flush_lines(0);
Open commit View diff
5 flush_lines(0);
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
6
  use_dns(no);
Open commit View diff
6 use_dns(no);
andryyy almost 7 years ago 3136e02

[Postfix] Remove Zeyple, base on Buster

Full commit hash
3136e020f6c0afed83feaddddbd05fff2029fc92
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
7
  dns_cache(no);
Open commit View diff
7 dns_cache(no);
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
8
  use_fqdn(no);
Open commit View diff
8 use_fqdn(no);
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
9
  owner("root"); group("adm"); perm(0640);
Open commit View diff
9 owner("root"); group("adm"); perm(0640);
DerLinkman 13 days ago 3098cae

migrate postfix to trixie

Full commit hash
3098caebbc747f7b329a13f8ee9c381d7cc0452a
Author
DerLinkman <[email protected]>
Date
13 days ago
Selected line
10
  stats(freq(0));
Open commit View diff
10 stats(freq(0));
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
11
  bad_hostname("^gconfd$");
Open commit View diff
11 bad_hostname("^gconfd$");
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
12
};
Open commit View diff
12 };
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
13
source s_src {
Open commit View diff
13 source s_src {
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
14
  unix-stream("/dev/log");
Open commit View diff
14 unix-stream("/dev/log");
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
15
  internal();
Open commit View diff
15 internal();
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
16
};
Open commit View diff
16 };
andryyy about 9 years ago f8ae515

[Postfix] Do not keep persistent logs in a container

Full commit hash
f8ae5158cba45bf42f34832f2e8793486d540326
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
17
destination d_stdout { pipe("/dev/stdout"); };
Open commit View diff
17 destination d_stdout { pipe("/dev/stdout"); };
same change f8ae515

[Postfix] Do not keep persistent logs in a container

Full commit hash
f8ae5158cba45bf42f34832f2e8793486d540326
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
18
destination d_redis_ui_log {
Open commit View diff
18 destination d_redis_ui_log {
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
19
  redis(
Open commit View diff
19 redis(
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
20
    host("redis-mailcow")
Open commit View diff
20 host("redis-mailcow")
andryyy about 9 years ago dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
21
    persist-name("redis1")
Open commit View diff
21 persist-name("redis1")
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
22
    port(6379)
Open commit View diff
22 port(6379)
FreddleSpl0it over 1 year ago 89fb132

Enable password protection for Redis

Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
23
    auth("`REDISPASS`")
Open commit View diff
23 auth("`REDISPASS`")
andryyy about 9 years ago 7f47af1

Fix destination hash

Full commit hash
7f47af1d605af76355f24359b9b2b65e40f1b992
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
24
    command("LPUSH" "POSTFIX_MAILLOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n")
Open commit View diff
24 command("LPUSH" "POSTFIX_MAILLOG" "$(format-json time=\"$S_UNIXTIME\" priority=\"$PRIORITY\" program=\"$PROGRAM\" message=\"$MESSAGE\")\n")
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
25
  );
Open commit View diff
25 );
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
26
};
Open commit View diff
26 };
andryyy about 9 years ago dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
27
destination d_redis_f2b_channel {
Open commit View diff
27 destination d_redis_f2b_channel {
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
28
  redis(
Open commit View diff
28 redis(
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
29
    host("redis-mailcow")
Open commit View diff
29 host("redis-mailcow")
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
30
    persist-name("redis2")
Open commit View diff
30 persist-name("redis2")
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
31
    port(6379)
Open commit View diff
31 port(6379)
FreddleSpl0it over 1 year ago 89fb132

Enable password protection for Redis

Full commit hash
89fb1322c6f486a9883e6435a73537b13fbf3582
Author
FreddleSpl0it <[email protected]>
Date
over 1 year ago
Selected line
32
    auth("`REDISPASS`")
Open commit View diff
32 auth("`REDISPASS`")
andryyy over 5 years ago f60143e

[Postfix, Dovecot, SOGo] Sanitize F2B logs

Full commit hash
f60143e983ca02399e1b1a9bd74cfedfb3bb1257
Author
andryyy <[email protected]>
Date
over 5 years ago
Selected line
33
    command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
Open commit View diff
33 command("PUBLISH" "F2B_CHANNEL" "$(sanitize $MESSAGE)")
andryyy about 9 years ago dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
34
  );
Open commit View diff
34 );
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
35
};
Open commit View diff
35 };
same change dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
36
filter f_mail { facility(mail); };
Open commit View diff
36 filter f_mail { facility(mail); };
andryyy over 6 years ago 4a36eb0

[Postfix] TLS protocols for submission and smtps can be overriden using extra.cf (submission_smtpd_tls_mandatory_protocols and smtps_smtpd_tls_mandatory_protocols), thanks to @christianbur

Full commit hash
4a36eb014ca09b57ef67f5d257a090cc36ffd598
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
37
# start
Open commit View diff
37 # start
same change 4a36eb0

[Postfix] TLS protocols for submission and smtps can be overriden using extra.cf (submission_smtpd_tls_mandatory_protocols and smtps_smtpd_tls_mandatory_protocols), thanks to @christianbur

Full commit hash
4a36eb014ca09b57ef67f5d257a090cc36ffd598
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
38
# overriding warnings are still displayed when the entrypoint runs its initial check
Open commit View diff
38 # overriding warnings are still displayed when the entrypoint runs its initial check
same change 4a36eb0

[Postfix] TLS protocols for submission and smtps can be overriden using extra.cf (submission_smtpd_tls_mandatory_protocols and smtps_smtpd_tls_mandatory_protocols), thanks to @christianbur

Full commit hash
4a36eb014ca09b57ef67f5d257a090cc36ffd598
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
39
# warnings logged by postfix-mailcow to syslog are hidden to reduce repeating msgs
Open commit View diff
39 # warnings logged by postfix-mailcow to syslog are hidden to reduce repeating msgs
andryyy almost 6 years ago 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
40
# Some other warnings are ignored
Open commit View diff
40 # Some other warnings are ignored
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
41
filter f_ignore {
Open commit View diff
41 filter f_ignore {
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
42
  not match("overriding earlier entry" value("MESSAGE"));
Open commit View diff
42 not match("overriding earlier entry" value("MESSAGE"));
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
43
  not match("TLS SNI from checks.mailcow.email" value("MESSAGE"));
Open commit View diff
43 not match("TLS SNI from checks.mailcow.email" value("MESSAGE"));
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
44
  not match("no SASL support" value("MESSAGE"));
Open commit View diff
44 not match("no SASL support" value("MESSAGE"));
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
45
  not facility (local0, local1, local2, local3, local4, local5, local6, local7);
Open commit View diff
45 not facility (local0, local1, local2, local3, local4, local5, local6, local7);
same change 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
46
};
Open commit View diff
46 };
andryyy over 6 years ago 4a36eb0

[Postfix] TLS protocols for submission and smtps can be overriden using extra.cf (submission_smtpd_tls_mandatory_protocols and smtps_smtpd_tls_mandatory_protocols), thanks to @christianbur

Full commit hash
4a36eb014ca09b57ef67f5d257a090cc36ffd598
Author
andryyy <[email protected]>
Date
over 6 years ago
Selected line
47
# end
Open commit View diff
47 # end
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
48
log {
Open commit View diff
48 log {
same change d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
49
  source(s_src);
Open commit View diff
49 source(s_src);
andryyy almost 6 years ago 85b027a

[Postfix] Merge syslog filters

Full commit hash
85b027aa9d598146bb61e7c27dca31060177b071
Author
andryyy <[email protected]>
Date
almost 6 years ago
Selected line
50
  filter(f_ignore);
Open commit View diff
50 filter(f_ignore);
andryyy about 9 years ago f8ae515

[Postfix] Do not keep persistent logs in a container

Full commit hash
f8ae5158cba45bf42f34832f2e8793486d540326
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
51
  destination(d_stdout);
Open commit View diff
51 destination(d_stdout);
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
52
  filter(f_mail);
Open commit View diff
52 filter(f_mail);
andryyy about 9 years ago f8ae515

[Postfix] Do not keep persistent logs in a container

Full commit hash
f8ae5158cba45bf42f34832f2e8793486d540326
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
53
  destination(d_redis_ui_log);
Open commit View diff
53 destination(d_redis_ui_log);
andryyy about 9 years ago dc463c3

[Multiple] Push multiple logs to Redis channel for fail2ban-mailcow to read. Enables Fail2ban independently of used Docker logging driver.

Full commit hash
dc463c3ddaac35e71df1be11d16b23bb373020d2
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
54
  destination(d_redis_f2b_channel);
Open commit View diff
54 destination(d_redis_f2b_channel);
andryyy about 9 years ago d614aaf

Add Json logger

Full commit hash
d614aaf6172a5401d612cfc31cb8db66d1977c6a
Author
andryyy <[email protected]>
Date
about 9 years ago
Selected line
55
};
Open commit View diff
55 };