• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Reset postfix configuration on plesk 12

femotvaff

Regular Pleskian
Hi is there a way to reset postfix configuration in plesk 12?
I have some misconfiguration on smtp banner and hostname so I prefer to reset all.
 
The only way to reset Postfix to what you had earlier would be to restore the config from a server backup or from corresponding rpm or deb package. If you don't have a backup of the Postfix config, there isn't a way to get your original config back.
 
The only way to reset Postfix to what you had earlier would be to restore the config from a server backup or from corresponding rpm or deb package. If you don't have a backup of the Postfix config, there isn't a way to get your original config back.

This is not completely correct. Plesk stores previous configuration(s), changed with Plesk utilities, at the location:

/var/lib/plesk/cfgmon/

You could have a look inside this folder, or locate for example "main.cf" - versions and/or "master.cf" - versions with the command:

locate main.cf
locate master.cf
 
Last edited by a moderator:
@UFHH01 yes, good point! Thank you.
Additionally you can manage revisions of config files with cfgmon utility. More details:

# plesk bin cfgmon --help
 
Back
Top