Author: eric
Date: Mon Feb 20 13:21:11 2012
New Revision: 1291245
URL: http://svn.apache.org/viewvc?rev=1291245&view=rev
Log:
Forsee the mailbox-jcr and mailbox-maildir templates in the distribution
(JAMES-1376)
Added:
james/app/trunk/src/main/resources/mailbox-jcr-template.cnd
james/app/trunk/src/main/resources/mailbox-maildir-template.properties
Added: james/app/trunk/src/main/resources/mailbox-jcr-template.cnd
URL:
http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/mailbox-jcr-template.cnd?rev=1291245&view=auto
==============================================================================
--- james/app/trunk/src/main/resources/mailbox-jcr-template.cnd (added)
+++ james/app/trunk/src/main/resources/mailbox-jcr-template.cnd Mon Feb 20
13:21:11 2012
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+<jamesMailbox = 'http://james.apache.org/imap/jcr/'>
+
+[jamesMailbox:user] > mix:created
+ mixin
+ - jamesMailbox:user (String)
+ - jamesMailbox:subscriptionMailboxes (STRING) multiple
+ + * (nt:unstructured) multiple
+
+
+[jamesMailbox:messageHeader] > mix:created, mix:lockable
+ mixin
+ - jamesMailbox:headerFieldName (STRING) mandatory
+ - jamesMailbox:headerValue(STRING) mandatory
+ - jamesMailbox:headerLineNumber (LONG) mandatory
+
+[jamesMailbox:messageProperty] > mix:created
+ mixin
+ - jamesMailbox:propertyNamespace (STRING) mandatory
+ - jamesMailbox:propertyLocalName (STRING) mandatory
+ - jamesMailbox:propertyValue(STRING) mandatory
+ - jamesMailbox:propertyOrder (Long) mandatory
+
+[jamesMailbox:message] > mix:referenceable, mix:created, mix:created
+ mixin
+ - jamesMailbox:mailboxUUID (String) mandatory
+ - jamesMailbox:uid (LONG) mandatory
+ - jamesMailbox:modSeq (LONG)
+ - jamesMailbox:size (LONG) mandatory
+ - jamesMailbox:answered (BOOLEAN)
+ - jamesMailbox:deleted (BOOLEAN)
+ - jamesMailbox:draft (BOOLEAN)
+ - jamesMailbox:flagged (BOOLEAN)
+ - jamesMailbox:recent (BOOLEAN)
+ - jamesMailbox:seen (BOOLEAN)
+ - jamesMailbox:internalDate (DATE)
+ - jamesMailbox:userFlags (STRING) multiple
+ - jamesMailbox:messageBodyStartOctet (LONG) mandatory
+ - jamesMailbox:messageTextualLineCount (LONG)
+ - jamesMailbox:messageSubType (String) mandatory
+ + messageHeader (nt:unstructured) multiple
+ + messageProperty (nt:unstructured) multiple
+
+[jamesMailbox:mailbox] > mix:referenceable, mix:lockable, mix:created
+ mixin
+ - jamesMailbox:mailboxUidValidity (LONG)
+ - jamesMailbox:mailboxName (STRING)
+ - jamesMailbox:mailboxLastUid (LONG)
+ - jamesMailbox:mailboxNamespace (STRING)
+ - jamesMailbox:mailboxUser (STRING)
+ + * (nt:unstructured) multiple
Added: james/app/trunk/src/main/resources/mailbox-maildir-template.properties
URL:
http://svn.apache.org/viewvc/james/app/trunk/src/main/resources/mailbox-maildir-template.properties?rev=1291245&view=auto
==============================================================================
--- james/app/trunk/src/main/resources/mailbox-maildir-template.properties
(added)
+++ james/app/trunk/src/main/resources/mailbox-maildir-template.properties Mon
Feb 20 13:21:11 2012
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+maildir.folder=../var/store/maildir/%domain/%user
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]