X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fprune%2Fplugins%2Fpostfixadmin.rb;fp=lib%2Fprune%2Fplugins%2Fpostfixadmin.rb;h=d085489f5b9ffb274877157d05e55b0768799572;hp=0000000000000000000000000000000000000000;hb=7f8654ed6582062a295e1be75ae70e99de41b323;hpb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef diff --git a/lib/prune/plugins/postfixadmin.rb b/lib/prune/plugins/postfixadmin.rb new file mode 100644 index 0000000..d085489 --- /dev/null +++ b/lib/prune/plugins/postfixadmin.rb @@ -0,0 +1,24 @@ +require 'pg' + +require 'prune/prune_plugin' +require 'rm/plugins/postfixadmin' + +class PostfixadminPrune < PostfixadminRm + + include PrunePlugin + + #def get_leftover_domains(db_domains) + # AgenDAV doesn't have a concept of domains. We could parse the + # usernames to see what domains are present, but the point is + # moot: all leftover accounts will be pruned anyway. + #return [] +#end + + + #def get_leftover_accounts(db_accounts) + # Get a list of all users who have logged in to AgenDAV. + #ad_accounts = self.list_users() + # return ad_accounts - db_accounts + #end + +end