Ow Mun Heng wrote:

> I've yet to try out virtdomain:userid in cyrus. I wonder if that will
> make a difference.

Using cyrus-imapd-2.2.12 and virtdomains: userid is the least confusing
configuration I could figure out.

It takes some getting used to the weird syntax when creating mailboxes and
folders:

localhost> cm [EMAIL PROTECTED]

Creates [EMAIL PROTECTED], which is their login id.  Now to create
folders for [EMAIL PROTECTED]:

localhost> cm [EMAIL PROTECTED]
localhost> cm [EMAIL PROTECTED]

The folders are stored in:

/var/spool/imap/domain/w/wherever.com/j/user/joeblow

Intuitive?  Hell no, backwards as hell if you ask me!

Which is why I opted for storing users in mysql and the autocreate patches. 
Create the user in the database and send them an email, the folders are
automatically created.  

Example imapd.conf entries for autocreation of the folders, subscripts, and
quota:

#
# autocreate options.  Do not use createonpost unless sendmail
# can verify valid addresses before delivery.
#
autocreatequota:        50000
createonpost:           no
autocreateinboxfolders: Sent|Drafts|Trash|Spam
autosubscribeinboxfolders: Sent|Drafts|Trash|Spam

-- 
[email protected] mailing list

Reply via email to