| 1 |
Can I use MySQL (or another SQL database) as the primary mail store? |
| 2 |
-------------------------------------------------------------------- |
| 3 |
|
| 4 |
Using a database as the main message store for Cyrus is not currently |
| 5 |
supported. According to discussions on the mailing list, there is little |
| 6 |
benefit in adding such support (given typical IMAP access patterns, |
| 7 |
optimizations in the current mail store that make it fast, and the |
| 8 |
amount of effort involved to retrofit a different mailstore into the |
| 9 |
backend), so it's unlikely to ever be written. |
| 10 |
|
| 11 |
The Cyrus mail store is a normal directory tree, with mailboxes stored |
| 12 |
as directories and messages stored as individual files. Some additional |
| 13 |
information, eg index data, is kept in the "cyrus.*" files in the |
| 14 |
mailboxes. |
| 15 |
|
| 16 |
Cyrus DOES have the option of using databases of various types for |
| 17 |
storing some other information, such as authentication data, mailbox |
| 18 |
lists, etc. There may be reasons to add a SQL backend to these databases |
| 19 |
in the future (in addition to flat, and skiplist). |
| 20 |
|