{"id":21869667,"url":"https://github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose","last_synced_at":"2025-04-14T23:41:09.300Z","repository":{"id":265008487,"uuid":"862692032","full_name":"heyvaldemar/mailu-traefik-letsencrypt-docker-compose","owner":"heyvaldemar","description":"Mailu with Let's Encrypt Using Docker Compose","archived":false,"fork":false,"pushed_at":"2025-03-27T23:37:40.000Z","size":32,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T01:27:15.760Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"https://www.heyvaldemar.com","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heyvaldemar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"heyvaldemar","patreon":"heyvaldemar","ko_fi":"heyvaldemar","custom":["paypal.com/paypalme/heyValdemarCOM","buymeacoffee.com/heyValdemar","ko-fi.com/heyValdemar"]}},"created_at":"2024-09-25T03:09:08.000Z","updated_at":"2025-03-27T23:37:43.000Z","dependencies_parsed_at":"2025-03-28T00:36:08.074Z","dependency_job_id":null,"html_url":"https://github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose","commit_stats":null,"previous_names":["heyvaldemar/mailu-traefik-letsencrypt-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heyvaldemar","download_url":"https://codeload.github.com/heyvaldemar/mailu-traefik-letsencrypt-docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248981257,"owners_count":21193143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-11-28T06:08:41.972Z","updated_at":"2025-04-14T23:41:09.293Z","avatar_url":"https://github.com/heyvaldemar.png","language":null,"funding_links":["https://github.com/sponsors/heyvaldemar","https://patreon.com/heyvaldemar","https://ko-fi.com/heyvaldemar","paypal.com/paypalme/heyValdemarCOM","buymeacoffee.com/heyValdemar","ko-fi.com/heyValdemar","https://www.patreon.com/heyvaldemar","https://www.paypal.com/paypalme/heyvaldemarCOM","https://www.buymeacoffee.com/heyvaldemar"],"categories":[],"sub_categories":[],"readme":"# Mailu with Let's Encrypt Using Docker Compose\n\n📙 The complete installation guide is available on my [website](https://www.heyvaldemar.com/install-mailu-using-docker-compose/).\n\n❗ Change variables in the `.env` to meet your requirements.\n\nTo generate a 128-bit security key for the `SECRET_KEY` variable, use the following OpenSSL command:\n\n`openssl rand -hex 16`\n\n💡 Note that the `.env` file should be in the same directory as `mailu-traefik-letsencrypt-docker-compose.yml`.\n\nSet up the following DNS and firewall configurations for our Mailu email server on yourdomain.com:\n\n## DNS Records\n\n### A Records\n\n- `mailu.yourdomain.com` → `[Server IP]`\n- `admin.mailu.yourdomain.com` → `[Server IP]`\n- `webmail.mailu.yourdomain.com` → `[Server IP]`\n- `webdav.mailu.yourdomain.com` → `[Server IP]`\n- `traefik.mailu.yourdomain.com` → `[Server IP]`\n\n### MX Record\n\n- `yourdomain.com MX` → `mailu.yourdomain.com (Priority: 10)`\n\n### SPF Record\n\n- `TXT yourdomain.com` → `v=spf1 a mx ~all`\n\n### DKIM Record\n\n- `TXT mail._domainkey.yourdomain.com` → `(DKIM Key)`\n\n### DMARC Record\n\n- `TXT _dmarc.yourdomain.com` → `v=DMARC1; p=none; rua=mailto:admin@yourdomain.com`\n\n### PTR Record\n\n- `[Server IP]` → `mailu.yourdomain.com`\n\n### Firewall Ports to Open\n\n- **SMTP:** 25, 465, 587\n- **IMAP/POP3:** 143, 993, 110, 995\n- **Sieve:** 4190\n- **Web Traffic:** 80, 443\n\nReplace `[Server IP]` and `(DKIM Key)` with the appropriate values for your server.\n\nCreate networks for your services before deploying the configuration using the commands:\n\n`docker network create traefik-network`\n\nDeploy Mailu using Docker Compose:\n\n`docker compose -f mailu-traefik-letsencrypt-docker-compose.yml -p mailu up -d`\n\n## Administrator Account\n\nSet password for administrator account. Replace `PASSWORD` with a strong, secure password:\n\n`docker compose -p mailu exec admin flask mailu admin admin yourdomain.com PASSWORD`\n\n## Author\n\nhey everyone,\n\n💾 I’ve been in the IT game for over 20 years, cutting my teeth with some big names like [IBM](https://www.linkedin.com/in/heyvaldemar/), [Thales](https://www.linkedin.com/in/heyvaldemar/), and [Amazon](https://www.linkedin.com/in/heyvaldemar/). These days, I wear the hat of a DevOps Consultant and Team Lead, but what really gets me going is Docker and container technology - I’m kind of obsessed!\n\n💛 I have my own IT [blog](https://www.heyvaldemar.com/), where I’ve built a [community](https://discord.gg/AJQGCCBcqf) of DevOps enthusiasts who share my love for all things Docker, containers, and IT technologies in general. And to make sure everyone can jump on this awesome DevOps train, I write super detailed guides (seriously, they’re foolproof!) that help even newbies deploy and manage complex IT solutions.\n\n🚀 My dream is to empower every single person in the DevOps community to squeeze every last drop of potential out of Docker and container tech.\n\n🐳 As a [Docker Captain](https://www.docker.com/captains/vladimir-mikhalev/), I’m stoked to share my knowledge, experiences, and a good dose of passion for the tech. My aim is to encourage learning, innovation, and growth, and to inspire the next generation of IT whizz-kids to push Docker and container tech to its limits.\n\nLet’s do this together!\n\n## My 2D Portfolio\n\n🕹️ Click into [sre.gg](https://www.sre.gg/) — my virtual space is a 2D pixel-art portfolio inviting you to interact with elements that encapsulate the milestones of my DevOps career.\n\n## My Courses\n\n🎓 Dive into my [comprehensive IT courses](https://www.heyvaldemar.com/courses/) designed for enthusiasts and professionals alike. Whether you're looking to master Docker, conquer Kubernetes, or advance your DevOps skills, my courses provide a structured pathway to enhancing your technical prowess.\n\n🔑 [Each course](https://www.udemy.com/user/heyvaldemar/) is built from the ground up with real-world scenarios in mind, ensuring that you gain practical knowledge and hands-on experience. From beginners to seasoned professionals, there's something here for everyone to elevate their IT skills.\n\n## My Services\n\n💼 Take a look at my [service catalog](https://www.heyvaldemar.com/services/) and find out how we can make your technological life better. Whether it's increasing the efficiency of your IT infrastructure, advancing your career, or expanding your technological horizons — I'm here to help you achieve your goals. From DevOps transformations to building gaming computers — let's make your technology unparalleled!\n\n## Patreon Exclusives\n\n🏆 Join my [Patreon](https://www.patreon.com/heyvaldemar) and dive deep into the world of Docker and DevOps with exclusive content tailored for IT enthusiasts and professionals. As your experienced guide, I offer a range of membership tiers designed to suit everyone from newbies to IT experts.\n\n## My Recommendations\n\n📕 Check out my collection of [essential DevOps books](https://kit.co/heyvaldemar/essential-devops-books)\\\n🖥️ Check out my [studio streaming and recording kit](https://kit.co/heyvaldemar/my-studio-streaming-and-recording-kit)\\\n📡 Check out my [streaming starter kit](https://kit.co/heyvaldemar/streaming-starter-kit)\n\n## Follow Me\n\n🎬 [YouTube](https://www.youtube.com/channel/UCf85kQ0u1sYTTTyKVpxrlyQ?sub_confirmation=1)\\\n🐦 [X / Twitter](https://twitter.com/heyvaldemar)\\\n🎨 [Instagram](https://www.instagram.com/heyvaldemar/)\\\n🐘 [Mastodon](https://mastodon.social/@heyvaldemar)\\\n🧵 [Threads](https://www.threads.net/@heyvaldemar)\\\n🎸 [Facebook](https://www.facebook.com/heyvaldemarFB/)\\\n🧊 [Bluesky](https://bsky.app/profile/heyvaldemar.bsky.social)\\\n🎥 [TikTok](https://www.tiktok.com/@heyvaldemar)\\\n💻 [LinkedIn](https://www.linkedin.com/in/heyvaldemar/)\\\n📣 [daily.dev Squad](https://app.daily.dev/squads/devopscompass)\\\n🧩 [LeetCode](https://leetcode.com/u/heyvaldemar/)\\\n🐈 [GitHub](https://github.com/heyvaldemar)\n\n## Community of IT Experts\n\n👾 [Discord](https://discord.gg/AJQGCCBcqf)\n\n## Refill My Coffee Supplies\n\n💖 [PayPal](https://www.paypal.com/paypalme/heyvaldemarCOM)\\\n🏆 [Patreon](https://www.patreon.com/heyvaldemar)\\\n💎 [GitHub](https://github.com/sponsors/heyvaldemar)\\\n🥤 [BuyMeaCoffee](https://www.buymeacoffee.com/heyvaldemar)\\\n🍪 [Ko-fi](https://ko-fi.com/heyvaldemar)\n\n🌟 **Bitcoin (BTC):** bc1q2fq0k2lvdythdrj4ep20metjwnjuf7wccpckxc\\\n🔹 **Ethereum (ETH):** 0x76C936F9366Fad39769CA5285b0Af1d975adacB8\\\n🪙 **Binance Coin (BNB):** bnb1xnn6gg63lr2dgufngfr0lkq39kz8qltjt2v2g6\\\n💠 **Litecoin (LTC):** LMGrhx8Jsx73h1pWY9FE8GB46nBytjvz8g\n\n\u003cdiv align=\"center\"\u003e\n\n### Show some 💜 by starring some of the [repositories](https://github.com/heyValdemar?tab=repositories)!\n\n![octocat](https://user-images.githubusercontent.com/10498744/210113490-e2fad07f-4488-4da8-a656-b9abbdd8cb26.gif)\n\n\u003c/div\u003e\n\n![footer](https://user-images.githubusercontent.com/10498744/210157572-1fca0242-8af2-46a6-bfa3-666ffd40ebde.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheyvaldemar%2Fmailu-traefik-letsencrypt-docker-compose/lists"}