Transaction filters work on the SMTP MAIL FROM: header which is not always the same as the From: header in the message body.
FWIW this will do what you asked (as long as "Casino" appears in the MAIL FROM: SMTP command)
M, "*[Cc]asino*", B, "554 MAIL FROM rejected"
As Peter has said, you may have more luck with Global filtering (or better yet, Spamhalter for an automated solution)
<p>Transaction filters work on the SMTP MAIL FROM: header which is not always the same as the From: header in the message body.</p><p>FWIW this will do what you asked (as long as "Casino" appears in the MAIL FROM: SMTP command)
</p><p>M, "*[Cc]asino*", B, "554 MAIL FROM rejected" </p><p>As Peter has said, you may have more luck with Global filtering (or better yet, Spamhalter for an automated solution)
</p>