Install a mail server on Linux in 10 minutes - docker, docker-compose, mailcow

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 394

  • @christianlempa
    @christianlempa  4 роки тому +14

    Learn more about mail server DNS records and how to set up them properly for mailcow: ua-cam.com/video/o66UFsodUYo/v-deo.html

    • @graysonquinn5017
      @graysonquinn5017 3 роки тому

      you all probably dont care but does someone know a tool to get back into an Instagram account?
      I was dumb forgot my login password. I would appreciate any tips you can give me.

    • @josueissac1374
      @josueissac1374 3 роки тому

      @Grayson Quinn instablaster ;)

    • @graysonquinn5017
      @graysonquinn5017 3 роки тому

      @Josue Issac thanks for your reply. I got to the site through google and im waiting for the hacking stuff atm.
      Takes a while so I will reply here later when my account password hopefully is recovered.

    • @petersonumoke5323
      @petersonumoke5323 3 роки тому +1

      you say link in the description below, but you never put the links.. 🤦🏾‍♂

  • @pablopiquerez7298
    @pablopiquerez7298 Рік тому +17

    Dear Christian, I am an "old" IT professional with 43 years of experience, retired last year and building my own "home lab" to keep my skills and "brain" up-to-date. I really enjoy your videos, my only advice is to "slow down just a bit" as we (old people) have a little bit of a hard time to "keep up with you". I saw that at one point you were having a "hard time" keeping with "other" you-tubers, just be your self! People will follow you because you add value to their professional (or in my case, retired ) lives. Keep up the good work!
    Regards,
    Pablo

    • @diosupremo4928
      @diosupremo4928 5 місяців тому

      I understand you, but for me who was looking for a solution for this, the video is gold. I know that there are a lot of key concepts not explained but at least now you know they exist and can look for them. It is fast but it is what you should expect by the title. All this just for saying I don't share the advice, everyone has different taste and needs. None can make a video perfect for everyone.

  • @Myektaie
    @Myektaie 2 роки тому +22

    Thanks! Every video i watched from your channel solved my problem so I don’t need to look elsewhere 🌺🌺
    People who are reading this: making UA-cam videos of this quality spend a lot of time, I would be surprised if Christian spent less than 50 hours on making this only video! A small donation doesn’t hurt us, but gives a big boost in his moral to continue making these awesome problem solver videos 😊☺️☺️

    • @christianlempa
      @christianlempa  2 роки тому +5

      Oh my god, thank you so much for your support! You’re crazy 😜. It makes me so happy to see that my videos are truly helping you! And yeah a small donation always helps to motivate me 🤗🙏

    • @PrivateAccount80527
      @PrivateAccount80527 2 роки тому +2

      @@christianlempa Hey! I installed mailcow on my server how would I use SMTP with it.

  • @Raziel7171
    @Raziel7171 2 роки тому +4

    This tutorial is so on point, i'm not an english speaker but the voice is so neutral and the explanation is so clear that a translator was not necesary keep the good work, this helped me a ton

  • @wavemancali
    @wavemancali 3 роки тому +11

    This was the best most painless setup I have ever done. I have been pulling my hair out trying to set up an email server that looked good and functioned well and I finally stumbled across this video. THANK YOU. Liked, subscribed and I will be anticipating a ton of good content.

    • @christianlempa
      @christianlempa  3 роки тому +1

      Thank you 😊 glad you liked it!

    • @kevinbutler717
      @kevinbutler717 3 роки тому

      Hi wavemancali. Did you end up getting your mail server to send / receive emails externally?

  • @jacobsammon
    @jacobsammon 4 роки тому +11

    THIS GUY IS AMAZING - AS IS MAILCOW! 10/10 video, thank you so much!! I've been trying to setup a mail server for 2 weeks, and finally I could with this! :D

    • @christianlempa
      @christianlempa  4 роки тому +1

      Thank you so much for the kind words! I'm glad it helped you :)

  • @michaelcooper5490
    @michaelcooper5490 2 роки тому +5

    You did a great job and it wasn't to long at all. Thank you for taking the time to teach a dockerized solution to this.

  • @2p2hong
    @2p2hong 3 роки тому +1

    This is the first time i really follow this guy step by step, this is awesome man! Definitely looking for more.

  • @leafnode
    @leafnode 2 роки тому +2

    It's nice to see how quality of your videos improved over those two years - not only with the A/V quality, but also with the confidence of your voice :)

    • @christianlempa
      @christianlempa  2 роки тому +2

      Thank you so much! That makes me happy because that took a long time and effort :)

  • @jeremyquadri
    @jeremyquadri 3 роки тому +25

    Your sudden loud music volume wakes up the neighbour

    • @giurgindemilan
      @giurgindemilan 3 роки тому

      Use headphones 🎧

    • @tariq4846
      @tariq4846 5 місяців тому +1

      Probably he wants your neighbours to be IT professional like you

  • @dapsychopomp244
    @dapsychopomp244 3 місяці тому

    your summary explanation and philosophy is perfect.... your content is really good

  • @kevinbutler717
    @kevinbutler717 3 роки тому +2

    I have only 3 words. "Wow, wow and wow"! This was the best tutorial video I have ever watched and I've signed up to see them all. I had my mail server up and running in around 30 mins and whilst it only works locally, I think I'm on the right track to get it working externally. I'll keep reading and fingers crossed!

    • @christianlempa
      @christianlempa  3 роки тому

      Thank you so much! It's great to hear my video helped you :) And also thanks for your support and welcome to the community!

  • @Theborg72
    @Theborg72 2 роки тому

    I have long been looking for a solution to set up mail server. this was spot on. so thanks for a great video

  • @alessanderoliveira6595
    @alessanderoliveira6595 2 роки тому +1

    Awesome tutorial Christian, please keep doing the excellent job !

  • @AnteZivkovic
    @AnteZivkovic 4 роки тому +4

    Glad I stumbled upon your channel searching for a more user-friendly tutorial on installing Mailcow dockerized. I will be looking at your docker videos soon. Thank you!

  • @BrentCalver
    @BrentCalver 10 місяців тому

    Great video and by far the best tutorial I've seen so far. A couple notes: you've also made a great text tutorial to look at alongside here (again, the best I've seen), however you skip a few minor commands as you just hop around with cd or open files. If it were really an absolute beginner watching, that would be game over. Also, dark blue on black is brutal if you're trying to track somebody else's console in a video.
    All in all, still fantastic and worth a like.

  • @billziegenhagen
    @billziegenhagen 3 роки тому +2

    Excellent video as always. Your videos make it so easy to learn and implement software in Linux. I have Mailcow working in Docker on Ubuntu server 20.04!

    • @christianlempa
      @christianlempa  3 роки тому

      Thank you so much! I'm glad it's helpful :)

    • @billziegenhagen
      @billziegenhagen 3 роки тому

      @@christianlempa I do have a question. I need to change the Time Zone in Mailcow because I set it wrong. I have searched for help on it and could not find anything that made sense. What would be the steps to change the Time Zone setting?

    • @billziegenhagen
      @billziegenhagen 3 роки тому

      I figured it out by watching your Docker Compose Tutorial. Very insightful content! Thank you.

  • @peakminute
    @peakminute 3 роки тому +1

    Hey Christian, this is a great guide, Mailcow will be my next project to create. Thanks 🙂

  • @frartenzo
    @frartenzo 2 місяці тому

    thank you! it was really easy to follow and I like how you explain every command

  • @ibraheemal-dhamari2686
    @ibraheemal-dhamari2686 2 роки тому +1

    Nice video. I was able to run my own email server following this video. I am able to send/recieve emails within my server but I had a problem communicating with external mail servers. It would be nice to add a second detailed part to explain the setting for the router, dns, nginx and anything important related to sending and recieving emails to/from external mail servers.

  • @dougwan8150
    @dougwan8150 4 роки тому +2

    This is great and very helpful comparing with others I have seen. Thank you Christian.

  • @factstories147
    @factstories147 2 роки тому +1

    Hey christian, such a great tutorial. I subscribed your channel just because of this one tutorial. Great work! I love you!

  • @madhusudanbv7056
    @madhusudanbv7056 Рік тому

    Thanks a lot for this Video Christian. Loved the content and it was very helpful!

  • @PoeLemic
    @PoeLemic 4 роки тому +6

    This was an incredible video showing how to setup mailcow. Yeah, I love how you explain it and really build my knowledge. I do Teach also, and I communicate very similar to you. So, I appreciate what you are trying to do with your Teaching Style. I think this is one of the best channels on UA-cam for Linux education. I am learning so much for you. It is a big goal of mine to get a mail server up & running. But, I also want to write some filters to redirect emails into different user-accounts, because I get a shitload of emails a day that I need to manage somehow.

  • @DarnIDidntKnowThat
    @DarnIDidntKnowThat 9 місяців тому +1

    dude ur better then the other guy at network chuck all he cares about is his coffee and his adverts.

  • @HEWfunkingKNEWit
    @HEWfunkingKNEWit 4 роки тому +2

    man your production has come a long way since this video. :)

    • @christianlempa
      @christianlempa  4 роки тому

      Haha oh yea, it's very funny to compare it :D

  • @simivenier3766
    @simivenier3766 4 роки тому

    Sehr gutes Englisch und super Video!! Hat mir sehr weitergeholfen im Studium :D

  • @HEWfunkingKNEWit
    @HEWfunkingKNEWit 4 роки тому +1

    I like the way you explain things. Thanks

  • @tuxmaster2715
    @tuxmaster2715 3 роки тому +1

    Great video man!
    Thanks for the content, that is definitely a smooth email user interface!
    Greetings

  • @jojimerc7396
    @jojimerc7396 4 роки тому +3

    Thank's for this video I'm really having hard time learning to setup mail server

    • @christianlempa
      @christianlempa  4 роки тому +2

      Thanks for your feedback, glad that it helped you 😁👍

    • @jojimerc7396
      @jojimerc7396 4 роки тому

      @@christianlempa Hi, your welcome. I have successfully installed docker and docker compose but I did get error with dovecot and postfix. I have already dovecot and postfix installed that I'm using with squirrelmail. Do I need to uninstalled dovecot and postfix before using this code? sudo docker-compose up -d

    • @christianlempa
      @christianlempa  4 роки тому +1

      One benefit of docker is that all containers are isolated from the underlying hostsystem. You don't need to uninstall them. However, what happens when you start the containers is that they try to listen on networkports on the hostsystem (this is called expose). You can only have 1 application that listens on a port and therefore the containers may fail to start. In this case you need to stop the applications on the hostsystem that listen on these ports (like in your case dovecot and postfix).
      Hope this helps

    • @jojimerc7396
      @jojimerc7396 4 роки тому +1

      @@christianlempa Yes. This is exactly what is happening to me. In that case, I may need to change the port of my current dovecot and postfix, but that doesn't make sense because that will make more a lot of work. So in this I think, I will just stop the service of my current dovecot and postfix. Thank you very much.

  • @maxwellmuhanda7940
    @maxwellmuhanda7940 2 роки тому

    I AM SUBSCRIBED LOVED EVERY MINUTE

  • @deliriumcode
    @deliriumcode 3 роки тому +2

    Tutorial is very good!
    Have one question although:
    In case I have 2 mails from 2 different domains, I'll just need to add other one via MailCow? No other configuration needed?
    By the way, you just earned a subscriber! ;)

  • @yablablaable
    @yablablaable 4 роки тому +1

    Thanks! Exactly what I was looking for. And well explained.

  • @DiddleDangle
    @DiddleDangle 2 роки тому

    Awesome tutorial man, just found your channel. Beating a dead horse here but rip headphone users haha

  • @PoeLemic
    @PoeLemic 4 роки тому

    Also, a comment on an aside, please, be careful with the sound level of music (if you could). I would have to turn down the volume at the Slide pages, so I wish it was same volume as rest. Also, music is nice, but it is very loud. I'd maybe have it slightly audible. Because all of us are here for you and learning from you. I don't care extremely about the music and about it being "Fancy". Your teaching method, style, and care for your students (i.e., the audience) is enough to draw me back to watch every video that you have produced and/or will produce. Also, I am adding you to my Patreon subscriptions. I think that I've done it already, but I am going to check again just to make sure. Also, if on Patreon, you have it higher than (say) $1 dollar, always set it that low. Then, people join it, get benefit over time, and will give more. I hate when people have it like $5 bucks or $10 bucks. Well, I don't always start out there, if that makes sense.

    • @PoeLemic
      @PoeLemic 4 роки тому

      Okay, I checked and you do have a $1 level. Also, you don't have many Patreons, but don't worry. They will come. Just keep producing great content and people will find out about you. I plan to share your name around, because you really have great content. Also, most important is your incredibly warm personality. That probably matters as much as your content.

    • @PoeLemic
      @PoeLemic 4 роки тому

      Maybe, more, TDL, maybe more ...

  • @markshaz8691
    @markshaz8691 4 роки тому

    Really well explained and presented video. Thanks

  • @xadasol8692
    @xadasol8692 4 роки тому +2

    Thank you for sharing this with us, quick question; is this a recommended way for production?

    • @christianlempa
      @christianlempa  4 роки тому +2

      It depends on your environment and success criteria, so there is no general recommendation I would give. What I can say is that mailcow uses components that are used may years and are fully proven industry standards.

  • @marcusschmittms
    @marcusschmittms 4 роки тому +4

    A great video.
    Installing a mail server makes it much easier.
    Are you also planning to continue using a reverse proxy?
    For the simultaneous operation of a mail server and a web server.

    • @christianlempa
      @christianlempa  4 роки тому

      Thanks man! I'm planning to do some video about webserver in the future so stay tuned 👍

  • @farukciftler
    @farukciftler 2 роки тому

    thank you. perfect explanation, perfect video!!!

  • @amosgiture
    @amosgiture 4 роки тому

    Enjoying your simple and straight4wd content and hope you can get more views and subscribers to grow your channel. A lot of comments here are a bit -ve because it requires one to troubleshoot several pieces of complex technology, DNS, database, web servers, reverse proxies, TLS, and most pple are not conversant with all of them.

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you! 😁 Yes mail server setups are complex and although mailcow makes it easy you still need to understand the technology behind it. I'm working on more tutorials and video series to explain those things.

  • @Glatze603
    @Glatze603 3 роки тому

    Hi Christian, thanks a lot again for this great stuff :-)

    • @Glatze603
      @Glatze603 3 роки тому

      Please show us more details of how to configure mailcow and what options mailcow offers (backend and SOGo). Thanks for your time!!!

    • @christianlempa
      @christianlempa  3 роки тому

      Thanks! :)

    • @christianlempa
      @christianlempa  3 роки тому

      Great suggestion, I've not looked into mailcow for quite some time though.

  • @ScofieldMuliru
    @ScofieldMuliru 3 роки тому

    This is a great tutorial. Thank you.

  • @greyresort9339
    @greyresort9339 4 роки тому

    After you finish with Mail Server, I suggest you do Web Server, SMTP Server, Cloud Server... All home based using docker. Thank you :)

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you, good idea! I have so many things I want to make videos about, but docker and cloud will come soon, so stay tuned 👍

  • @Salman360-YT
    @Salman360-YT 3 місяці тому

    Your voice is so good 🙂

  • @greyresort9339
    @greyresort9339 4 роки тому

    Great video. I learnt a lot. More please. Thank you :)

  • @intellect5124
    @intellect5124 4 роки тому +2

    hey! thanks for your wonderful video with great explanations. Could you show how to add additional domains and DNS changes for the same to the mailcow server?

  • @alankuentz4617
    @alankuentz4617 3 роки тому +1

    Hello! you said it is recommended to install into /opt. If I want to use a different hard drive for mailcow mailbox storage. Would the best solution be to mount /opt to that second hard drive, or does mailcow have an option, once setup, to change the mailbox storage location? Thanks for your time and for making this video. I'm excited to give this a try!

    • @christianlempa
      @christianlempa  3 роки тому +1

      Thank you so much ;) It's not really important in which folder you place the project, the /opt is just mentioned in the official docs and follows the linux filesystem BPs. But you could also just put the project completely in a different folder or mount the second harddrive to the /opt/mailcow folder. It doesn't make a difference for mailcow itself where it's placed.

    • @alankuentz4617
      @alankuentz4617 3 роки тому

      @@christianlempa Thank you very much!

    • @alankuentz4617
      @alankuentz4617 3 роки тому

      @@christianlempa I ended up creating a mirrored setup with an encrypted LVM and mounted opt to it. I'm really impressed so far with this setup. I'll be switching my MX record in the next few days to this new server. I thought I'd give you an update and just say, "Thanks again!".

  • @polavenki
    @polavenki Рік тому +1

    Great content Christian. Wanted to check what is the impact on the email deliverability sending from my own mail server (as you stated in this video) vs using a mail server like Gmail/Outlook.
    My use case is that we send lot of cold emails to prospects. Would it make sense to host our own mail sever or buy outlook/gmail.
    Am more concerned on the deliverability of our emails.

    • @christianlempa
      @christianlempa  Рік тому +1

      Hm maybe don’t send cold emails :P

    • @polavenki
      @polavenki Рік тому

      @@christianlempa lol 😂

    • @benzflynn
      @benzflynn Рік тому +1

      Agree with C. Lempa that sending cold-call emails is effectively spamming.
      But if you must do it, then send from a professionally hosted mail service like those offered for ~ $2 - $5 a month by hosting companies.
      Sending them from your own mail server you will soon have your server IP reported for spam and all other things on that server machine shut down.
      As well as the risk of being spammed or DOS-attacked yourself.

  • @Rickety3263
    @Rickety3263 3 роки тому

    Nice! Comparing umask settings is a creative way to see if you are root. Also just try “whoami”

  • @DividedStates
    @DividedStates 3 роки тому

    7:04 11:04 I don't get it. Where do I find this FQDN exactly? How would it look like if it is not just local?

    • @christianlempa
      @christianlempa  3 роки тому

      The FQDN is your hostname + domainname. Hope this helps

  • @1000left
    @1000left 4 роки тому

    Fantastic video!!!!! Thank you so much!!!

  • @ucheweb3135
    @ucheweb3135 4 роки тому +2

    please can you do the second video on how to set up the dkim, spf and all required for full working email

    • @christianlempa
      @christianlempa  4 роки тому +5

      Thanks you for your feedback. I will cover that in an upcoming video in a few weeks so stay tuned 😊

    • @neevot
      @neevot 4 роки тому

      @@christianlempa Is there an update?

    • @christianlempa
      @christianlempa  4 роки тому

      Not yet, this was a bit down on my priority list, but I'm going to do a bit more with mail in some weeks

  • @User-z3d
    @User-z3d 2 роки тому

    This post plummeted in value the moment you setup your server as localhost instead of what anyone watching this intends to do.

  • @alanblanco7041
    @alanblanco7041 4 роки тому

    Hi! I have followed all steps, but at 9:23 it be freezed. I have waiting for almost 30 minutes and not watching any "done" message. What can i do?

    • @christianlempa
      @christianlempa  4 роки тому +1

      You can try to run the containers without the "-d" parameter, so you can see the output on the console. Then you may check if you can see some errors that could potentially prevent the containers from starting correctly.

    • @alanblanco7041
      @alanblanco7041 4 роки тому

      @@christianlempa Thanks for your answer. if i try without "-d" appear the error "ERROR: for redis-mailcow Cannot start service redis-mailcow: driver failed programming external connectivity on endpoint mailcowdockerized_redis-mailcow_1 (ebc f1f389d53036b042de125655b31ce01d9a0d467caad0d36a22fe1790fff0d): Bind for 127.0.0.1:7654 failed: port is already allocated
      ERROR: for solr-mailcow Cannot start service solr-mailcow: driver failed programming external connectivity on endpoint mailcowdockerized_solr-mailcow_1 (30630d1e60cd32a9ddc16c786449d2343587f39f8c7ac744b64c6ee5c6171ea4): Bind for 127.0.0.1: 18983 failed: port is already allocated ERROR: Encountered errors while bringing up the project."

    • @alanblanco7041
      @alanblanco7041 4 роки тому

      Important: i'm installing it in a virtual server in an instance of aws

    • @christianlempa
      @christianlempa  4 роки тому +1

      When you see this error "port is already in use", that means your host system is running a service on that port already. Mailcow tries to use the host network for allocating services network ports and therefore you would need to change them on your host or in the mailcow config file.

    • @alanblanco7041
      @alanblanco7041 4 роки тому

      @@christianlempa Thanks, but i did saw that my instance don't with minimum requirements to mailcow. I'm looking for an alternative. I'm glad you had taken time to help me to resolve it!

  • @safirsaalaar91
    @safirsaalaar91 2 роки тому

    Thank you so much for this video. You don't how happy I am to see the web interface come up:-) When I was saw the documentation for installing and configuring an email server, my heart sank. This however made my day. Just a follow up question; do I have to "sudo docker-compose down -d" when I want to reboot my machine?

    • @christianlempa
      @christianlempa  2 роки тому +1

      Thank you so much! ;) No, you don't need to do it, the daemon should gracefully shut down the services before reboot.

    • @safirsaalaar91
      @safirsaalaar91 2 роки тому

      @@christianlempa It was such an amazing tutorial. I really needed to have this capability, and noticed you have videos on how to secure a home network, which I will definitely watch and take advantage of.

  • @edwinitpro
    @edwinitpro 3 роки тому

    Thanks so much for video tutorial

  • @adian819
    @adian819 3 роки тому

    Very good, Thank you so much!

  • @CrazyTech200
    @CrazyTech200 4 роки тому

    Great video, but I still have a question: If I already have a laravel or tomcat instance running where I use a SSL Certificate could I use the same one? Or do I need a separate one?

    • @christianlempa
      @christianlempa  4 роки тому

      You could use the existing cert, just look at the mail documentation how to insert a custom SSL cert :)

  • @ajlmusic
    @ajlmusic 2 роки тому

    Excellent!

  • @nightchiller
    @nightchiller 2 роки тому

    Ist das für den echten Einsatz empfehlenswert oder würdest du da eine professionelle Lösung empfehlen? Habe mailcow seit 2 Tagen auf meinem VPS laufen

    • @christianlempa
      @christianlempa  2 роки тому

      Gute Frage! Ich hatte damals mal ein video zu dem Thema gemacht, eventuell sehenswert: ua-cam.com/video/Q-E6ljN3eG0/v-deo.html
      Im Prinzip halte ich es schon für eine professionelle Lösung, da Mailcow sehr erprobte und gängige Tools einsetzt. Es ist in dem Sinne kein "selbstgebastelter" Mailserver, sondern nur eine vorgefertigte Konfiguration von professionellen Mailserver Tools.
      Allerdings muss man dazu sagen, dass der Betrieb eines Mailservers grundsätzlich einige Risiken und Schwierigkeiten mit sich bringt, warum ich mir persönlich so etwas nicht selbst aufbürden möchte. Zumal es ja bezahlte services zu recht günstigen Preisen gibt. Trotzdem zum lernen und eventuell selber hosten für kleinere Zwecke, durchaus nützlich für mich.

  • @TatayOpaw
    @TatayOpaw 4 роки тому

    very informative video, thanks you. new subscriber!

  • @ze3rax
    @ze3rax 7 місяців тому

    So, in the last 1 minute we learned the most important of them all - that there's much more to do in order to have a functional email server... do you have videos for each of the needed thing? Thanks!

  • @Dainis_M
    @Dainis_M 4 роки тому +1

    Hi, what about mailcow reverse proxy setup? Could you please make a video about that topic?

    • @christianlempa
      @christianlempa  4 роки тому

      That's already on my list, so stay tuned 😊

  • @JulianLugo-u1k
    @JulianLugo-u1k 9 місяців тому

    Any updates on this process? Thanks for sharing your knowledge

    • @christianlempa
      @christianlempa  9 місяців тому

      No updates so far, thanks for watching :)

  • @just_a_critical_bug
    @just_a_critical_bug Рік тому

    Very useful
    Thanks a lot

  • @EfrainAvelar
    @EfrainAvelar 4 роки тому

    Nice valuable content hoping you can do video on best vps service out there and also mailing app with smtp email rotation please

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you so much 😁 I've so many things I want to make videos about, that really helps me to find out what is interesting. Stay tuned ;)

  • @maximilianberbechelov
    @maximilianberbechelov 3 роки тому

    Never will I understand why so many UA-camrs think we're here to start a home disco club... We don't need to listen to loud bass music that's 10x louder than your voice. Seriously, who has ever thought this is cool...

  • @codecodeblackcodeblack
    @codecodeblackcodeblack Рік тому

    your awesome sir

  • @abdullahalfaridi5479
    @abdullahalfaridi5479 2 роки тому

    Hey did you not have to install lamp stack apache mysql and php before? Quite good info in your video BTW.

    • @christianlempa
      @christianlempa  2 роки тому +1

      No it's all done by mailcow

    • @abdullahalfaridi5479
      @abdullahalfaridi5479 2 роки тому

      @@christianlempa wow that's sick ill try it and let you know of any errors or outcome.

  • @KaydotOrigin
    @KaydotOrigin 2 роки тому +1

    It would be amazing to see this re-created with your most recent videos on trafik to offload the SSL requirements. I managed to get it working but still can’t figure out how to reload the SSL for dovecot - iphones etc throw ssl issues without a server restart 😩

    • @christianlempa
      @christianlempa  2 роки тому +2

      That's actually a nice idea. I might think about it, but it will take me a long time, as I'm not running my own mailserver anymore. Maybe some general videos about SSL would help people as well.

  • @florianhoss2190
    @florianhoss2190 3 роки тому

    Du bist einfach Geil! Danke dir.

  • @hotshot1691
    @hotshot1691 2 роки тому

    Master, have a nice day, I have a question, I have a local server with my web page running on apache 2, can I have both services (web server and mail server) running at the same time? With the same domain

  • @clementmakinde4283
    @clementmakinde4283 4 роки тому

    Thanks for the value in this. Can I install this on the same server where my website is hosted?

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you :) Yes you can do it, however, you will need to change the port of the nginx docker container in the mailcow.conf from 443 to something else, because this port will be reserved by your web server

    • @emperorrassem
      @emperorrassem 2 роки тому

      @@christianlempa can you elaborate little bit more please. I am unable to run both of my mail-server and website.

  • @turalrzaxanov4373
    @turalrzaxanov4373 2 роки тому

    Thank you dear !

  • @billylardner
    @billylardner 4 роки тому +2

    when I run "docker-compose up -d" the server spits out "Killed" - any ideas what my issue is?

    • @christianlempa
      @christianlempa  4 роки тому

      Could be multiple issues, check with "docker-compose up" (without -d) which error you get

  • @khuongtuantran9050
    @khuongtuantran9050 7 місяців тому

    Dear Christian,
    Could you please share me how to install this in a container so I can move it easy between hosts
    Thank you and Best Regards

  • @cusciify
    @cusciify 4 роки тому

    Hi, amazing videos, very simple and straight to the point but i have a problem. On my machine i have a portainer to manage my container and on top i have an NginxProxyManager and, even if i change the port of HTTP/HTTPS on mailcow.config, i can't run and access mailcow. There is a way to run mailcow and use the nginxProxyManager container that i have or to bind the mailcow access port with the nginix container?

    • @christianlempa
      @christianlempa  4 роки тому

      Thank you, glad that you like it! 😉 I'm not so familiar with portainer or nginxproxymanager, but I assume in this case you would need to modify the docker-compose file of mailcow that it doesn't expose the ports to the hostOS. Then on nginxproxymanager you should be able to create a reverseproxy to the internal ip of the nginx docker container of mailcow? Well that's just an idea, I probably would need to look into it because I just have deployed mailcow out-of-the-box right now.
      But I want to work on a kubernetes deployment of mailcow, then I will need to look at this anyway 😁

  • @MartialBachoffner
    @MartialBachoffner 4 роки тому +3

    The door in wood in your back deserves a thumb up by itself.

  • @JayPatel-wn7hs
    @JayPatel-wn7hs Місяць тому

    at my server i using ERP for my company they already used port 80 and 443. so now how to install mailcow on same server.

  • @JayPatel-wn7hs
    @JayPatel-wn7hs 3 роки тому

    Great...
    Can you make vedio Mailcow installation on Portainer?

    • @christianlempa
      @christianlempa  3 роки тому +2

      Thanks man! Installation on Portainer will be a bit complex as mailcow relies on a lot custom scripts and configs which make it a pain to setup on Portainer or Kubernetes 🤣. What I did is: deploy mailcow like in the tutorial and install Portainer, you'll still able to see the containers and do some limited configuration on Portainer.

  • @adarshkumargupta2181
    @adarshkumargupta2181 Рік тому

    can we send emails to my personal email?
    can we use it for sending bulk mail using SMTP

  • @VanillaHow
    @VanillaHow 2 роки тому +1

    can you use this with subdomains?

  • @crazyoptimist4540
    @crazyoptimist4540 4 роки тому +2

    Nice to know they dockerized mailcow. Thanks.
    #sudo usermod -aG docker $USER
    #sudo reboot
    (This will enable you to run docker as a normal user!)
    Keep doing well :)

    • @christianlempa
      @christianlempa  4 роки тому +2

      Thanks for the comment, you're right this is nice to add! :)

  • @UN-rea
    @UN-rea 3 роки тому

    Спасибо! Мужик! :)

  • @erbmur
    @erbmur 2 роки тому

    I know I am a little late to the vid, but this was awesome!
    I am able to send emails out, but they are getting flagged as spam in Gmail. And I don't seem to be able to receive emails from outside. But its a start!

    • @christianlempa
      @christianlempa  2 роки тому

      I made a video about mail server dns records, maybe that's helping you: ua-cam.com/video/o66UFsodUYo/v-deo.html&

    • @erbmur
      @erbmur 2 роки тому

      @@christianlempa Thanks for the reply. Worked out I wasn't receiving emails because they where being blocked by my pfSense firewall. But I will def check out your other video with regards to preventing my emails being blocked.

  • @majoraslayer64
    @majoraslayer64 5 місяців тому

    When I try to bring it up with docker compose, it errors out with "failed to create network mailcowdockerized_mailcow-network: Error response from daemon: Pool overlaps with other one on this address space". It would help if it actually stated what "address space" it's trying to take so I could free it up. I'm hoping to replace Luke Smith's Postfix setup from his Github script so I can actually point a frontend admin panel at MySQL to administer my mail server, so I'm guessing it's conflicting with that somehow. However, using "systemctl stop postfix" doesn't seem to free up whatever nebulous thing mailcow is trying to set up at this point.

    • @diosupremo4928
      @diosupremo4928 5 місяців тому

      systemctl stop postfix doesn't work because it is "wrapped" inside a container i think, I advice you to dip into docker concepts, it is quite an useful tool, it is going to be worth your time.

  • @xamenkai9360
    @xamenkai9360 2 роки тому

    thank you!

  • @yousiffouad4309
    @yousiffouad4309 3 роки тому

    i installed it on a virtual machine and it worked correctly untill few days ago the host server shutting down and after restarting the VM doesn't boot correctly and stopped with a black window .. have any solution ?

  • @dailymeow3283
    @dailymeow3283 3 роки тому

    There's also Haraka smtp server i was thinking of

  • @olpizl
    @olpizl 2 роки тому

    Hey, ich habe Ubuntu 20.04 auf einer Hyper-V VM auf einem vServer laufen (also nested virtualization).
    Ich habe die Installation soweit hinbekommen, allerdings komme ich von meiner Hostmaschine nicht auf das Webinterface von Mailcow. Muss ich irgendwas an den Switchen in Hyper V ändern?
    Wäre mega, wenn Du oder jemand anderes mir helfen könnte! Danke.

    • @christianlempa
      @christianlempa  2 роки тому

      Hm wahrscheinlich liegts an netzwerk Probleme, aber aus dem Stehgreif schwer zu sagen. Eventuell kommst du mal auf unseren Discord und teilst ein paar Infos über dein Setup vielleicht hat jemand eine Idee.

  • @wildmaster84
    @wildmaster84 4 роки тому +1

    i can send emails to clients but when a client sends an email to the server then it times out the session.

  • @FerozAnam
    @FerozAnam 3 роки тому

    I have a VPS server with CuberPanel installed. which I am using for web hosting. Can I install a mail server on this VPS server?

    • @christianlempa
      @christianlempa  3 роки тому

      You can install this project on any Linux Server where Docker is running.

  • @nevoyu
    @nevoyu 2 роки тому

    Does this work if I'm already running nginx and have a ssl cert?

    • @christianlempa
      @christianlempa  2 роки тому

      you'd need to change the mailcow config to not use the port 80 and 443 and somehow route it from your nginx config to the mailcow containers.

  • @masmind2815
    @masmind2815 4 роки тому

    thanks, very usefull

  • @weirddev
    @weirddev 3 роки тому

    Thanks for this tutorial. But I encountered one issue. My linux server has already install NGINX so mailcow was not able to start. Can you make a tutorial on hosting mail server using NGINX

  • @cusciify
    @cusciify 4 роки тому

    Hi, great tutorial, very simple to understand also if someone is at the first touch with docker and container in general!
    However, everytime i try to run docker-compose up -d i get an error from cli:
    Creating network "mailcowdockerized_mailcow-network" with driver "bridge"
    ERROR: Pool overlaps with other one on this address space
    Do you know how to get rid of that?
    Thanks a lot and keep doing great video!

    • @christianlempa
      @christianlempa  4 роки тому +1

      Hi, thank you! This error occurs when you have other docker containers that use the same subnet like the mailcow containers. You could change the subnet of mailcow in the mailcow.conf file and docker-compose file, or simply recreate your other containers once the mailcow server is started.

  • @愛
    @愛 2 роки тому

    docker-compose 1.x doesnt have downloads for ARM cpu architecture, mailcow requires docker-compose 1.x

  • @devithuotkeo
    @devithuotkeo 3 роки тому

    So basically, mailcow provides us the mailing software and will be included completed packs like gmail such as SMTP and stuffs like that?

  • @ethanleong1334
    @ethanleong1334 3 роки тому

    Hey there, I've got a question about the part where u type in the FQDN of the mail server. Isn't mail cow the mail server already? If so, how and where do we get the FQDN of said mail server? Thanks in advance to anyone who answers this.

    • @christianlempa
      @christianlempa  3 роки тому +1

      I made a separate video explaining mail server DNS records, hope this helps: ua-cam.com/video/o66UFsodUYo/v-deo.html

  • @iqbalatma
    @iqbalatma Рік тому

    is this good for production envirotnment ?

    • @christianlempa
      @christianlempa  Рік тому

      I've done another video about the question if you should host your own mail server, there I have addressed it!