- if target.include?('@') then
- puts "Would remove account: #{target}"
- # TODO: remove from postfixadmin as well.
- else
- usernames = plugin.get_domain_usernames(target)
- usernames.each { |u| run(plugin, u) }
+ target_description = plugin.describe(target)
+ msg = "Would remove #{target.class.to_s().downcase()} #{target}"