Add port number to master.cf template and attribute