Skip to main content

header-Checks

Ein Beispiel für die Datei /etc/postfix/header_checks

IF /^Subject:/

/^Subject: Belebt Geist und Korper/                           REJECT  Message content rejected; No spam please! (H1)
/^Subject: Bitte tiefer eindringen und abladen/               REJECT  Message content rejected; No spam please! (H2)
/^Subject: Nie mehr zu fruh kommen/                           REJECT  Message content rejected; No spam please! (H3)
/^Subject: Privatkredite/                                     REJECT  Message content rejected; No spam please! (H4)
/^Subject: schoolgirls/                                       REJECT  Message content rejected; No spam please! (H5)
/^Subject: Russian/                                           REJECT  Message content rejected; No spam please! (H6)
/^Subject: Potenzprobleme/                                    REJECT  Message content rejected; No spam please! (H7)
/^Subject: Probieren Sie es/                                  REJECT  Message content rejected; No spam please! (H8)
/^Subject: Teenage/                                           REJECT  Message content rejected; No spam please! (H9)
/^Subject: Spitzenduell/                                      REJECT  Message content rejected; No spam please! (H10)
/^Subject: Energy/                                            REJECT  Message content rejected; No spam please! (H11)
/^Subject: sparen/                                            REJECT  Message content rejected; No spam please! (H12)
/^Subject: Banish/                                            REJECT  Message content rejected; No spam please! (H13)
/^Subject: rufen/                                             REJECT  Message content rejected; No spam please! (H14)
/^Subject: Rabatte/                                           REJECT  Message content rejected; No spam please! (H15)
/^Subject: safe/                                              REJECT  Message content rejected; No spam please! (H16)
/^Subject: Ficken/                                            REJECT  Message content rejected; No spam please! (H17)
/^Subject: Financial/                                         REJECT  Message content rejected; No spam please! (H18)
/^Subject: girl/                                              REJECT  Message content rejected; No spam please! (H19)
/^Subject: Happy/                                             REJECT  Message content rejected; No spam please! (H20)
/^Subject: Newsletter/                                        REJECT  Message content rejected; No spam please! (H21)
/^Subject: lebt/                                              REJECT  Message content rejected; No spam please! (H22)
/^Subject: Man/                                               REJECT  Message content rejected; No spam please! (H23)
/^Subject: PAYMENT/                                           REJECT  Message content rejected; No spam please! (H24)
/^Subject: Pedolover/                                         REJECT  Message content rejected; No spam please! (H25)
/^Subject: Pedo/                                              REJECT  Message content rejected; No spam please! (H26)
/^Subject: Medically/                                         REJECT  Message content rejected; No spam please! (H27)
/^Subject: Pics/                                              REJECT  Message content rejected; No spam please! (H28)
/^Subject: %/                                                 REJECT  Message content rejected; No spam please! (H29)
ENDIF

Einzelne Regeln lassen sich auch folgendermaßen testen:

echo 'Subject: Belebt Geist und Korper' | postmap -fq - pcre:/etc/postfix/header_checks