Might come in handy for someone: <a href="http://www.cpan.org/authors/id/G/GH/GHENRY/create_dovecot_shares-1.01">http://www.cpan.org/authors/id/G/GH/GHENRY/create_dovecot_shares-1.01</a>