Poste.io is an full featured email server runing in a docker container. Read more at the poste.io website.
Dokku is the smallest PaaS implementation you've ever seen - Docker powered mini-Heroku.
- A working Dokku host
Note: We are going to use the domain mail.example.com
for demonstration
purposes. Make sure to replace it to your domain name.
Log onto your Dokku Host to download and install plugin:
dokku plugin:install https://github.com/d1ceward/dokku-posteio.git
Next setup domain name for posteio:
dokku posteio:set-domain mail.example.com
To start using Poste.io you need to start his docker container:
dokku posteio:start
Note: You can disable features by passing these optional parameters to the start command:
--disable-clamav
to disable clamAV, it's useful to reduce memory usage if you don't need an antivirus protection.--disable-rspamd
to disable Rspamd, it's useful to reduce memory usage if you don't want a spam filtering system.--disable-roundcube
to disable the Roundcube webmail interface.
You will need to access Poste.io dashboard certificate page by going to:
System Settings > TLS Certificate
Or directly by accessing this url:
http://mail.example.com/admin/settings/#certificate
Now click on issue new certificate or choose existing one, after this tell plugin you enabled SSL by:
dokku posteio:toggle-ssl
Your Poste.io instance should now be available and secure on https://mail.example.com.