How to use the certbot-postfix.certbot_postfix.installer.Installer function in certbot-postfix

To help you get started, we’ve selected a few certbot-postfix examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github certbot / certbot / certbot-postfix / certbot_postfix / installer.py View on Github external
def rollback_checkpoints(self, rollback=1):
        """Rollback saved checkpoints.

        :param int rollback: Number of checkpoints to revert

        :raises .errors.PluginError: If there is a problem with the input or
            the function is unable to correctly revert the configuration
        """
        super(Installer, self).rollback_checkpoints(rollback)
        self.postconf = postconf.ConfigMain(self.conf('config-utility'),
                                            self.conf('ignore-master-overrides'),
                                            self.conf('config-dir'))
github EFForg / starttls-everywhere / certbot-postfix / certbot_postfix / installer.py View on Github external
def __init__(self, *args, **kwargs):
        super(Installer, self).__init__(*args, **kwargs)
        self.config_dir = None
        self.postconf = None
        # self.proposed_changes = {}
        self.save_notes = []
        self.policy = None
        self.policy_lines = []
        self.policy_file = None
        self.postfix_policy_file = None