- def initialize()
- cfg = Configuration.new()
- @db_host = cfg.roundcube_dbhost
- @db_port = cfg.roundcube_dbport
- @db_opts = cfg.roundcube_dbopts
- @db_tty = cfg.roundcube_dbtty
- @db_name = cfg.roundcube_dbname
- @db_user = cfg.roundcube_dbuser
- @db_pass = cfg.roundcube_dbpass
- end
-
-
- def describe_domain(domain)
- # Roundcube doesn't have a concept of domains.
- return 'N/A'
- end
-
- def describe_account(account)
- user_id = self.get_user_id(account)
-
- if user_id.nil?
- return 'User not found'
- else
- return "User ID: #{user_id}"
- end
- end
-