X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fprune%2Fplugins%2Fpostfixadmin.rb;h=395fb240cd47e96c6751fc163d762b9f9d8f7467;hp=d085489f5b9ffb274877157d05e55b0768799572;hb=72696d3f6e95ef773af9727e9c3459b9038b0fc2;hpb=7f8654ed6582062a295e1be75ae70e99de41b323 diff --git a/lib/prune/plugins/postfixadmin.rb b/lib/prune/plugins/postfixadmin.rb index d085489..395fb24 100644 --- a/lib/prune/plugins/postfixadmin.rb +++ b/lib/prune/plugins/postfixadmin.rb @@ -1,24 +1,10 @@ -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 - + # We don't need the ability to remove "left over" users or + # domains, since "left over" is with respect to what's in + # PostfixAdmin. In other words, the other plugins check themselves + # against PostfixAdmin, it doesn't make sense to check PostfixAdmin + # against itself. end