dockurr/proxmox-mail

Sponsored OSS

By dockurr

Updated 10 days ago

Proxmox Mail Gateway inside a Docker container.

Image
Networking
Message queues
Databases & storage
1

3.7K

dockurr/proxmox-mail repository overview

Proxmox Mail Gateway

Build Version Size Package Pulls

Proxmox Mail Gateway inside a Docker container.

Features ✨

  • Runs Proxmox Mail Gateway inside Docker
  • Provides the familiar Proxmox Mail Gateway web interface
  • Filters incoming and outgoing email traffic
  • Includes spam and antivirus protection
  • Supports quarantine management and mail filtering rules
  • Supports DKIM signing for outgoing mail
  • Stores mail data and configuration in persistent volumes
  • Works on both AMD64 and ARM64 systems

Usage 🐳

Docker Compose:
services:
  pmg:
    hostname: pmg
    container_name: pmg
    image: dockurr/proxmox-mail
    environment:
      TZ: "UTC"
      PASSWORD: "root"
      DOMAIN: "pmg.example.com"
    ports:
      - 25:25
      - 26:26
      - 8006:8006
    volumes:
      - ./config:/etc/pmg
      - ./data:/var/lib/pmg
      - ./spool:/var/spool/pmg
      - ./postgres:/var/lib/postgresql
    restart: always
    stop_grace_period: 2m
Docker CLI:
docker run -it --rm --name pmg --hostname pmg -e "PASSWORD=root" -e "DOMAIN=pmg.example.com" -p 25:25 -p 26:26 -p 8006:8006 -v "${PWD:-.}/config:/etc/pmg" -v "${PWD:-.}/data:/var/lib/pmg" -v "${PWD:-.}/spool:/var/spool/pmg" -v "${PWD:-.}/postgres:/var/lib/postgresql" --stop-timeout 120 docker.io/dockurr/proxmox-mail
GitHub Codespaces:

Open in GitHub Codespaces

Screenshot 📸

FAQ 💬

How do I use it?

Very simple! These are the steps:

  • Start the container and connect to port 8006 using your web browser.

  • Login using the username root and the password you specified in the PASSWORD environment variable.

Enjoy your time with your brand new Proxmox Mail Gateway, and don't forget to star this repo!

How do I change the location of the configuration data?

To change the location of the configuration data, include the following four bind mounts in your compose file:

volumes:
- ./config:/etc/pmg
- ./data:/var/lib/pmg
- ./spool:/var/spool/pmg
- ./postgres:/var/lib/postgresql

Replace the example paths with the desired folders or named volumes.

Are there containers available for other Proxmox products?

Yes, see our Proxmox VE, Proxmox Backup Server and Proxmox Datacenter Manager containers.

Stars 🌟

Stargazers

Disclaimer ⚖️

The product names, logos, brands, and other trademarks referred to within this project are the property of their respective trademark holders. This project is not affiliated, sponsored, or endorsed by Proxmox Server Solutions GmbH.

Tag summary

Content type

Image

Digest

sha256:a06e6a8e0

Size

251.9 MB

Last updated

10 days ago

docker pull dockurr/proxmox-mail

This week's pulls

Pulls:

974

Jun 29 to Jul 5