Delete Entry in DA.
Hi all.
I have a question about DA :
I known when I use DA to delete a user or domain, it only mask that user or domain in status delete. After period of time, thecommadmin domain purge permanently removes all entries have been mask for removal. The default value for the grace period is set to 5 days.
I want to ask is : Any way to change that default value permanent. Ex : in only 1 day..?
And other question, if I user ldapmodify or ldapdelete to delete an user or domain, but I do not usemsuserpurge command to delete the user mailbox. Is that mail box automatic deleted?
Thank all.
PS : Sorry if my word is not corrected.
[685 byte] By [
le_hunga] at [2007-11-27 5:59:54]

# 1
Hi,
> I known when I use DA to delete a user or domain, it
> only mask that user or domain in status delete. After
> period of time, the commadmin domain purge
> permanently removes all entries have been mask for
> removal. The default value for the grace period is
> set to 5 days.
Correct.
> I want to ask is : Any way to change that default
> value permanent. Ex : in only 1 day..?
Well that depends on how you are running the commadmin domain purge command. By default this command is not automatically run, you need to run it in cron or something like that.
You can therefore change the command you run to set a grace of one day e.g.
commadmin domain purge -g 1
> And other question, if I user ldapmodify or
> ldapdelete to delete an user or domain, but I do not
> use msuserpurge command to delete the user
> mailbox. Is that mail box automatic deleted?
No. You end up with an 'orphan' mailbox i.e. a mailbox on the mail-server which has no matching ldap entries.
These are easy enough to detect and clean up, just run (on the mail server):
./recontruct -o
This will produce output (script commands) that can be used to delete the orphan mailboxes if you wish -- it doesn't actually CLEAN them up for you.
Regards,
Shane.