I was just wondering if anyone has built any custom filters for amavis.

I need to simply check when for certain words in a subject line of every email and reject if it does not exist.

I have successfully got header checks identifying email with certain words but i am looking for a solution to reply to the sender saying the mail has failed due to in-correct markings.