Sign inSign up

bloodhunterd/froxlor-mail

By bloodhunterd

•Updated about 3 years ago

Mail Server for Froxlor Docker image. Serves POP, IMAP and SMTP based on Dovecot and Postfix.

Image
1

1.7K

bloodhunterd/froxlor-mail repository overview

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: '[email protected]'
      ROOT_MAIL: '[email protected]'
    restart: unless-stopped
    ports:
      - '25:25'
      - '110:110'
      - '143:143'
      - '465:465'
      - '993:993'
      - '995:995'
      - '4190:4190'
    volumes:
      - ./mail:/var/customers/mail/
⁠Configuration
ENVValuesDefaultDescription
FRX_MAIL_DIRDIRECTORY PATH/var/customers/mailPath to the Froxlor customer mails.
FRX_DB_HOSTHOSTNAME | IPlocalhostFroxlor database hostname or IP
FRX_DB_NAMEDATABASE NAMEfroxlorFroxlor database name
FRX_DB_USERDATABASE USERfroxlorFroxlor database user
FRX_DB_PASSWORDDATABSE PASSEWORDFroxlor database user password
ROOT_MAILEMAIL[email protected]⁠Email address alias for internal mails to the root user.
MAIL_DOMAINFQDNexample.comMail domain
POSTMASTER_MAILEMAIL[email protected]⁠Postmaster email address
CLEANUP_TRASHINTEGER30Time in days after mails in Trash folder will be deleted.
CLEANUP_SPAMINTEGER60Time in days after mails in Spam folder will be deleted.
TZPHP: List of supported timezones - Manual⁠Europe/BerlinUsed timezone for date and time calculation.
⁠Ports
PortProtocolDescription
25SMTPReceive encrypted and unencrypted emails. A TLS certificate may be required.
110POPUsed to receive emails. The emails are downloaded locally.
143IMAPUsed to receive emails. The e-mails remain on the server.
465SMTPSEncrypted ONLY version of SMTP.
993POPSEncrypted version of POP. A TLS certificate is required.
995IMAPSEncrypted version of IMAP. A TLS certificate is required.
4190SieveService for managing rules for receiving and storing e-mails.
⁠Volumes
VolumePathRead onlyDescription
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

Tag summary

Content type

Image

Digest

sha256:6d73dc4fa…

Size

109.8 MB

Last updated

about 3 years ago

docker pull bloodhunterd/froxlor-mail