]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/mv/plugins/dovecot.rb
0eb688861442aba8e07e8cad640a92ce7ec30abc
1 require 'common/filesystem'
2 require 'common/mailstore'
3 require 'common/dovecot_plugin'
6 class DovecotMv
< Mailstore
12 def mv_domain(from
, to
)
13 from_path
= self.get_domain_path(from
)
14 to_path
= self.get_domain_path(to
)
15 FileUtils
.mv(from_path
, to_path
)
18 def mv_account(from
, to
)
19 from_path
= self.get_account_path(from
)
20 to_path
= self.get_account_path(to
)
21 FileUtils
.mv(from_path
, to_path
)