Portainer Templates

Poste.io

Mail

Full stack mailserver solution with TLS support. POP3s, SMTP(s), IMAPs, RSPAMD, Clamav, Roundcube(HTTPS), SPF, DKIM with simple installation and web administration.

Pulls: 25.5M
Stars: 265
User: analogic
Created: Mar 25, 2015
Updated: 1 month ago
Status: active
Type Kubernetes Platform linux Image analogic/poste.io Ports

82:80445:44325:25110:110143:143587:587993:993995:9954190:4190

Volumes

/etc/localtime : /etc/localtime /opt/www/.well-known : /portainer/Files/AppData/Config/poste/data/nginx/html/.well-known /dataroot : /portainer/Files/AppData/Config/poste/data/mailserver

Restart Policy always Sourced Repo Env Vars

TZ=Europe/Athensh=mail.[some-domain].comHTTP_PORT=82HTTPS_PORT=445DISABLE_CLAMAV=TRUEDISABLE_RSPAMD=TRUE

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. Select the app you wish to deploy, fill in any config options, and hit Deploy

Template Import URL

https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me demo

Via Docker Run

docker run -d \ 
  -p 82:80 \
  -p 445:443 \
  -p 25:25 \
  -p 110:110 \
  -p 143:143 \
  -p 587:587 \
  -p 993:993 \
  -p 995:995 \
  -p 4190:4190 \
  -e TZ=${TZ} \
  -e h=${h} \
  -e HTTP_PORT=${HTTP_PORT} \
  -e HTTPS_PORT=${HTTPS_PORT} \
  -e DISABLE_CLAMAV=${DISABLE_CLAMAV} \
  -e DISABLE_RSPAMD=${DISABLE_RSPAMD} \
  -v /etc/localtime:/etc/localtime \
  -v /portainer/Files/AppData/Config/poste/data/nginx/html/.well-known:/opt/www/.well-known \
  -v /portainer/Files/AppData/Config/poste/data/mailserver:/dataroot \
  --restart=always \
  analogic/poste.io

Via Docker Compose

Save this file as docker-compose.yml and run docker-compose up -d
Use this only as a guide.

version: '3.8'
services:
  poste-io:
    image: analogic/poste.io
    ports:
      - '82:80'
      - '445:443'
      - '25:25'
      - '110:110'
      - '143:143'
      - '587:587'
      - '993:993'
      - '995:995'
      - '4190:4190'
    environment:
      TZ: ''
      h: ''
      HTTP_PORT: ''
      HTTPS_PORT: ''
      DISABLE_CLAMAV: ''
      DISABLE_RSPAMD: ''
    volumes:
      - /etc/localtime:/etc/localtime
      - >-
        /portainer/Files/AppData/Config/poste/data/nginx/html/.well-known:/opt/www/.well-known
      - /portainer/Files/AppData/Config/poste/data/mailserver:/dataroot

Alternative Methods

For more installation options, see the Documentation in the GitHub repo

Container Documentation