• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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