Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
/ Froxlor-Mail Public archive

This repository is a mirror of the GitLab repository.

License

Notifications You must be signed in to change notification settings

bloodhunterd/Froxlor-Mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Docker Build Docker Pulls License

ko-fi

Froxlor Mail Docker

Docker image of Postfix and Dovecot for Froxlor Server Management Panel.

This image is meant to be used with the Froxlor image.

Deployment

Docker Compose

version: '2.4'

services:
  mail:
    image: bloodhunterd/froxlor-mail
    environment:
      TZ: 'Europe/Berlin'
      FRX_MAIL_DIR: '/var/customers/mail'
      FRX_DB_HOST: 'localhost'
      FRX_DB_NAME: 'froxlor'
      FRX_DB_USER: 'froxlor'
      FRX_DB_PASSWORD: '+V3ryS3cr3tP4ssw0rd#'
      MAIL_DOMAIN: 'example.com'
      POSTMASTER_MAIL: 'postmaster@example.com'
      ROOT_MAIL: 'root@example.com'
    restart: unless-stopped
    ports:
      - '25:25'
      - '110:110'
      - '143:143'
      - '465:465'
      - '993:993'
      - '995:995'
      - '4190:4190'
    volumes:
      - ./mail:/var/customers/mail/

Configuration

ENV Values Default Description
FRX_MAIL_DIR DIRECTORY PATH /var/customers/mail Path to the Froxlor customer mails.
FRX_DB_HOST HOSTNAME \ IP localhost
FRX_DB_NAME DATABASE NAME froxlor Froxlor database name
FRX_DB_USER DATABASE USER froxlor Froxlor database user
FRX_DB_PASSWORD DATABSE PASSEWORD Froxlor database user password
ROOT_MAIL EMAIL root@example.com Email address alias for internal mails to the root user.
MAIL_DOMAIN FQDN example.com Mail domain
POSTMASTER_MAIL EMAIL postmaster@example.com Postmaster email address
CLEANUP_TRASH INTEGER 30 Time in days after mails in Trash folder will be deleted.
CLEANUP_SPAM INTEGER 60 Time in days after mails in Spam folder will be deleted.
TZ PHP: List of supported timezones - Manual Europe/Berlin Used timezone for date and time calculation.

Ports

Port Protocol Description
25 SMTP Receive encrypted and unencrypted emails. A TLS certificate may be required.
110 POP Used to receive emails. The emails are downloaded locally.
143 IMAP Used to receive emails. The e-mails remain on the server.
465 SMTPS Encrypted ONLY version of SMTP.
993 POPS Encrypted version of POP. A TLS certificate is required.
995 IMAPS Encrypted version of IMAP. A TLS certificate is required.
4190 Sieve Service for managing rules for receiving and storing e-mails.

Volumes

Volume Path Read only Description
Customer mail /var/customers/mail/ Froxlor customer mail content.

Update

Please note the changelog to check for configuration changes before updating.

docker-compose pull
docker-compose up -d

Build With

Authors

License

This project is licensed under the MIT - see LICENSE.md file for details.

*[ENV]: Environment Variable *[FQDN]: Fully Qualified Domain Name *[IMAP]: Internet Message Access Protocol *[IP]: Internet Protocol *[MIT]: Massachusetts Institute of Technology *[POP]: Post Office Protocol *[SMTP]: Simple Mail Transfer Protocol *[TLS]: Transport Layer Security *[TZ]: Timezone