end
- def describe_user(user)
- # There's no other unique identifier in PostfixAdmin
- return user.to_s()
- end
-
-
- def describe_domain(domain)
- # There's no other unique identifier in PostfixAdmin
- return domain.to_s()
- end
-
-
def list_domains()
domains = []
end
- def domain_exists(domain)
- # Does the given domain exist in Postfixadmin? We use a naive
- # implementation here based on list_domains(). This isn't in our
- # superclass because not all plugins have a concept of domains.
- domains = list_domains()
- return domains.include?(domain)
- end
-
def list_users()
users = []