History: Cyrus IMAP 3 and JMAP development
Preview of version: 15
ClearOS's 7.x's mail server is Cyrus IMAP 2.x This page is to coordinate testing of upcoming Cyrus IMAP 3.x , which brings new features such as CalDAV, CardDAV and JMAP support.
Code
cyrus.suite.wiki
cyrus.suite.wiki is a shared development and test server. Once the test period is over, the server will be deleted so don't store any real data on this server. If you would like server access to test with testing and development, please contact Marc Laporte
Urls
You can replace test with your login and follow the pattern below
User management
https://cyrus.suite.wiki:81/app/users (you need root access)
CalDAV
https://cyrus.suite.wiki/dav/calendars/user/test
CardDAV
https://cyrus.suite.wiki/dav/addressbooks/user/test/
RSS
https://cyrus.suite.wiki/rss/user/test
IMAP and SMTP
IMAP
port 143
server: cyrus.suite.wiki
username: login (not full email)
SMTP
port: 25
server: cyrus.suite.wiki
username: login (not full email)
IMAPS
SSL
port 993
server: cyrus.suite.wiki
username: login (not full email)
SMTPS
SSL
port: 587
server: cyrus.suite.wiki
username: login (not full email)
JMAP webmail
- https://cyrus.suite.wiki:81/jmap-demo-webmail/ (not working yet)
The webmail demo is installed, but it looks like the authentication layer in the client is different than what is expected in Cyrus? I updated the JMAP.auth.didAuthenticate block in /usr/share/jmap-demo-webmail/app/state.js as described in the JMAP webmail demo docs, but I see 401 unauthorized replies.
Here's the URL of the webmail demo - please make sure your adblocker is disabled! https://cyrus.suite.wiki:81/jmap-demo-webmail/
It's installed in /usr/share/jmap-demo-webmail. Use "git diff" to see the minor changes.
Notes for future documentation page
How to install
- Install Cyrus IMAP 3.x
- Then install the IMAP and SMTP apps: Copy to clipboardyum --enablerepo=egloo-clearos-devel install app-imap app-smtp
- You will also need to do the following:
- Create the default SSL certificate via the “System - Settings - Certificate Manager” app.
- Create a user with IMAP and SMTP enabled.
- Login via an IMAP client in order to create a mailbox for the user.
How to use
- The extra features (CalDAV, CardDAV and JMAP) run on port 80 and/or 443, so Cyrus IMAP interferes with web server.
- See URLs patterns above
Questions
- Is if possible to have a logout feature (it's not difficult to test with different accounts)
Known bugs / limitations
Accounts created in ClearOS are not reliably setup for CalDAV and CardDAV
Mailbox creation gotcha: The mailboxes get created on the fly:
- the first time the user logs in, or
- a mail message is delivered