First please forgive me if this is not the right location for my
question, and if it is indeed not the right place, please give me the
right direction.

My name is retisa, I'm college student in Indonesia. I want to ask
about Postfix and PHP, because one of my assigment is build the mail
server using Postfix and filter using PHP.

So the scenario is:

incoming mail-->postfix-->php...