Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

314 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Proxmox Mail Gateway inside a Docker container.

Resources

Stars

Watchers

Forks

Used by

Contributors

Languages