Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose
Mailu with Let's Encrypt Using Docker Compose
https://github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose
devops devops-pipeline docker docker-compose docker-hub docker-image dockerfile email-sender letsencrypt letsencrypt-certificates mail-send mail-sender mail-sender-python mail-server mail-service mailse mailu mailup-plugin mailuserverify traefik
Last synced: 25 days ago
JSON representation
Mailu with Let's Encrypt Using Docker Compose
- Host: GitHub
- URL: https://github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose
- Owner: heyvaldemar
- Created: 2024-09-25T03:09:08.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T16:08:57.000Z (3 months ago)
- Last Synced: 2024-11-27T06:46:57.072Z (25 days ago)
- Topics: devops, devops-pipeline, docker, docker-compose, docker-hub, docker-image, dockerfile, email-sender, letsencrypt, letsencrypt-certificates, mail-send, mail-sender, mail-sender-python, mail-server, mail-service, mailse, mailu, mailup-plugin, mailuserverify, traefik
- Homepage: https://www.heyvaldemar.com
- Size: 12.7 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Mailu with Let's Encrypt Using Docker Compose
๐ The complete installation guide is available on my [website](https://www.heyvaldemar.com/install-mailu-using-docker-compose/).
โ Change variables in the `.env` to meet your requirements.
To generate a 128-bit security key for the `SECRET_KEY` variable, use the following OpenSSL command:
`openssl rand -hex 16`
๐ก Note that the `.env` file should be in the same directory as `mailu-traefik-letsencrypt-docker-compose.yml`.
Set up the following DNS and firewall configurations for our Mailu email server on yourdomain.com:
## DNS Records
### A Records
- `mailu.yourdomain.com` โ `[Server IP]`
- `admin.mailu.yourdomain.com` โ `[Server IP]`
- `webmail.mailu.yourdomain.com` โ `[Server IP]`
- `webdav.mailu.yourdomain.com` โ `[Server IP]`
- `traefik.mailu.yourdomain.com` โ `[Server IP]`### MX Record
- `yourdomain.com MX` โ `mailu.yourdomain.com (Priority: 10)`### SPF Record
- `TXT yourdomain.com` โ `v=spf1 a mx ~all`### DKIM Record
- `TXT mail._domainkey.yourdomain.com` โ `(DKIM Key)`### DMARC Record
- `TXT _dmarc.yourdomain.com` โ `v=DMARC1; p=none; rua=mailto:[email protected]`### PTR Record
- `[Server IP]` โ `mailu.yourdomain.com`### Firewall Ports to Open
- **SMTP:** 25, 465, 587
- **IMAP/POP3:** 143, 993, 110, 995
- **Sieve:** 4190
- **Web Traffic:** 80, 443Replace `[Server IP]` and `(DKIM Key)` with the appropriate values for your server.
Create networks for your services before deploying the configuration using the commands:
`docker network create traefik-network`
Deploy Mailu using Docker Compose:
`docker compose -f mailu-traefik-letsencrypt-docker-compose.yml -p mailu up -d`
# Administrator Account
Set password for administrator account. Replace `PASSWORD` with a strong, secure password:
`docker compose -p mailu exec admin flask mailu admin admin yourdomain.com PASSWORD`
# Author
Iโm Vladimir Mikhalev, the [Docker Captain](https://www.docker.com/captains/vladimir-mikhalev/), but my friends can call me Valdemar.
๐ My [website](https://www.heyvaldemar.com/) with detailed IT guides\
๐ฌ Follow me on [YouTube](https://www.youtube.com/channel/UCf85kQ0u1sYTTTyKVpxrlyQ?sub_confirmation=1)\
๐ฆ Follow me on [Twitter](https://twitter.com/heyValdemar)\
๐จ Follow me on [Instagram](https://www.instagram.com/heyvaldemar/)\
๐งต Follow me on [Threads](https://www.threads.net/@heyvaldemar)\
๐ Follow me on [Mastodon](https://mastodon.social/@heyvaldemar)\
๐ง Follow me on [Bluesky](https://bsky.app/profile/heyvaldemar.bsky.social)\
๐ธ Follow me on [Facebook](https://www.facebook.com/heyValdemarFB/)\
๐ฅ Follow me on [TikTok](https://www.tiktok.com/@heyvaldemar)\
๐ป Follow me on [LinkedIn](https://www.linkedin.com/in/heyvaldemar/)\
๐ Follow me on [GitHub](https://github.com/heyvaldemar)# Communication
๐พ Chat with IT pros on [Discord](https://discord.gg/AJQGCCBcqf)\
๐ง Reach me at [email protected]# Give Thanks
๐ Support on [GitHub](https://github.com/sponsors/heyValdemar)\
๐ Support on [Patreon](https://www.patreon.com/heyValdemar)\
๐ฅค Support on [BuyMeaCoffee](https://www.buymeacoffee.com/heyValdemar)\
๐ช Support on [Ko-fi](https://ko-fi.com/heyValdemar)\
๐ Support on [PayPal](https://www.paypal.com/paypalme/heyValdemarCOM)