oreoneo.blogg.se

Davmail owa
Davmail owa










  1. #DAVMAIL OWA INSTALL#
  2. #DAVMAIL OWA PASSWORD#

Save the configuration file.ĭavMail is now configured to use your SSL certificate. Now open your DavMail configuration again: sudo nano /etc/davmail.propertiesĪdd the following configuration options to inform DavMail of the location of the pkcs12 file you just generated and the passphrase you set: =PKCS12ĭ=/usr/lib/ssl/certs/davmail.p12īoth and should should have the same value. Set permissions: sudo chown root:root /usr/lib/ssl/certs/davmail.pem

#DAVMAIL OWA PASSWORD#

You must set a password or DavMail will not work properly. You will be prompted to enter an export password. Now convert your combined key and certificate to a pkcs12 file: sudo openssl pkcs12 -export -in /usr/lib/ssl/certs/davmail.pem -out /usr/lib/ssl/certs/davmail.p12 -name “davmail” Sudo chmod 600 /usr/lib/ssl/certs/davmail.pem Once again, set permissions so only root can access the key file: sudo chown root:root /usr/lib/ssl/certs/davmail.pem Start by combining your certificate and key file with cat: sudo -s cat /usr/lib/ssl/private/davmail.key /usr/lib/ssl/certs/davmail.crt > /usr/lib/ssl/certs/davmail.pem If you purchased a certificate from a Certificate Authority, then use those files in place of davmail.key and davmail.crt. The following examples will use the key and certificate we generated above. Now that you have your SSL certificate, you will have to convert it into a format DavMail understands. You now have your own SSL certificate! Configuring SSL With the settings above, the certificate will expire in 365 days (a year). Sign the certificate request using your private key, setting the expiration date with the -days argument: sudo openssl x509 -req -signkey /usr/lib/ssl/private/davmail.key -in /usr/lib/ssl/certs/davmail.csr -out /usr/lib/ssl/certs/davmail.crt -days 365 Organizational Unit Name (eg, section) :Keyboard Cat DepartmentĬommon Name (eg, your name or your server's hostname) :Įmail Address enter the following 'extra' attributes

davmail owa

Organization Name (eg, company) :Lolcats United State or Province Name (full name) :New York If you enter '.', the field will be left blank. There are quite a few fields but you can leave some blankįor some fields there will be a default value, What you are about to enter is what is called a Distinguished Name or a DN. The other fields can be left at their defaults by just pressing enter or can be filled in with anything: You are about to be asked to enter information that will be incorporated into your certificate request. The only important field is Common Name, which should be set to the domain name or IP address of your droplet which will be accessed by your E-mail clients (e.g. OpenSSL will now ask you several questions. Now, create a certificate signing request: sudo openssl req -new -key /usr/lib/ssl/private/davmail.key -out /usr/lib/ssl/certs/davmail.csr Sudo chmod 600 /usr/lib/ssl/private/davmail.key Make sure the key is owned by root and permissions are set properly: sudo chown root:root /usr/lib/ssl/private/davmail.key Generate a RSA key with OpenSSL: sudo openssl genrsa -out /usr/lib/ssl/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.

davmail owa

Set your port options: davmail.imapPort=993 Set your connection mode: davmail.enableEws=auto 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 Create one with your favorite text editor: sudo nano /etc/davmail.properties

#DAVMAIL OWA INSTALL#

Then, install DavMail with dpkg: sudo dpkg -i davmail_4.4.1-2225-1_all.debĭavMail’s configuration file does not exist by default. The DavMail project makes a Debian package available on their website through [SourceForge ().ĭownload the latest Debian package with wget: wget Install them with apt: sudo apt-get install default-jre libswt-gtk-3-java libswt-cairo-gtk-3-jni Installationĭavmail requires some extra dependencies to work properly. 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.ĭavMail provides a solution, translating Microsoft Exchange to open protocols like POP, IMAP, SMTP, Caldav, Carddav, and LDAP.












Davmail owa