X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=bin%2Fmailshears;h=a218b2b486c321aa462380f727c80e9b6d35a97e;hp=f7d5afa5b10c75264e92f275f4bfeb24724bb74e;hb=b6c036d9c976116a414e5cbf3dd8e51629bdd219;hpb=00237603494fde1d1f62e8a4e68326e00abb5fa1;ds=sidebyside diff --git a/bin/mailshears b/bin/mailshears index f7d5afa..a218b2b 100755 --- a/bin/mailshears +++ b/bin/mailshears @@ -1,17 +1,7 @@ -#!/usr/bin/ruby -wKU +#!/usr/bin/ruby -wU # # mailshears, to prune unused mail directories. # -# Mail users for virtual hosts are stored in SQL, and managed by -# Postfixadmin. However, the physical directories are handled by -# Postfix/Dovecot and are left untouched by Postfixadmin. This is good -# for security, but comes at a cost: Postfixadmin can't remove a -# user's mail directory when his or her account is deleted. -# -# This program compares the list of filesystem users with the ones -# in the database. It outputs any users that exist in the -# filesystem, but not the database. -# # Define a usage string using the program name. exe = File.basename($PROGRAM_NAME)