- def domain_exists(domain)
- domains = list_domains()
- return domains.include?(domain)
+ # Describe the given Dovecot user by its filesystem mailbox
+ # path. The user need not exist to obtain its mailbox path.
+ #
+ # @param user [User] the {User} object whose description we want.
+ #
+ # @return [String] a String giving the path where this user's
+ # mailbox would reside on the filesystem.
+ #
+ def describe_user(user)
+ return get_user_path(user)