mail config file improvement