Update Servers/Email/Mailcow.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 5s

This commit is contained in:
2025-07-17 06:55:04 -06:00
parent a035861d07
commit d0b92e4b9a

View File

@ -19,13 +19,18 @@ systemctl enable --now docker # (4)
4. Make docker run automatically when the server is booted.
### Download and Deploy Mailcow
Run the following commands to pull down the mailcow deployment files and install them with docker. Go get a cup of coffee as the `docker compose pull` command may take a while to run.
!!! note "Potential `Docker Compose` Issues"
If you run the `docker-compose pull` command and it fails for some reason, change the command to `docker compose pull` instead. This is just the difference between the plugin version of compose versus the standalone version. Both will have the same result.
```bash
cd /opt
git clone https://github.com/mailcow/mailcow-dockerized
cd mailcow-dockerized
./generate_config.sh # (1)
docker compose pull # (2)
docker compose up -d
docker-compose pull # (2)
docker-compose up -d
```
1. Generate a configuration file. Use a FQDN (`host.domain.tld`) as hostname when asked.
@ -34,4 +39,15 @@ docker compose up -d
ports:
- "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}"
- "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}"
```
```
### Login to Mailcow
At this point, the Mailcow server has been deployed so you can log into it at the following urls:
**Administrators**:
You can now log in as an administrator using the default credentials `admin` and the password `moohoo` at:
`https://${MAILCOW_HOSTNAME}/admin`
**Regular Mailbox Users**:
Continue logging in at the usual URL:
`https://${MAILCOW_HOSTNAME}` (*FQDN only*)