As I am trying to make the server behave as per my requirements, currently specially mail server, I made some changes to /etc/postfix/main.cf, but on rebuilding mail server the same gets overwritten (it's been mentioned all over this forum.).
So, is there a proper method to preserve the changes made in configuration files?
May be a post rebuild script ?