def opt_kvdirdomain(self, domain):
        try:
            name, path = domain.split('=')
        except ValueError:
            raise usage.UsageError("Argument to --kvdirdomain must be of the form 'name=path'")

        self.last_domain = kvdomain.KVDomain(self.service, os.path.abspath(path))
        print 'DEBUG:', self.last_domain.getCredentialsCheckers()
        self.service.addDomain(name, self.last_domain)
Generate an SMTP/POP3 virtual domain, using KVDomain.
dataset/ETHPy150Open tkanerva/openmail/OpenMail/openmail/mytap.py/Options.opt_kvdirdomain