• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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