check postfix deferred mail and send notification script

Hi Guys,

I have a postfix server which is deferring emails. Now I need to send notification to a specific email address if:

The sender of the deferred email is: abc@example.com
Contains specific subjects: a file (/opt/subjects) contains all the subjects in place

Then need to send a notification to: cba2example.com

Please guys help me to execute this.

Thanks.

MMA