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. 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 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 the GET request returns a 302 redirect response, it gets theīut this article gives a series of steps, so anyone wanting to implement autodiscover for an Exchange client has 5 things to try before giving up.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. The application sends an unauthenticated GET request to. I'm still trying to figure out how to do a Active Directory Service Connection Point search via LDAP, but step 4, for my server at least, worked like a charm: Specifically the section "Calling Autodiscover" I've found something about adding an option to ist but i don't know enough of java to understand what to do and where to do it… if someone can help this will be really appreciated.Īfter a bit more banging my head against the Google, I found the following very helpful article on MSDN: 10:21:49,405 DEBUG davmail - > -ERR Unable to get mail folder at Webdav not available on Exchange server 10:21:48,561 DEBUG davmail - (ExchangeSession.java:181)Īt .(DavExchangeSession.java:421)Īt (ExchangeSessionFactory.java:117)Īt (PopConnection.java:137) 10:21:48,558 DEBUG davmail - +OK USER : USERNAME 10:21:48,551 DEBUG davmail - +OK Capability list follows Here an extract of the DavMail logs: 10:21:34,585 INFO davmail - DavMail Gateway 3.8.4-1432 listening on SMTP port 1025 POP port 1110 IMAP port 1143 CALDAV port 1080 LDAP port 1389 Using the same on the web access work perfectly. The credential specified in thunderbird seems correct. Setting in DavMail OWA field the correct https url (i mean " ") but something goes wrong. I've set thunderbird as the DavMail guide suggest. This is the message the Thunderbird (and DavMail) show to me when i try to connect. Unable to get mail folder not available on Exchange
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |