]>
gitweb.michael.orlitzky.com - mailshears.git/blob - dovecot.rb
4283e9c2267f9b0088febcd4d5b45ea423ddb660
4 require 'common/dovecot_plugin'
13 def delete_domain(domain
)
14 # Will raise an exception if the path doesn't exist.
15 domain_path
= self.get_domain_path(domain
)
16 FileUtils
.rm_r(domain_path
)
19 def delete_account(account
)
20 # Will raise an exception if the path doesn't exist.
21 account_path
= self.get_account_path(account
)
22 FileUtils
.rm_r(account_path
)