Try describing what you need:

Piler logo

Piler

★ 363
GNU General Public License v3.0Open Source — No Paywall4 Containers — 4 containers — moderate hosting footprintDockerNeeds MariaDB1 documented maintainer

About

piler is an open source email archiving application aimed at organizations that need to store, search, and govern email over long periods of time. It focuses on compliance-style capabilities such as...

Community Ratings

No ratings yet

Features

  • built-in SMTP server
  • archival rules
  • retention rules
  • legal hold
  • deduplication
  • compression
  • encryption
  • digital fingerprinting and verification
  • full text search
  • bulk import/export

Details

Last Updated
Nov 23, 2026
Created
Apr 7, 2024
Install Methods
docker
Requirements
AD / LDAPIMAP authenticationPOP3 authenticationGoogle Apps supportOffice 365 supportSTARTTLS
Default Port
80web UI
Authentication
ldapoauthsaml2fa
Backup & Export
native-exportfile-backup
Runtime / Stack
CDockerdeb
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Theming
Custom themes
Deployment

Deployment: Docker Compose ✓4 Containers — moderate hosting footprintRuns as 4 containers

Run Piler yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run Piler with Docker Compose

Compose file from the Piler project repository.

4 services · database: mariadb · infra: mariadb, memcached · 1 unclassified (manticore)

≈1.0 GB RAM requested (from Docker memory limits)

needs persistent storage (6 volumes)

docker/docker-compose.yaml · @ 713514f · scanned Nov 3, 2026

services:
  mysql:
    image: mariadb:12.0.2
    container_name: mysql
    restart: unless-stopped
    cap_drop:
      - ALL
    cap_add:
      - dac_override
      - setuid
      - setgid
    environment:
      - MYSQL_DATABASE=piler
      - MYSQL_USER=piler
      - MYSQL_PASSWORD=piler123
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
    command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    volumes:
      - db_data:/var/lib/mysql
      - ./piler.cnf:/etc/mysql/conf.d/piler.cnf:ro

  manticore:
    image: manticoresearch/manticore:25.0.0
    container_name: manticore
    restart: unless-stopped
    volumes:
      - ./manticore.conf:/etc/manticoresearch/manticore.conf
      - piler_manticore:/var/lib/manticore
    deploy:
      resources:
        reservations:
          memory: 512M
        limits:
          memory: 512M

  piler:
    image: sutoj/piler:${VERSION:-1.4.9}
    container_name: piler
    restart: unless-stopped
    init: true
    environment:
      - MANTICORE_HOSTNAME=manticore
      - MEMCACHED_HOSTNAME=memcached
      - MYSQL_HOSTNAME=mysql
      - MYSQL_DATABASE=piler
      - MYSQL_USER=piler
      - MYSQL_PASSWORD=piler123
      - PILER_HOSTNAME=${ARCHIVE_HOST:-archive.example.com}
      - RT=1
    ports:
      - "25:25"
      - "80:80"
    volumes:
      - piler_etc:/etc/piler
      - piler_store:/var/piler/store
    healthcheck:
      test: curl -s smtp://localhost/
      interval: "20s"
      timeout: "3s"
      start_period: "15s"
      retries: 3
    deploy:
      resources:
        reservations:
          memory: 512M
        limits:
          memory: 512M
    depends_on:
      - "mysql"
      - "memcached"
      - "manticore"

  memcached:
    image: memcached
    container_name: memcached
    restart: unless-stopped
    command: -m 64

volumes:
  db_data: {}
  piler_etc: {}
  piler_manticore: {}
  piler_store: {}

This file may be out of date. Check the Piler documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Alternatives to Piler

Open Archiver logo

Open Archiver

2.5k
Open Archiver is a self-hosted platform for archiving, storing, indexing, and searching email from major providers and mail formats.
Digital ArchivingEmail SolutionsDocument Management+4
Details
mail-archiver logo

mail-archiver

2.3k
An email archiving system for storing, searching, importing, restoring, and exporting mail from multiple accounts.
Digital ArchivingEmail SolutionsFile Synchronization+2
Details
Bichon logo

Bichon

2.1k
Bichon is a self-hosted email archiving server in Rust that downloads mail from IMAP accounts, indexes it for full-text search, and provides a REST API and embedded WebUI.
Digital Archiving
Single Container
Details
Eonvelope logo

Eonvelope

10
Email archiving software that allows you to preserve your emails for an indefinite long period of time.
Digital ArchivingCopyleft LicenseEmail Solutions+3
Fully FOSS
Details

Related Software

Simple NixOS Mailserver logo

Simple NixOS Mailserver

320
Complete mailserver solution leveraging the Nix Ecosystem.
Email SolutionsCopyleft LicenseMail Transfer Agents+2
Details
SeedDMS logo

SeedDMS

Document Management System with workflows, access rights, fulltext search, and more.
Document ManagementCopyleft LicenseKnowledge Management+2
Details
Courier MTA logo

Courier MTA

Fast, scalable, enterprise mail/groupware server providing ESMTP, IMAP, POP3, webmail, mailing list, basic web-based calendaring and scheduling services.
Mail Transfer AgentsCopyleft LicenseEmail Solutions+4
Details
OpenTrashmail logo

OpenTrashmail

968
Open Trashmail is a self-hosted trashmail service for receiving emails through a web UI, JSON API, RSS feeds, and custom webhooks.
Mail Transfer AgentsEmail SolutionsSelf Hosting Solutions+1
Details
Papra logo

Papra

5.8k
Papra is a minimalistic document management and archiving platform for storing, searching, and organizing documents over the long term.
Document ManagementDigital ArchivingKnowledge Management+2
Details
Postal logo

Postal

17.0k
Postal is a complete, self-hosted mail server for websites and web servers.
Email SolutionsPermissive LicenseMail Transfer Agents+1
Details
Dovel logo

Dovel

SMTP server that sends and receives emails according to a simple configuration file, with an optional web interface that you can use to browse your emails.
Email SolutionsCopyleft LicenseMail Transfer Agents+2
Details