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 firstname.lastname@example.org, 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 email@example.com . 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?