I have a body_checks file for postfix.
Unfortunately I rarely, but sometimes important mails are not received, because they are rejected by the body_checks, although there should be no match. Here is my body_checks file:
body_checks = pcre:/etc/postfix/body_checks
/xxlady/ REJECT
/Aktfotos/ REJECT
/betrogen/ REJECT
/Anlageempfehlung/ REJECT
/Porno/ REJECT
/Pornovideo/ REJECT
/Pfund/ REJECT
/Wohltatigkeitsorganisation/ REJECT
/TronTee/ REJECT
/90offbags/ REJECT
/90offsunglasses/ REJECT
/porn/ REJECT
/masturbieren/ REJECT
/CPF\s057\s200\s664\s645/ REJECT
/CPF\s057\sxxx\sxxx\s645/ REJECT
/CPF\sO57\s2OO\s664\s645\./ REJECT
/Pu\$\$y/ REJECT
/S#x/ REJECT
/Bitcoin-Wallet/ REJECT
/track-paket-149/ REJECT
/dhl-paket-track/ REJECT
/asfona\.net/ REJECT
/Ihr\sDHL-Team/ REJECT
/Stockwell-London/ REJECT
/Ray\sBan\sSunglasses\s2023\sStyle/ REJECT
/Bored\sApe/ REJECT
/www\.85off-lv\.com/ REJECT
/https:\/\/www\.85off-lv\.com/ REJECT
/Temps\sde\slecture/ REJECT
/Spendencode/ REJECT
/Viagra\sPrice/ REJECT
/McAfeefor/ REJECT
/McAfee/ REJECT
/breercecet/ REJECT
/WANCZYK/ REJECT
/tinyurl/ REJECT
/pessinastefano986/ REJECT
The error message I receive is:
2024-04-08T10:33:45.983819+02:00 admin postfix/cleanup[1414013]: 37595320177: reject: body ImTpT+mI0EwcUpHvMLuJSvUWb7mYBmN1zQpOrN0o7X6ipZgpUna92TxyHzObekdTa8IwZkqmS9fO from o4.transactional.digitecgalaxus.ch[168.245.116.150]; from=<bounces+12270525-14cf-kontakt=rafaelbetz.de@em1070.notifications.galaxus.de> to=<[email protected]> proto=ESMTP helo=<o4.transactional.digitecgalaxus.ch>: 5.7.1 message content rejected
I don't get what this crypted body ImTpT+mI0EwcUpHvMLuJSvUWb7mYBmN1zQpOrN0o7X6ipZgpUna92TxyHzObekdTa8IwZkqmS9fO is and why it gets rejected. But the mail was definitely legit.