]>
gitweb.michael.orlitzky.com - mailshears.git/blob - lib/rm/rm_dummy_runner.rb
1 require 'common/runner'
6 def run(plugin
, *targets
)
7 targets
.each
do |target
|
8 if target
.include?('@') then
9 puts
"Would remove account: #{target}"
10 # TODO: remove from postfixadmin as well.
12 usernames
= plugin
.get_domain_usernames(target
)
13 usernames
.each
{ |u
| run(plugin
, u
) }
15 puts
"Would remove domain: #{target}"
16 # TODO: remove from postfixadmin as well.