Changes

Jump to navigation Jump to search
1,051 bytes added ,  07:01, 11 October 2009
m
added Howto & Mail categories
Line 1: Line 1:  
'''Cyrus-Imap'''
 
'''Cyrus-Imap'''
   −
=How to install and use cyrus-imap on sme7=
+
This is a rather complicated modification of SME7 to maintain. But it works fine.
 +
Recently, Zarafa became opensource and should be evaluated first.
 +
 
 +
It adds cyrus-imap and a server-manager panel to SME-Server
 +
 
 +
This howto works also for SME8.
 +
 
 +
=How to install and use cyrus-imap on sme7 and sme8=
 
Cyrus-imap enables folder sharing of mail items. Coupled with the Toltec connector, it can replace many functions of the Exchange Server with mail client Outlook.
 
Cyrus-imap enables folder sharing of mail items. Coupled with the Toltec connector, it can replace many functions of the Exchange Server with mail client Outlook.
   −
By Sophie Romano (SopRom)
+
By Sophie Romano (SopRom) http://www.logiciel-libre.org
 +
I am not a developper and this HowTo is mainly for the records!
    
This howto presents installation and usage of the cyrus-imap server on a Sme-Server system.
 
This howto presents installation and usage of the cyrus-imap server on a Sme-Server system.
   −
The cyrus-imap web site is at [http://cyrusimap.web.cmu.edu/]
+
The cyrus-imap web site and other links:
 +
* http://cyrusimap.web.cmu.edu.
 +
* http://www.delouw.ch/linux/Postfix-Cyrus-Web-cyradm-HOWTO/html/cyrus-config.html
 +
* http://artisan.karma-lab.net/node/1149
    
==Beware !==
 
==Beware !==
    
===Replacing mail server===
 
===Replacing mail server===
You'll be modifying the SME7 and some actions will required from time to time when updates are reacting with this modification. If you are new to SME7 and linux, it might be advisable to try this on a test machine.
+
You'll be modifying the SME7 and some actions will be required from time to time, when updates are applied. For example, the file preline has its permissions resetted after some updates. '''Always test send/receive after a "yum update"'''.
 +
 
 +
If you are new to SME7 and linux, it might be advisable to try this on a test machine.
 +
 
 
===Scripts===
 
===Scripts===
 
I am not a programmer. I assembled these scripts from the works of others (Lionel and Jon) and adapted them to SME7. There is no translation since the implementation of the new language engine.
 
I am not a programmer. I assembled these scripts from the works of others (Lionel and Jon) and adapted them to SME7. There is no translation since the implementation of the new language engine.
      
== Credits ==  
 
== Credits ==  
Line 40: Line 53:  
The script will install these packages:
 
The script will install these packages:
   −
cyrus-imapd  
+
* cyrus-imapd  
cyrus-imapd  
+
* cyrus-imapd  
cyrus-imapd-devel  
+
* cyrus-imapd-devel  
cyrus-imapd-murder  
+
* cyrus-imapd-murder  
cyrus-imapd-nntp  
+
* cyrus-imapd-nntp  
cyrus-imapd-utils  
+
* cyrus-imapd-utils  
cyrus-sasl-devel  
+
* cyrus-sasl-devel  
cyrus-sasl-gssapi  
+
* cyrus-sasl-gssapi  
cyrus-sasl-ntlm  
+
* cyrus-sasl-ntlm  
cyrus-sasl-plain  
+
* cyrus-sasl-plain  
perl-Cyrus  
+
* perl-Cyrus  
cyrus-sasl  
+
* cyrus-sasl  
cyrus-sasl-md5
+
* cyrus-sasl-md5
   −
Note that POP and IMAP are rendered inaccessible from the Internet with these changes. It better to leave that so since vulnerabilities with this cyrus-imap implementation are not managed and investigated by the dev-team.
+
Note that POP and IMAP are rendered inaccessible from the Internet with these changes because  the services are disabled in the configuration.
    
==Install==
 
==Install==
Line 64: Line 77:  
  cd smeserver-cyrus
 
  cd smeserver-cyrus
 
  wget http://www.logiciel-libre.org/downloads/cyrus-imap-sme-howto/install-cyrus.sh
 
  wget http://www.logiciel-libre.org/downloads/cyrus-imap-sme-howto/install-cyrus.sh
 +
wget http://www.logiciel-libre.org/downloads/cyrus-imap-sme-howto/restore_db.sh
 
  chmod u+x install-cyrus.sh
 
  chmod u+x install-cyrus.sh
 
  cd uninstall
 
  cd uninstall
Line 72: Line 86:     
==Updates==
 
==Updates==
When updating (yum update) there is a problem from time to time with php-common. The workaround is:
+
When updating (yum update) there is a problem from time to time with php-common.  
 +
 
 +
The workaround is to remove php-common and reinstall it after the update:
 
  rpm -e php-common
 
  rpm -e php-common
 
  yum -y update
 
  yum -y update
Line 93: Line 109:     
== Managing Accounts ==
 
== Managing Accounts ==
[[Image:Cyrus-imap-sme-account.jpg]]
      
The standard SME folder structure for mail is in  
 
The standard SME folder structure for mail is in  
Line 128: Line 143:     
==Toltec's Outlook Connector==
 
==Toltec's Outlook Connector==
 +
 +
Although folder sharing works fine with EGroupware, Thunderbird, etc., it also provides the base for Exchange functionnalities. So with a connector (non-free) we can have Outlook clients share calendars, contacts, notes... Toltec makes one of these connectors. It's not expensive, it works.
 +
 
[[Image:tolec.perm.jpg]]
 
[[Image:tolec.perm.jpg]]
 
The connector is available from here and the manual from here (toltec.co.za). It has been tested with the Kolab server.
 
The connector is available from here and the manual from here (toltec.co.za). It has been tested with the Kolab server.
Line 138: Line 156:     
==Cyradm==
 
==Cyradm==
 +
'''Critical data are stored in /var/spool/imap'''
    
CLI can be used to manage some options. See the man pages here.
 
CLI can be used to manage some options. See the man pages here.
Line 180: Line 199:  
  cd /root/cyrus
 
  cd /root/cyrus
 
  chmod u+x uninstall-cyrus.sh
 
  chmod u+x uninstall-cyrus.sh
  signal-event post-upgrade && signal-event reboot
+
./uninstall-cyrus.sh
 +
  signal-event post-upgrade && signal-event; reboot
 +
 
 +
----
 +
[[Category:Howto]]
 +
[[Category:Mail]]
624

edits

Navigation menu