salessandri.posteio
poste.io
This role sets up a mail server using the free version of poste.io in a Docker container.
It only handles the initial setup; you can configure it through the web interface once it is running.
Requirements
This role requires docker
to be installed on your system and the docker_container
ansible module in Ansible.
To install Docker, you can use the geerlingguy.docker
role.
For the docker_container
module to work, the geerlingguy.pip
role can be used to install Python's docker
package.
Currently, only the host networking mode is supported. The following ports must be open on your machine for the mail server to function: 25, 80, 110, 143, 443, 465, 587, 993, 995 and 4190.
Role Variables
posteio__version
(optional, default: 2.4.5): The version of the image to use.posteio__container_name
(optional, default: posteio-mailserver): The name of the mail server container.posteio__timezone
(optional, default: UTC): The timezone for the mail server. You can find valid options in this Wikipedia article.posteio__data_dir
(optional, default /var/posteio/): The folder for storing persistent files.posteio__clamav
(optional, default: yes): Enable or disable ClamAV (antivirus).posteio__rspamd
(optional, default: yes): Enable or disable Rspamd (spam filtering).posteio__roundcube
(optional, default: yes): Enable or disable Roundcube webmail.
Example Playbook
Here’s how you might use this role:
- host: mail.my-domain.com
roles:
- role: salessandri.posteio
License
MIT
Author Information
This role was created in 2020 by Santiago Alessandri.
Installa
ansible-galaxy install salessandri.posteio
Licenza
mit
Download
122
Proprietario