User Tools

Site Tools


linux:zarafa_imap

Zarafa as IMAP Server

Configuration

Zarafa-Gateway is using the /etc/zarafa/gateway.cfg

In order to use your mailserver as a relay for sending e-mails make sure your main.cf is similar to my main.cf

Starting Gateway

service zarafa-gateway start

Client configuration


incoming server: mailserver.domain.com:143
outgoing server: mailserver.domain.com:25

Secure Connection

First you need to generate a RSA key:

openssl genrsa -out /etc/zarafa/privkey.pem 2048

Then you need to create a certificate:

openssl req -new -x509 -key /etc/zarafa/privkey.pem -out /etc/zarafa/cert.pem -days 1095

Insert the following in your gateway.cfg

#File with certificate for SSL
#Changed by skull @ 26.06.2011
# ssl_certificate_file	=	/etc/zarafa/gateway/cert.pem
ssl_certificate_file	=	/etc/zarafa/cert.pem
 
# Verify client certificate
ssl_verify_client	=	yes
 
# Client verify file and/or path
ssl_verify_file	=	
ssl_verify_path	=
linux/zarafa_imap.txt · Last modified: 2011/06/26 02:08 by skull@darktemple.ch