Ubuntu (12.04, 13.04, 14.04, 15.04, 15.10) / Elementary OS (Luna / Freya) / Linux Mint(Cinnamon, Mate) / Mac OS X / Windows
Open the terminal, then run:
| ## | |
| ## SSL settings | |
| ## | |
| # SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt> | |
| ssl = required | |
| # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before | |
| # dropping root privileges, so keep the key file unreadable by anyone but | |
| # root. Included doc/mkcert.sh can be used to easily generate self-signed |
| #default_process_limit = 100 | |
| #default_client_limit = 1000 | |
| # Default VSZ (virtual memory size) limit for service processes. This is mainly | |
| # intended to catch and kill processes that leak memory before they eat up | |
| # everything. | |
| #default_vsz_limit = 256M | |
| # Login user is internally used by login processes. This is the most untrusted | |
| # user in Dovecot system. It shouldn't have access to anything at all. |
| # This file is opened as root, so it should be owned by root and mode 0600. | |
| # | |
| # http://wiki2.dovecot.org/AuthDatabase/SQL | |
| # | |
| # For the sql passdb module, you'll need a database with a table that | |
| # contains fields for at least the username and password. If you want to | |
| # use the user@domain syntax, you might want to have a separate domain | |
| # field as well. | |
| # | |
| # If your users all have the same uig/gid, and have predictable home |
| ## | |
| ## Authentication processes | |
| ## | |
| # Disable LOGIN command and all other plaintext authentications unless | |
| # SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP | |
| # matches the local IP (ie. you're connecting from the same computer), the | |
| # connection is considered secure and plaintext authentication is allowed. | |
| disable_plaintext_auth = yes |
| ## | |
| ## Mailbox locations and namespaces | |
| ## | |
| # Location for users' mailboxes. The default is empty, which means that Dovecot | |
| # tries to find the mailboxes automatically. This won't work if the user | |
| # doesn't yet have any mail, so you should explicitly tell Dovecot the full | |
| # location. | |
| # | |
| # If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u) |
| ## Dovecot configuration file | |
| # If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration | |
| # "doveconf -n" command gives a clean output of the changed settings. Use it | |
| # instead of copy&pasting files when posting to the Dovecot mailing list. | |
| # '#' character and everything after it is treated as comments. Extra spaces | |
| # and tabs are ignored. If you want to use either of these explicitly, put the | |
| # value inside quotes, eg.: key = "# char and trailing whitespace " |
Note: This installation will replace the original shipped PHP version.
You may want to change this by modifying the directories from /usr to /usr/local on ./configure directive.
Or, just try this configuration instead.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Simple Map</title> | |
| <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |
| <meta charset="utf-8"> | |
| <style> | |
| html, body, #map-canvas { | |
| margin: 0; | |
| padding: 0; |