I wrote a perl script that talks to the LDAP servers. The script checks if the user exists and deletes the mailbox if not. It's real simple. I run this out of cron once a week. I can send it to you if you need an example.
On Tue, Aug 27, 2002 at 09:42:04AM -0400, Matt wrote: > Hi, > I'm using the Emerald ISP management / billing suit to track my > customers.. this interfaces with LDAP (which in term interfaces with > qmail). > > Does anyone know if there is a way so that when a user is deleted from > the LDAP databse.. to have qmail remove their home directory? > > Otherwise... the directories stay there and the disk space usage for old > and removed users is horrendous! > > ~ Matt > -- Brendon Colby Systems Administrator Midcontinent Communications