- 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
-