Add support for cyrus imapd
Would be really nice to have cyrus support in ispconfig:
- I have tested courier.. it just does not compare to the speed of cyrus.. try opening a +30.000 message mailbox or search in it.
- sieve is great.. the combination of squirrelmail and avelsieve rocks.. thunderbird also has a sieve plugin.
I have setup ispconfig with cyrus and saslauthd.. works fine.
As ispconfig does not support cyrus yet, I let cyrus create the mailbox on initial login.
Here the config changes:
/etc/postfix/main.cf virtual_transport = cyrus
/etc/postfix/master.cf cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus-imapd/deliver -r ${sender} ${recipient}
/etc/imapd.conf virtdomains: yes defaultdomain: localhost.localdomain autocreatequota: 2000000
/etc/pam.d/imap auth required pam_mysql.so user=ispconfig passwd=xxxx host=xxxx db=dbispconfig table=mail_user usercolumn=email passwdcolumn=password crypt=1 account sufficient pam_mysql.so user=ispconfig passwd=xxxx host=xxxx db=dbispconfig table=mail_user usercolumn=email passwdcolumn=password crypt=1
tested mail delivery to main email adres and aliases, works
Things to be done:
- add support to create mailbox
- add support to set and change quota
- add support to delete mailbox
- add option to leave filter settings to mail client (hide filter options in ispconfig) or to add sieve support to ispconfig.
Hope you will consider this. I'm happy to do the testing for you.