• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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