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.
@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.
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
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.
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 😊☺️☺️
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 🤗🙏
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
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.
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
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 :)
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!
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!
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.
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 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?
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.
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.
@@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
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
@@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.
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! ;)
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.
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.
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.
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.
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.
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.
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?
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!
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.
@@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!".
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.
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.
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.
@@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."
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.
@@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!
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 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.
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?
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.
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!
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...
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 😩
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.
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
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
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?
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 😁
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.
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 :)
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 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.
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.
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.
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 ?
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.
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.
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
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!
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.
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.
Learn more about mail server DNS records and how to set up them properly for mailcow: ua-cam.com/video/o66UFsodUYo/v-deo.html
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.
@Grayson Quinn instablaster ;)
@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.
you say link in the description below, but you never put the links.. 🤦🏾♂
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
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.
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 😊☺️☺️
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 🤗🙏
@@christianlempa Hey! I installed mailcow on my server how would I use SMTP with it.
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
Thanks mate!
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.
Thank you 😊 glad you liked it!
Hi wavemancali. Did you end up getting your mail server to send / receive emails externally?
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
Thank you so much for the kind words! I'm glad it helped you :)
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.
Thx!
This is the first time i really follow this guy step by step, this is awesome man! Definitely looking for more.
Thanks mate!
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 :)
Thank you so much! That makes me happy because that took a long time and effort :)
Your sudden loud music volume wakes up the neighbour
Use headphones 🎧
Probably he wants your neighbours to be IT professional like you
your summary explanation and philosophy is perfect.... your content is really good
Glad you think so!
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!
Thank you so much! It's great to hear my video helped you :) And also thanks for your support and welcome to the community!
I have long been looking for a solution to set up mail server. this was spot on. so thanks for a great video
Glad it helped!
Awesome tutorial Christian, please keep doing the excellent job !
Thank you! I'll do 😀
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!
Thank you 😊, I hope you'll like it
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.
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!
Thank you so much! I'm glad it's helpful :)
@@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?
I figured it out by watching your Docker Compose Tutorial. Very insightful content! Thank you.
Hey Christian, this is a great guide, Mailcow will be my next project to create. Thanks 🙂
thank you! it was really easy to follow and I like how you explain every command
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.
This is great and very helpful comparing with others I have seen. Thank you Christian.
Thanks man!
Hey christian, such a great tutorial. I subscribed your channel just because of this one tutorial. Great work! I love you!
thank you and welcome 🤗
Thanks a lot for this Video Christian. Loved the content and it was very helpful!
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.
dude ur better then the other guy at network chuck all he cares about is his coffee and his adverts.
lol thanks :D
man your production has come a long way since this video. :)
Haha oh yea, it's very funny to compare it :D
Sehr gutes Englisch und super Video!! Hat mir sehr weitergeholfen im Studium :D
Danke 😊
I like the way you explain things. Thanks
Thank you for your feedback! 😁👍
Great video man!
Thanks for the content, that is definitely a smooth email user interface!
Greetings
Thank you!
Thank's for this video I'm really having hard time learning to setup mail server
Thanks for your feedback, glad that it helped you 😁👍
@@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
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
@@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.
I AM SUBSCRIBED LOVED EVERY MINUTE
Thanks mate! :)
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! ;)
Thanks! Exactly what I was looking for. And well explained.
Glad it helped!
Awesome tutorial man, just found your channel. Beating a dead horse here but rip headphone users haha
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.
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.
Maybe, more, TDL, maybe more ...
Really well explained and presented video. Thanks
Thank you so much!
Thank you for sharing this with us, quick question; is this a recommended way for production?
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.
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.
Thanks man! I'm planning to do some video about webserver in the future so stay tuned 👍
thank you. perfect explanation, perfect video!!!
Glad it helped!
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.
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.
Hi Christian, thanks a lot again for this great stuff :-)
Please show us more details of how to configure mailcow and what options mailcow offers (backend and SOGo). Thanks for your time!!!
Thanks! :)
Great suggestion, I've not looked into mailcow for quite some time though.
This is a great tutorial. Thank you.
Thanks
After you finish with Mail Server, I suggest you do Web Server, SMTP Server, Cloud Server... All home based using docker. Thank you :)
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 👍
Your voice is so good 🙂
Great video. I learnt a lot. More please. Thank you :)
Thank's man! 😁
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?
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!
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.
@@christianlempa Thank you very much!
@@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!".
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.
Hm maybe don’t send cold emails :P
@@christianlempa lol 😂
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.
Nice! Comparing umask settings is a creative way to see if you are root. Also just try “whoami”
Thanks for the tip!
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?
The FQDN is your hostname + domainname. Hope this helps
Fantastic video!!!!! Thank you so much!!!
please can you do the second video on how to set up the dkim, spf and all required for full working email
Thanks you for your feedback. I will cover that in an upcoming video in a few weeks so stay tuned 😊
@@christianlempa Is there an update?
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
This post plummeted in value the moment you setup your server as localhost instead of what anyone watching this intends to do.
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?
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.
@@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."
Important: i'm installing it in a virtual server in an instance of aws
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.
@@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!
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?
Thank you so much! ;) No, you don't need to do it, the daemon should gracefully shut down the services before reboot.
@@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.
Thanks so much for video tutorial
Glad you liked it :)
Very good, Thank you so much!
You're welcome
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?
You could use the existing cert, just look at the mail documentation how to insert a custom SSL cert :)
Excellent!
thanks ;)
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
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.
very informative video, thanks you. new subscriber!
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!
Hi, what about mailcow reverse proxy setup? Could you please make a video about that topic?
That's already on my list, so stay tuned 😊
Any updates on this process? Thanks for sharing your knowledge
No updates so far, thanks for watching :)
Very useful
Thanks a lot
Thank you 😊
Nice valuable content hoping you can do video on best vps service out there and also mailing app with smtp email rotation please
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 ;)
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...
Because we like party!
your awesome sir
Hey did you not have to install lamp stack apache mysql and php before? Quite good info in your video BTW.
No it's all done by mailcow
@@christianlempa wow that's sick ill try it and let you know of any errors or outcome.
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 😩
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.
Du bist einfach Geil! Danke dir.
Danke du auch 😁
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
Thanks for the value in this. Can I install this on the same server where my website is hosted?
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
@@christianlempa can you elaborate little bit more please. I am unable to run both of my mail-server and website.
Thank you dear !
You're welcome
when I run "docker-compose up -d" the server spits out "Killed" - any ideas what my issue is?
Could be multiple issues, check with "docker-compose up" (without -d) which error you get
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
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?
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 😁
The door in wood in your back deserves a thumb up by itself.
Haha 🤣
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.
Great...
Can you make vedio Mailcow installation on Portainer?
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.
can we send emails to my personal email?
can we use it for sending bulk mail using SMTP
can you use this with subdomains?
Yes
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 :)
Thanks for the comment, you're right this is nice to add! :)
Спасибо! Мужик! :)
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!
I made a video about mail server dns records, maybe that's helping you: ua-cam.com/video/o66UFsodUYo/v-deo.html&
@@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.
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.
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.
thank you!
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 ?
There's also Haraka smtp server i was thinking of
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.
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.
i can send emails to clients but when a client sends an email to the server then it times out the session.
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?
You can install this project on any Linux Server where Docker is running.
Does this work if I'm already running nginx and have a ssl cert?
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.
thanks, very usefull
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
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!
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.
docker-compose 1.x doesnt have downloads for ARM cpu architecture, mailcow requires docker-compose 1.x
So basically, mailcow provides us the mailing software and will be included completed packs like gmail such as SMTP and stuffs like that?
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.
I made a separate video explaining mail server DNS records, hope this helps: ua-cam.com/video/o66UFsodUYo/v-deo.html
is this good for production envirotnment ?
I've done another video about the question if you should host your own mail server, there I have addressed it!