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/conf/postfix/anonymize_headers.pcre

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

anonymize_headers.pcre on main
Author Date Commit Line Code
André Peters almost 7 years ago e00a18a

Update anonymize_headers.pcre

Full commit hash
e00a18ab95fa8bef60633370b878fe24977dbc82
Author
André Peters <[email protected]>
Date
almost 7 years ago
Selected line
1
if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
Open commit View diff
1 if /^\s*Received:.*Authenticated sender.*\(Postcow\)/
andryyy almost 7 years ago 8608ded

[Postfix] Replace Postcow header, remove authed user

Full commit hash
8608ded0ed4c87f40960751c9ad7a9b9eca029e6
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
2
#/^Received: from .*? \([\w-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (E?SMTPS?A?) id ([A-F0-9]+).+;.*?/
Open commit View diff
2 #/^Received: from .*? \([\w-.]* \[.*?\]\)\s+\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (E?SMTPS?A?) id ([A-F0-9]+).+;.*?/
Niklas Meyer about 2 years ago 2cf952e

[Postfix] Upgrade to Deb12 + PF to 3.7.10 & Drop TLS 1.0/1.1 per default (#5635)

Full commit hash
2cf952eb368609e44e9c076f9e2b058effeae6b7
Author
Niklas Meyer <[email protected]>
Date
about 2 years ago
Selected line
3
/^Received: from .*? \([\w\-.]* \[.*?\]\)(.*|\n.*)\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
Open commit View diff
3 /^Received: from .*? \([\w\-.]* \[.*?\]\)(.*|\n.*)\(Authenticated sender: (.+)\)\s+by.+\(Postcow\) with (.*)/
andryyy almost 7 years ago b5d169c

[Postfix] Fix anonymize headers...

Full commit hash
b5d169cf90a005b92934fa2e75b1c3351e6ac90a
Author
andryyy <[email protected]>
Date
almost 7 years ago
Selected line
4
  REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $3
Open commit View diff
4 REPLACE Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with $3
André over 7 years ago 66d8f33

[Postfix] Move "should not"-sign headers out of Postcow check to always remove them, fixes #1911

Full commit hash
66d8f33aace5dddce9352caad61f97221fcae4a2
Author
André <[email protected]>
Date
over 7 years ago
Selected line
5
endif
Open commit View diff
5 endif
Dmitriy Alekseev about 6 years ago d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
6
if /^\s*Received: from.* \(.*dovecot-mailcow.*mailcow-network.*\).*\(Postcow\)/
Open commit View diff
6 if /^\s*Received: from.* \(.*dovecot-mailcow.*mailcow-network.*\).*\(Postcow\)/
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
7
/^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
Open commit View diff
7 /^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
8
  REPLACE Received: from sieve (sieve $3) by $4 (Postcow) with $5
Open commit View diff
8 REPLACE Received: from sieve (sieve $3) by $4 (Postcow) with $5
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
9
endif
Open commit View diff
9 endif
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
10
if /^\s*Received: from.* \(.*rspamd-mailcow.*mailcow-network.*\).*\(Postcow\)/
Open commit View diff
10 if /^\s*Received: from.* \(.*rspamd-mailcow.*mailcow-network.*\).*\(Postcow\)/
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
11
/^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
Open commit View diff
11 /^Received: from.* (.*|\n.*)\((.+) (.+)\)\s+by (.+) \(Postcow\) with (.*)/
same change d5ed0c0

Update anonymize_headers.pcre (#3563)

Full commit hash
d5ed0c0368006729cb12577dc8d3adf0492b24ee
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
12
  REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5
Open commit View diff
12 REPLACE Received: from rspamd (rspamd $3) by $4 (Postcow) with $5
Dmitriy Alekseev about 6 years ago 4b22bd1

Update anonymize_headers.pcre (#3553)

Full commit hash
4b22bd1dea1e6e4c2fc6f86b70a560cde3577fd6
Author
Dmitriy Alekseev <[email protected]>
Date
about 6 years ago
Selected line
13
endif
Open commit View diff
13 endif
André almost 8 years ago a844add

[Postfix] Add mailcow_anonymize_headers to default config

Full commit hash
a844adde0f416357eefee125bbdf59185b17a3a6
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
14
/^\s*X-Enigmail/        IGNORE
Open commit View diff
14 /^\s*X-Enigmail/ IGNORE
Kristian Feldsam almost 3 years ago 100e8ab

[Postfix] Do not remove X-Mailer header

Full commit hash
100e8ab00d7d5c18ecab92b899993403b447a534
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
15
# Not removing Mailer by default, might be signed
Open commit View diff
15 # Not removing Mailer by default, might be signed
same change 100e8ab

[Postfix] Do not remove X-Mailer header

Full commit hash
100e8ab00d7d5c18ecab92b899993403b447a534
Author
Kristian Feldsam <[email protected]>
Date
almost 3 years ago
Selected line
16
#/^\s*X-Mailer/          IGNORE
Open commit View diff
16 #/^\s*X-Mailer/ IGNORE
André almost 8 years ago a844add

[Postfix] Add mailcow_anonymize_headers to default config

Full commit hash
a844adde0f416357eefee125bbdf59185b17a3a6
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
17
/^\s*X-Originating-IP/  IGNORE
Open commit View diff
17 /^\s*X-Originating-IP/ IGNORE
same change a844add

[Postfix] Add mailcow_anonymize_headers to default config

Full commit hash
a844adde0f416357eefee125bbdf59185b17a3a6
Author
André <[email protected]>
Date
almost 8 years ago
Selected line
18
/^\s*X-Forward/         IGNORE
Open commit View diff
18 /^\s*X-Forward/ IGNORE
andryyy about 7 years ago aaf0d52

[Postfix] Add UA header check, not enabled by default

Full commit hash
aaf0d521a23b72ff8e367c5463e18a33f60a7a0d
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
19
# Not removing UA by default, might be signed
Open commit View diff
19 # Not removing UA by default, might be signed
same change aaf0d52

[Postfix] Add UA header check, not enabled by default

Full commit hash
aaf0d521a23b72ff8e367c5463e18a33f60a7a0d
Author
andryyy <[email protected]>
Date
about 7 years ago
Selected line
20
#/^\s*User-Agent/        IGNORE
Open commit View diff
20 #/^\s*User-Agent/ IGNORE