Our server accepts some kind of emails with formatted data. My script check email and if format wasn't OK reply something like "Bad format...".
Now I have problem, because sometime we can receive email from firstname.lastname@example.org
we replying "Bad format..." and postmaster reply "Delivery to the following recipients failed..." and so on...
It's loop. How I can prevent this kind of loops?
I'm using postfix.