How to use the managesieve.MANAGESIEVE function in managesieve

To help you get started, we’ve selected a few managesieve 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 inverse-inc / sogo / Tests / Integration / test-sieve.py View on Github external
def setUp(self):
      ret = ""

      self.client = webdavlib.WebDAVClient(hostname, port,
                                             username, password)
      utility = utilities.TestUtility(self, self.client)
      (self.user_name, self.user_email) = utility.fetchUserInfo(username)
      self.user_email = self.user_email.replace("mailto:", "")

      self.ms = managesieve.MANAGESIEVE(sieve_server, sieve_port)
      self.assertEqual(self.ms.login("", username, password), "OK",
          "Couldn't login")

      self._killFilters()

managesieve

RFC-5804 Manage Sieve client library for remotely managing Sieve scripts

GPL-3.0
Latest version published 8 months ago

Package Health Score

50 / 100
Full package analysis

Popular managesieve functions