I have configured postfix for my kk.com domain successfully. Now I want to add function as described in below example.
Example:
if someone mail me at admin@kk.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 accout like rooot@kk.com . I have little information that I need to config main.cf file in postfix and set some called alliase. 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?
Help me friends.