[vPostMaster] Removing email accounts

Craig Isdahl craig at dashsystems.com
Tue Jan 29 21:30:01 MST 2008


> -----Original Message-----
> From: Sean Reifschneider [mailto:jafo at tummy.com]
> Sent: Tuesday, January 29, 2008 8:02 PM
> To: Craig Isdahl
> Cc: vpostmaster at lists.tummy.com
> Subject: Re: [vPostMaster] Removing email accounts
> 
> On Tue, Jan 29, 2008 at 07:40:55PM -0500, Craig Isdahl wrote:
> >Is it possible for us to "turn on" the ability to delete the
> >directories/files when an account is deleted?  Our first tier people
> don't
> 
> Hmm, I just looked at the "vpm-wwwhelper" code and it's got a call to "rm
> -rf", so maybe there is some problem in the code where it's not calling
> the
> helper on user remove, or there is some problem with that code.  You are
> running 1.42, right?
> 
> >Also, what's the best way to reconcile email accounts and the file system
> to
> >find orphaned directories?
> 
> Probably just ask the database for the list of e-mail home-directories,
> and
> compare that with the directories that exist under that domain directory.
> A simple SQL query could pull out the list for just a single domain, so
> the
> comparison should be easy enough.  Or you could turn it around and for
> each
> home directory in a domain, query the database to see if it's listed
> there.
> 
> Thanks,
> Sean
> --
>  Linux:  Bring back that "greased weasel" feeling.
>                  -- Sean Reifschneider, 1998
> Sean Reifschneider, Member of Technical Staff <jafo at tummy.com>
> tummy.com, ltd. - Linux Consulting since 1995: Ask me about High
> Availability

Sean,

Yes, running 1.42.  Is this something you would consider putting in the next
release?  Or perhaps a "delete account" / "delete account AND files" option.

Thanks for the quick response!
Craig



More information about the vPostMaster mailing list