I have configured postfix for my kk.com domain successfully. Now I want to add function as described in the following example:
If someone mails me at email@example.com, one php script will fetch information of sender email inside mail details and also (defined in php script) add and store in some mysql database and automatically forward this msg to another postfix account like firstname.lastname@example.org . I have little information that I need to config main.cf file in postfix and set some called aliases. I have configured postfix first time and I don't have deep knowledge of it..
What is this technique called ?
How can I make this possible?