OK, I’ve setup an IMAP mail server on OS X server (a test box for now), and set it to use an OD group that consists of a bunch of AD groups. I’ve also added the Apple_Mail_User attribute to the AD schema to allow me the ability to set mail quotas for AD users.
Everything is working fantastic…. except….
I want this all to keep in sync with our AD users. We have a lot of new people coming in, old people leaving, etc. I’d like to be able to delete the AD user when someone leaves, and have that folder deleted on the Mail server.
Unfortunately, the way things seem to work by default, when I delete the AD user, they are no longer able to log into their email, but their folders remain on the server.
I *can* go in, edit the permissions on their folder, then delete them with SirAdmin (and I’m sure with the command line Cyradmin), but that’s not a very efficient system.
Any ideas for automating this? When an AD account gets deleted, the mailbox for that user also gets deleted?
Thanks in advance.
Comments are closed