Regarding MailBox Creation

What are all the attributes that must be added to the LDAP for creating mail boxes (INBOX/TRASH/SENT/DRAFT) .

Whenever i try to do add the following entries:

nswmExtendedUserPrefs :meDraftFolder=Drafts

nswmExtendedUserPrefs :meSentFolder=Sent

nswmExtendedUserPrefs :meTrashFolder=Trash

The last one(nswmExtendedUserPrefs :meTrashFolder=Trash) overwrites the previous entries(nswmExtendedUserPrefs :meSentFolder=Sent

, nswmExtendedUserPrefs :meDraftFolder=Drafts

).

Whereas if you provision a user and do login thro the console ,these properties are properly set in the LDAP.

How to create the mailboxes from the LDAP?What entries need to be added in the LDAP ?

[722 byte] By [RexHarry] at [2007-11-26 10:28:11]
# 1
First, the three mailboxes you show here are ALREADY part of automatic creation. . .I suspect that if you put any one of these in, you'd get the same error.What is it you're truly trying to achieve?
jay_plesset at 2007-7-7 2:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Basically what i am trying to do is :

1.I need to provision a user in the LDAP if the user is new / update the users account such that the updated user has mail box access if the user already exist.

2.Whenever we create a new user and use mboxutil to list the users mail box , it shows nothing for the newly created user.

3.Whereas if you do login/logout thro the console [for the newly created user ]and then if you try mboxutil to list users mailbox ,it shows INBOX/DRAFTS/TRASH/SENT mailboxes.

4.Another way of creating a mailbox is using javamail.If you try to query the users mailbox it creates only INBOX and not the other mailboxes[SENT/TRASH/DRAFTS].

My question is :

Is that sufficient if we provision a user in the LDAP with the very basic attribute.Or do i need to add any other specific attribute.?

Please also let me know what are all the attributes that i need to use while provisioning a user who has access to Calendar as well as Messaging Server.

RexHarry at 2007-7-7 2:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

No matter what you do, unless you manually create folders with mboxutil, no folders will be created when you provision a user in ldap. The server creates the folders automatically, when the user first gets mail, or loggs in.

You don't have to create the standard folders. Those will be created automatically.

Yes, it's sufficient to simply create the users in ldap.

I don't know Calendar well, at all. Check what happens when you use commadmin to create a user with -S mail.cal

and see what the attributes are.

jay_plesset at 2007-7-7 2:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...