1. Check if postfix has pcre support :
postconf -m
2. Add the below lines to main.cf
vi /etc/postfix/main.cf
body_checks = pcre:/etc/postfix/body_checks.pcre<br></br>
header_checks = pcre:/etc/postfix/header_checks.pcre```
3. Put the keywords and details