IMAP

為了要讓 D2 支援 IMAP,而且也希望 I/O 能比 mailbox 少一點 (其實是希望愈少愈好),所以我當初尋找的 Solution 是 Project Cyrus

不過在 ronnywang 很努力測的差不多以後,才注意到儲存時是一篇文章一個檔案… 這樣變成我要用更多的空間 (包括了 inode 以及 block) 去換取速度,實在是不太爽…

用 Database 當 backend 的 dbmail 看起來不錯,前陣子還有出新版本,不像 Squid 看起來要死不活的樣子…

dbmail 可以用 MySQL 或是 PostgreSQL 當 backend,也支援 IMAP,系統應該也是 Virtual User Architecture。只是不知道用 SQL 當 backend 所造成的 space 及 performance overhead 有多大,也許我自己可以架一個來玩看看…

2 thoughts on “IMAP”

  1. 用 cyrus,所以你是用 Maildir?所以才一篇文章一個檔? jason 他都是這麼跑的… (不過他是跑 courier-imap)

  2. cyrus is not maildir. It is similar to maildir but it is proprietary. it use berkery db to index email for faster access.

    in some newsgroup people comment dbmail is slow in large networks because storing email in mysql database is not efficient.

Comments are closed.