Am Donnerstag, 10. November 2005 12:39 schrieb Marcel Hartmann: > You can add the Lines: > > # autocreate Mailboxes > autocreateinboxfolders: INBOX | INBOX.Trash | INBOX.Sent | INBOX.Drafts > autosubscribeinboxfolders: INBOX | INBOX.Trash | INBOX.Sent | INBOX.Drafts > > to your imapd.conf File. Then if you create a Mailbox in web-cyradm, then > web-cyradm creates the Mailbox with cyradm, and then he should create the > Folders configured in imapd.conf.
Hi Marcel, hi list, i tried as you described, with no success. To be able to use autocreateinboxfolders and autosubscribeinboxfolders you must have the autocreate-patch installed. I have done this and it runs good, but as described in the autocreate-patch's README, only if the INBOX of the user does not yet exist. An example: Install your cyrus with autocreate patch activated, put the following in your imapd.conf: autocreatequota: 50000 createonpost: yes autocreateinboxfolders: Trash|Sent|Drafts|Spam autosubscribeinboxfolders: Trash|Sent|Drafts|Spam autocreate_sieve_script: /etc/phpscript.script generate_compiled_sieve_script: yes When you now create an account with web-cyradm, only one folder will appear in cyradm, like this: user/autocreate_test.test2.com (\HasNoChildren) When you delete this mailbox in web-cyradm now and log in over imap or pop or send the user a message, there will be the configured folders created: user/autocreate_test2.test2.com (\HasChildren) user/autocreate_test2.test2.com/Drafts (\HasNoChildren) user/autocreate_test2.test2.com/Sent (\HasNoChildren) user/autocreate_test2.test2.com/Spam (\HasNoChildren) user/autocreate_test2.test2.com/Trash (\HasNoChildren) But i think there would be errors with quota settings and so on, when patching web-cyradm to NOT create the mailbox with cyradm. Did you get it running, is there any trick that i did not find? Please tell me if so. What other solution would there be if i am right? Greets Christian _______________________________________________ This mailing list is hosted and supported by bit-heads GmbH | http://www.bit-heads.ch _______________________________________________ Web-cyradm mailing list [email protected] http://www.web-cyradm.org/mailman/listinfo/web-cyradm
