#!/bin/sh
# there is a quota bug in vpopmail 5.4.9 (maybe other versions too)
# some mailboxes of a vpopmail domain's quota goes wrong and the only fix
# is the remoeance of the file maildrisize into the mailbox of the user
# since this bug occurs to all mailboxes to a specific domain domain.com
# I wrote this script to remove all the maildirsize files into the domain.com directory
maildomainname='domain.com';
find /home/vpopmail/domains/$maildomainname/ -iname maildirsize -exec rm -f '{}' \;
