I have a problem where the postfix body_checks file doesn't seem to work past the first line in the file..
For example I have...
/Dear atari/ REJECT unknown user EB100
/How is it going/ REJECT unknown user EB101
/Sent from my Samsung device/ REJECT unknown user EB102
/Fax: +1/ REJECT unknown user EB103
/android.email/ REJECT unknown user EB104
/RGVhciBhdGFyaQ/ REJECT unknown user EB105
/hello/ REJECT unknown user EB106
(plus many more lines)
If I send a email with "Dear atari" it gets rejected, but Thunderbird lists the entire file when it rejects the email (which doesn't seem right?)
Though any other line in the file seems to get ignored totally. So if I sent "hello" in a email.. it would just get delivered as normal, when it should be blocked.
Its difficult to test the header_checks file, but from what I can tell that one seems to be working fine. People report my server lists the "error code" so it seems multiple checks are working.. Though the body_checks seem to be not working past the first line in the file ?
Its like any text after REJECT is being classed as the error message, despite being on a new line, so should be a separate check ?!
Anyone got any ideas on this ? I'm sure this was working when I first set it up.. I'm wondering if something updated on my server causing some "bug" with postfix somewhere.. its hard to figure out ::(