

Make sure the key is owned by root and permissions are set properly: sudo chown root:root /etc/pki/tls/private/davmail.key Generate a RSA key with OpenSSL: sudo openssl genrsa -out /etc/pki/tls/private/davmail.key 2048 Otherwise, you can generate a self-signed certificate by following these steps. If so, continue to the Configuring SSL section below. If you have purchased a certificate from a Certificate Authority, then you should already have your certificate and key. In order to enable SSL encryption, you will need a SSL certificate and SSL private key in the PEM format. To configure DavMail to use the default ports for SSL encrypted IMAP and SMTP, change the davmail.imapPort and davmail.smtpPort options: davmail.imapPort=993 The default ports that DavMail uses are non-standard, and you will probably want to change them to ease the process of setting up E-mail clients. Set davmail.url to your Outlook Web App/Outlook Web Access URL, which usually ends in /owa: davmail.url= Set DavMail to server mode so it doesn’t require X11: rver=trueĮnable remote mode and set the bind address to your droplet’s IP address or set it blank: davmail.allowRemote=true Open it in your favorite text editor: sudo nano /etc/davmail.properties
DAVMAIL STOPPED WORKING INSTALL
You will have to install an additional package so the included init script functions properly: sudo yum install redhat-lsb-coreĭavMail’s configuration file is located at /etc/davmail.properties.

Then, install DavMail with yum: sudo yum install davmail
DAVMAIL STOPPED WORKING UPDATE
repo file and update your yum cache: sudo curl -o /etc//home:marcindulak.repo

Installing DavMail on CentOS 6 will require adding a 3rd party repository. DavMail provides a solution, translating Microsoft Exchange to open protocols like POP, IMAP, SMTP, Caldav, Carddav, and LDAP. If your workplace or school uses Microsoft Exchange for E-mail, you may wish to access your Exchange E-mail account from E-mail clients that do not support the Exchange protocol. If available, we strongly recommend using a guide written for the version of CentOS you are using. This guide might still be useful as a reference, but may not work on other CentOS releases. For this reason, this guide is no longer maintained. If you are currently operating a server running CentOS 6, we highly recommend upgrading or migrating to a supported version of CentOS.ĬentOS 6 reached end of life (EOL) on November 30th, 2020 and no longer receives security patches or updates. This article covers a version of CentOS that is no longer supported.
