SMTP + IMAP + POP3 + Antispam + Antivirus Web administration + Web email
6.9K
docker run \
--net=host \
-e TZ=Europe/Prague \
-v /your-data-dir/data:/data \
--name "mailserver" \
-h "mail.example.com" \
-t poste.io/mailserver
| Port number | Purpose |
|---|---|
| 25 | SMTP - mostly processing incoming mails |
| 80 | HTTP - redirect to https (see options) and authentication for Let's encrypt service |
| 110 | POP3 - standard protocol for accessing mailbox, STARTTLS is required before client auth |
| 143 | IMAP - standard protocol for accessing mailbox, STARTTLS is required before client auth |
| 443 | HTTPS - access to administration or webmail client |
| 465 | SMTPS - Legacy SMTPs port |
| 587 | MSA - SMTP port used primarily for email clients after STARTTLS and auth |
| 993 | IMAPS - alternative port for IMAP encrypted since connection |
| 995 | POP3S - encrypted POP3 since connections |
| 4190 | Sieve - remote sieve settings |
-e TZ=Europe/Prague Set timezone for correct datetime
-v /your-data-dir/data:/data Mounts data directory from host system. User database, emails, logs, all will end up in this directory for easy backup.
--name "mailserver" Run poste.io as container with defined name
-h "mail.example.com" Hostname for your mailserver
-t analogic/poste.io Image name, differs for PRO and FREE version
-e "HTTPS=OFF" To disable all redirects to encrypted HTTP, its useful when you are using some kind of reverse proxy (place this argument before image name!)
-e "HTTP_PORT=8080" Custom HTTP port. Please note that you must handle Let's encrypt requests at port 80, so if you are using reverse proxy setup you need to forward /.well-known/ folder to this port
-e "HTTPS_PORT=4433" Custom HTTPS port.
-e "DISABLE_CLAMAV=TRUE" To disable all ClamAV, it is useful for low mem usage.
-e "DISABLE_RSPAMD=TRUE" To disable all Rspamd, it is useful for low mem usage.
-e "DISABLE_ROUNDCUBE=TRUE" To disable Roundcube webmail.
-p 4190:4190 When you are going to use clients with ability to manage Sieve filters externally, you need also publish port 4190
Content type
Image
Digest
sha256:1d5095c5d…
Size
330.6 MB
Last updated
about 2 years ago
docker pull benyoo/mailserver