]> git.somenet.org - root/pub/somesible.git/blob - roles/server/mail/postfix/files/default/header_checks_in.regexp
roles/service/nextcloud/defaults
[root/pub/somesible.git] / roles / server / mail / postfix / files / default / header_checks_in.regexp
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 # Remove our own internal headers again.
10 /^Received: by mail.somenet.org/                        IGNORE
11 /^Received: from.*10\..+\..+\..+by mail.somenet.org/    IGNORE
12 /^Received: from localhost.+by mail.somenet.org/        IGNORE
13
14 # ignored by spamassassin AND removed by postfix.
15 /^X-Spam-Checker-Version/                               IGNORE
16 /^X-Spam$/                                              IGNORE
17 /^X-Spamd-.*/                                           IGNORE
18 /^X-Rspamd-.*/                                          IGNORE
19 /^X-Virus-Scanned/                                      IGNORE
20 /^X-Greylist/                                           IGNORE
21
22 #/^.*GNU Terry Pratchett$/                              REJECT spammy header: GNU Terry Pratchett
23 /^.*GNU Terry Pratchett$/                               IGNORE
24
25 # Debugging your mail setup? use this.
26 #/^Subject:/                                             WARN