25:48 - you just made me flashback to a Better Call Saul scene with that word "truly". "is there no other way, truly?" this sentence lives in my heart rent-free
Hi Karsten, das ist das genialste Tutorial, dass ich jemals zu dem Thema gesehen habe. Du hast damit meinem Mailserver Projekt krassen Rückenwind gegeben. Tausend Dank dafür. Das ist so kurzweilig und cool gemacht und hat zwischen den Parts, die ich schon kannte, die Brücken gebaut. Genial.
thank you! mailcow has made the process so easy that its a no brainer for a tech company to run their own mail server - especially if privacy matters to your organization. now need to look into backups.
You are amazing in teaching, period. I've spent numerous hours reading this, reading that, many enthusiasts' websites on "How to", yet none of them were able to share the information the way I find it right - sharing it in such a way in order to teach the other side. Thank you! You did great! My server is running right now and it's receiving all the emails (tested).
You are the first channel I have actually been able to find that had any sort of tutorial and I had a easy time understanding how everything works thank you so much
Awesome tutorial, I did this as self-hosted on proxmox vm. I only needed additional port forwarding, edits to my reverse proxy and also my domain name host screen layout looked different to the one used, but it came up as in the tutorial. Scored 10/10 on the email test. Great job on the video.
By far one of the better mail server tutorials that I have had the pleasure of sitting through. Wonderful. Thank you for sharing your time and expertise with us. Much appreciated.
Seriously good job at explaining the process - although I installed mine on a ubuntu platform, most of it was the same - so thanks for your video tutorial. It helped a lot!
One of the best tutorials I have seen in years of watching. No extraneous babbling, just the facts. Seriously, this was excellent. My only mild complaint is the background music, especially one part where it had vocals. I am hard of hearing anyway, and have to focus to hear the narration. Thanks so much, and praying for your safety in these troubled times for the Ukraine!
I love the content. I have one bit of unsolicited constructive criticism though, and I only am saying this because I believe you will succeed in this RUclips game: I would back off a bit on the zoom cuts. If you do it too often, it can become distracting. I would use it to add emphasis only on particular points or when the subject is changing or taking a slight detour. Great camera angle and your technique is on point too, just over used. Most important of all, you're a good speaker and the content is top notch. Keep up the good work, my friend! I'm your 777th subscriber!
Hello and thank you very much for the clear and simple guide, but I wanted to ask you if you could also add the guide for port forwarding that needs to be done on your home router (provided that you always need to have a static public address) and if NGINX Proxy is also present Manager what should he manage and how? Sorry for too many questions but I think this part should be explored :-) Thank you very much
Thank you for your excellent tutorial, Mr Opentaq. 🙏😎 Sound quality was plenty good enough and your explanations were very helpful. One thing I ran into after the main installation was done was the need to set up an SMTP relay server for my VPS. I couldn't send any email without doing this. This can now be done in the Mailcow UI. There's a section in the mailcow docs under Postfix and Relayhosts. Apart from this, I had a few other things to sort out. I'm testing mailcow on a 2GB RAM server which meant I had to disable ClamAV to prevent out-of-memory situations. I realise this is not recommended for a production email server but it has seemingly been fine for testing and has allowed me to familiarise myself with the rest of the mailcow services.
Thanks so much for this video. Every other video I found about a mail server was installing a server that had no GUI. Thisa make it so much easier. Liked & subscribed!
I am confused at 8:27 part, is it ssh from my VM to my PC? or from my PC to its VM? I am just confused what machine we are referring to. sorry for being newb
The reverse DNS us confusing for me. You say that it's the host, not the dns provider. Does that mean if you aren't using a host service that this step isn't needed? In my case, I host my VMs through proxmox and my domain is provided by Cloudflare. I'm jus not sure if the reverse DNS step is only needed if the host is external or in my case where woukd I go to set it up? Thank you!
I am wondering if you can offer a suggested price to do this. For example, how much generally would it cost to lease a server with that configuration? How many people can it support (generally) and how much more per additional user if we're assuming say 50 GB per user?
You are a marvellous person, thank you for the video. I understand almost everything that you said, and it was quite useful for me. A few times I skiped a content, and got lot of waste of time then, so It was a little funny to find solution of my problem in a passage of the video that I skiped :)
Great tutorial!! Question tho.. would using a service like no-ip or duckdns work for setting this up in my home lab? I really dislike the idea of having a monthly bill of using a VPS and I find the cost of using no-ip way more affordable
Mooohooooo it works !!!! Thank you so much ! (I am on this for almost 1 month already...) I still have to fix these anoying email blocking and spam categorization, but I can send and receive mails :)
I setup the same in ec2 instance and one more local machine. It is working fine. When I am working on the production it is not working ans expected. After adding the DNS. while clicking in the DNS ( to see the record). It is showing 504 gateway time out error. Do have any idea?
I have a setup with virtual hosts but with a dedicated IP address for this. How do I go about setting this up on an existing server I'm running with virtualhosts and apache2
For better security don't setup a root password when installing Debian. If you skip this and only setup a user account the root account will be disabled and you'll get root access on the user account when using the sudo automatically. You may also want to enable automatic updates by installing and configuring unattended-upgrades.
For even better security use Gentoo, customise the kernel, use open-doas over sudo. Or if you have the knowledge about BSD use a version of FreeBSD or NetBSD, or even OpenBSD if you want maximum security.
@@kennethlau8108 In the beginning i used AWS Lightsail, but now i moved my box to Hertzner, they have better deals and overall i feel the performance is better. For Hertzner you have to wait 1 month for your account to be able to open port 25.
I've started using Cloudflare Tunnel for 3 of my domains, and it effectively masks your home IP and does not require a static IP. Would this work for a mailserver as well?
not working for me. When sending a mail, I got "orange screen with ERROR" but no error description... When login the admin panel, I checked all logs but no error reported in postfix or any other section. So mail is not sent and I have not idea why... However thks for this very clean and detailed video
@Opentaq Great video I tried everything step by step like in video and even downloaded your exact version and I get stuck at the docker part. Perhaps can you do a new video with the new Debian possibly. I tried it on the newer and was able to do everything but were it gets lost on that something to to do with the sql database. Im always up for a challege and boy this is one lol.
I followed the tutorial to build the mailserver, it's working properly but i can't connect through smtp with a mail client, please what could be the issue.
Hi, super Anleitung. Was aber interessant wäre - Mailcow in Verbindung mit Proxy wie z.B.: Proxmox Mail Gateway nutzen oder Mailcow selbst mit MTA-STS benutzen, was wäre sinnvoller ?
Excellent tutorial; saved me a ton of time! Got this running and created a few mail boxes with a password that the users should change on first login. What config changes do I make to require users to change their passwords on first login? Appreciate any help. I didn't see any UI elements on the webmail client to change the password.
Do you know of any information on how to migrate my email domains away from Exchange 2007 to mailcow. I have mailcow set up per this tutorial but having trouble getting the correct mail server to show in the mailcow dns recoreds. It keeps wanting to show the exchange server even after all the dns records are set and the mailcow server is set with a lower priority level than the exchange priority. Any hints or references are appreciated.
awesome :-) really i like your tutorial, one question please if i already have VPS with php, mysql, apache server if i install docker nothing will fail my current work is that right ??? as i didn't use docker before thats why i ask this question. Looking for help :-)
Hello friend I did all the steps but sent messages but I can't receive message from others like Gmail. Could someone tell me if I have the same error and how did I solve it?
Why didn't you used port 587? Like these ports are supposed to used for SMPT delivery rather than port 25 which is SMPT relay and is blocked by most ISP and Cloud Providers.
everything i did like you, and my score was 10/10. but my email went to spam !!!! what is the problem ? ith another toturial also i did, iredmail., and the same thing happend!! also you didnt said how to install ssl certificate on server, when i brows my server hostnaime, it says this site is not secure
Hi i got an error: dovecot-mailcow Cannot start service dovecot-mailcow: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 6: operation not permitted: unknown
I liked, subscribed and HIT the notification bell! Can you go a bit deeper on the rest of the DNS settings? btw, I like the female vocalist's voice in your background music. What is it?
salam alaikoum, Thank you for this wonderful tutorial, I hope doing well, I just have question after searching for what reason allowing the port 4190 (ManageSieve Protocol).
I have a stupid question here. Is it possible to do this and provide email hosting services? Clients will provide their domain names and we create professional emails for them? thank you
Great tutorial, I got issues with mailcow's web GUIs (admin andwebmail) with port 80 and 443 since I already had a web server running, just change them on mialcow's configuration and now its fine. Also got problems sending emails since my server is hosted by vultr and by default they block the SMTP ports (solved by opening a ticket explaining I will not be a spammer).
I managed to get everything but the DNS setup by myself. But this tutorial is awesome and I wish I had used it for the whole setup. Regardless, thanks for the help with the DNS portion!
This is incredible! I am now able to send emails through my own domain, but I don't seem to be able to recieve anything. Any pointers as to what I might be doing wrong or missing?
25:48 - you just made me flashback to a Better Call Saul scene with that word "truly". "is there no other way, truly?" this sentence lives in my heart rent-free
Hi Karsten, das ist das genialste Tutorial, dass ich jemals zu dem Thema gesehen habe. Du hast damit meinem Mailserver Projekt krassen Rückenwind gegeben. Tausend Dank dafür. Das ist so kurzweilig und cool gemacht und hat zwischen den Parts, die ich schon kannte, die Brücken gebaut. Genial.
thank you! mailcow has made the process so easy that its a no brainer for a tech company to run their own mail server - especially if privacy matters to your organization.
now need to look into backups.
How did you resolve it? I believe Portainer can back up the entire container in some way. Or is there another method?
You are amazing in teaching, period. I've spent numerous hours reading this, reading that, many enthusiasts' websites on "How to", yet none of them were able to share the information the way I find it right - sharing it in such a way in order to teach the other side. Thank you! You did great! My server is running right now and it's receiving all the emails (tested).
This is what a tutorial is supposed to look like! Thank you!
You are the first channel I have actually been able to find that had any sort of tutorial and I had a easy time understanding how everything works thank you so much
you are so great, please come back with more self hosted series we need the great way of explaination, also let me say we miss you :)
Add MX record in your DNS records and set the name of it as your domain name and the value of it as the IP address of your mail server
Awesome tutorial, I did this as self-hosted on proxmox vm. I only needed additional port forwarding, edits to my reverse proxy and also my domain name host screen layout looked different to the one used, but it came up as in the tutorial. Scored 10/10 on the email test. Great job on the video.
By far one of the better mail server tutorials that I have had the pleasure of sitting through. Wonderful. Thank you for sharing your time and expertise with us. Much appreciated.
I just want to say Thank you, this has been the best and most comprehensive tutorial I've found on setting up a home email server.
Seriously good job at explaining the process - although I installed mine on a ubuntu platform, most of it was the same - so thanks for your video tutorial. It helped a lot!
One of the best tutorials I have seen in years of watching. No extraneous babbling, just the facts. Seriously, this was excellent. My only mild complaint is the background music, especially one part where it had vocals. I am hard of hearing anyway, and have to focus to hear the narration. Thanks so much, and praying for your safety in these troubled times for the Ukraine!
I love the content. I have one bit of unsolicited constructive criticism though, and I only am saying this because I believe you will succeed in this RUclips game: I would back off a bit on the zoom cuts. If you do it too often, it can become distracting. I would use it to add emphasis only on particular points or when the subject is changing or taking a slight detour. Great camera angle and your technique is on point too, just over used. Most important of all, you're a good speaker and the content is top notch. Keep up the good work, my friend! I'm your 777th subscriber!
+1 on backing off on the zoom cuts. I am easily distracted and I could not focus on the tutorial because the view was constantly changing.
Hello and thank you very much for the clear and simple guide, but I wanted to ask you if you could also add the guide for port forwarding that needs to be done on your home router (provided that you always need to have a static public address) and if NGINX Proxy is also present Manager what should he manage and how?
Sorry for too many questions but I think this part should be explored :-)
Thank you very much
Very nice, useful and complete tutorial. Thank you. I will give a trial and install this server. You have convinced me of having my own mail server!
Thank you for your excellent tutorial, Mr Opentaq. 🙏😎 Sound quality was plenty good enough and your explanations were very helpful.
One thing I ran into after the main installation was done was the need to set up an SMTP relay server for my VPS. I couldn't send any email without doing this. This can now be done in the Mailcow UI. There's a section in the mailcow docs under Postfix and Relayhosts. Apart from this, I had a few other things to sort out. I'm testing mailcow on a 2GB RAM server which meant I had to disable ClamAV to prevent out-of-memory situations. I realise this is not recommended for a production email server but it has seemingly been fine for testing and has allowed me to familiarise myself with the rest of the mailcow services.
Hello @sideshowlol , what cloud provider are you using. None of the big one seems to open port 25 for new users
@@the_chilli_town Have you tried alternatives such as port 587 (SMTP with auth) or port 465 (SMTP over SSL)?
Thanks so much for this video. Every other video I found about a mail server was installing a server that had no GUI. Thisa make it so much easier. Liked & subscribed!
Great tutorial! The only problem I faced was the time propagation of DNS updates. Thank you very much for your video.
Awesome video! It's just a great job! I'll try this manual tomorrow. I hope it will work. Thanks for your efforts.
As always, a wonderful and inspiring video! Keep it up!
Thank you so much!
Great Tutorial! Time for us to take control of our own data & businesses moving forward..
Amazing content, thank you for the tips! Got a 8.7 on the spam meter, and setup my first mailserver!!
Nice. How can i use letsencrypt certificate for secure Mailcow server?
Hello, I was wondering if you could do a updated version of this video? Cloudfare and mailcow has changed a lot. Thanks in advance.
I am confused at 8:27 part, is it ssh from my VM to my PC? or from my PC to its VM?
I am just confused what machine we are referring to. sorry for being newb
proper tutorial and no stupid loud music. cheers, by the way I did it and it works.
Thank you!
I was able to successfully set up my own mailserver!
Das war ein wirklich gut durchdachtes Tutorial, danke!
The reverse DNS us confusing for me. You say that it's the host, not the dns provider. Does that mean if you aren't using a host service that this step isn't needed? In my case, I host my VMs through proxmox and my domain is provided by Cloudflare. I'm jus not sure if the reverse DNS step is only needed if the host is external or in my case where woukd I go to set it up? Thank you!
I am wondering if you can offer a suggested price to do this. For example, how much generally would it cost to lease a server with that configuration? How many people can it support (generally) and how much more per additional user if we're assuming say 50 GB per user?
You are a marvellous person, thank you for the video.
I understand almost everything that you said, and it was quite useful for me.
A few times I skiped a content, and got lot of waste of time then, so It was a little funny to find solution of my problem in a passage of the video that I skiped :)
the best tutorial to build a mail server that i've seen! thanks a lot!
Thank you!
Great tutorial!! Question tho.. would using a service like no-ip or duckdns work for setting this up in my home lab? I really dislike the idea of having a monthly bill of using a VPS and I find the cost of using no-ip way more affordable
Mooohooooo it works !!!! Thank you so much ! (I am on this for almost 1 month already...) I still have to fix these anoying email blocking and spam categorization, but I can send and receive mails :)
I setup the same in ec2 instance and one more local machine. It is working fine. When I am working on the production it is not working ans expected. After adding the DNS. while clicking in the DNS ( to see the record). It is showing 504 gateway time out error. Do have any idea?
Hi. Please also specify what is the required speed of internet connection? If running at home with static ip.
This is a great tutorial. Can you also make a video on domain/email reputation & deliverability?
I have a setup with virtual hosts but with a dedicated IP address for this. How do I go about setting this up on an existing server I'm running with virtualhosts and apache2
For better security don't setup a root password when installing Debian. If you skip this and only setup a user account the root account will be disabled and you'll get root access on the user account when using the sudo automatically. You may also want to enable automatic updates by installing and configuring unattended-upgrades.
You mean PGP instead of a root password and get root access with sudo -aG sudo username?
For even better security use Gentoo, customise the kernel, use open-doas over sudo.
Or if you have the knowledge about BSD use a version of FreeBSD or NetBSD, or even OpenBSD if you want maximum security.
Nice, and now i have a domain where i can host my own website. Looking forward for more videos to recycle domains :)
This is the first tutorial I was able to fulfill my mail server without a glitch
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.
I run mailinabox for years now, and i never had problems!
Also it requires much less resources
@@notDacian what server provider are u using. As alot of service providers ban the mail ports
@@kennethlau8108 In the beginning i used AWS Lightsail, but now i moved my box to Hertzner, they have better deals and overall i feel the performance is better. For Hertzner you have to wait 1 month for your account to be able to open port 25.
@@kennethlau8108 You can see he is using Hetzner, but you have to aopply after 3 months to unblock port 25.
@@notDacian if I can use AWS Lightsail I'm good then
Great video! Very well explained. My only concern is email reachability these days (aka oligopoly). Did you have any big issue?
THE tutorial on this topic! No other tutorial comes close!
Is possible to add multiple domains to mailcow?
I've started using Cloudflare Tunnel for 3 of my domains, and it effectively masks your home IP and does not require a static IP. Would this work for a mailserver as well?
Excellent tutorial from Germany! You've been a great help here :) Many many thanks
not working for me. When sending a mail, I got "orange screen with ERROR" but no error description... When login the admin panel, I checked all logs but no error reported in postfix or any other section. So mail is not sent and I have not idea why... However thks for this very clean and detailed video
Why do you use docker? Does mailcow have a relay built in? How do you do the reversed DNS part on a local physical machine in stead of a VPS?
How do you check DMARC-reports and how should you action and maintain your abuse email?
@Opentaq Great video I tried everything step by step like in video and even downloaded your exact version and I get stuck at the docker part. Perhaps can you do a new video with the new Debian possibly. I tried it on the newer and was able to do everything but were it gets lost on that something to to do with the sql database. Im always up for a challege and boy this is one lol.
I followed the tutorial to build the mailserver, it's working properly but i can't connect through smtp with a mail client, please what could be the issue.
Great video. Did I miss the part where you routet all of the trafic to the VM? How did you do that?
Hi, super Anleitung. Was aber interessant wäre - Mailcow in Verbindung mit Proxy wie z.B.: Proxmox Mail Gateway nutzen oder Mailcow selbst mit MTA-STS benutzen, was wäre sinnvoller ?
Help! I can send emails but can't recieve them. Anybody have any idea of why it may be?
I am stuck at "Reverse DNS", I want to know where to find this Hoster?
Excellent tutorial; saved me a ton of time! Got this running and created a few mail boxes with a password that the users should change on first login. What config changes do I make to require users to change their passwords on first login? Appreciate any help. I didn't see any UI elements on the webmail client to change the password.
i can't able to send the mails. the mail test itself failed. i had deployed the configuration settings on gcp virtual machine
Wait i'm confused about the reverse dns. You do this in the hoster? But im selfhosting on my homelab. I just have a domain, and my own server.
Hi, do you have a video to create a mailserver in linux using postfix and samba or ldap to autentificate users?
Can I use mailcow as a smtp server such as connecting it from a programming language with smtp over through port 25 or 587?
Do you know of any information on how to migrate my email domains away from Exchange 2007 to mailcow. I have mailcow set up per this tutorial but having trouble getting the correct mail server to show in the mailcow dns recoreds. It keeps wanting to show the exchange server even after all the dns records are set and the mailcow server is set with a lower priority level than the exchange priority. Any hints or references are appreciated.
The hardest part is migrating from a previous mail system preserving all previous data for all accounts, specially if it is a lot.
Not really. IMAP sync.
@@connor7439yep. This.
awesome :-) really i like your tutorial, one question please if i already have VPS with php, mysql, apache server if i install docker nothing will fail my current work is that right ???
as i didn't use docker before thats why i ask this question.
Looking for help :-)
How do you uninstall docker when you've installed it like this?
Hello friend I did all the steps but sent messages but I can't receive message from others like Gmail. Could someone tell me if I have the same error and how did I solve it?
Hi there thank you. I followed along everything is working fine except for ma domain it is not secured no https.please help
Can I built it inside a LXC instead of a VM?
Thank you! By the way if you get a "unbound test fail" error, replace the unbound image with
unbound-mailcow:
image: mvance/unbound:latest
Why didn't you used port 587? Like these ports are supposed to used for SMPT delivery rather than port 25 which is SMPT relay and is blocked by most ISP and Cloud Providers.
everything i did like you, and my score was 10/10. but my email went to spam !!!! what is the problem ? ith another toturial also i did, iredmail., and the same thing happend!! also you didnt said how to install ssl certificate on server, when i brows my server hostnaime, it says this site is not secure
Thanks for this great explanation and the video! Regards from Chile
Hi i got an error:
dovecot-mailcow Cannot start service dovecot-mailcow: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting rlimits for ready process: error setting rlimit type 6: operation not permitted: unknown
I liked, subscribed and HIT the notification bell!
Can you go a bit deeper on the rest of the DNS settings?
btw, I like the female vocalist's voice in your background music. What is it?
Can I be able to connect remotely to this mailserver with smtp credentials?
Followed the same steps as you did but getting 5/10 for the mail-tester.
My lowest scores are in the dmarc and dkim, any suggestions ?
salam alaikoum,
Thank you for this wonderful tutorial, I hope doing well, I just have question after searching for what reason allowing the port 4190 (ManageSieve Protocol).
I have a stupid question here. Is it possible to do this and provide email hosting services? Clients will provide their domain names and we create professional emails for them? thank you
Would love a tutorial on how to use and configure wildcard SSL on mailcow and mail domains
One question, how to setup using reverse proxy, like nginx proxy manager behind nat on private ip , with redirect ports from video?!
will this stand againts oauth2 tho
thanks for the detailed vid man. I wonder how this works if i host multi websites/domains on the same server.
Great tutorial, I got issues with mailcow's web GUIs (admin andwebmail) with port 80 and 443 since I already had a web server running, just change them on mialcow's configuration and now its fine.
Also got problems sending emails since my server is hosted by vultr and by default they block the SMTP ports (solved by opening a ticket explaining I will not be a spammer).
I managed to get everything but the DNS setup by myself. But this tutorial is awesome and I wish I had used it for the whole setup. Regardless, thanks for the help with the DNS portion!
Where the hell do you get a $5 server with 2 CPUs and 4GB or Ram?
Hetzner
At least last year, that was still an option.
Hi give you better then hetzner, there server always get blast and data get erased
CAN I USE THE EMAIL ACCOUNTS FOR SENDING COLD EMAILS?
18:57 Inglorious Bastards - 3 glasses scene ???
looks great! how can we add virus protection etc? what are the possibilities of hacking? and how? Thank you.
A fantastic tutorial! Thank you
Very nice. Thank you. What about spam? How do you block spam?
Thanks but after send mail , my mail go to folder spam !!!!!???
Is this possible to do on a preinstalled version of debian?
Give more video about Mailcow, example I have 4 company domain, I need buy 1 VPS but I will give every company 1 panel for mails.
like to know how to use mailcow with nginx proxy manager ... didn´t find a proper configuration yet. Any pracitcal idea?
This is incredible! I am now able to send emails through my own domain, but I don't seem to be able to recieve anything. Any pointers as to what I might be doing wrong or missing?
inapparopiate picture
grow up@@zk321
Why do you use a VM instead of a Debian CT?
what is sending limit of this in inbox on receipient side ? can i send 100k inbox a day?
Can I use my websites domain or would I have to buy another one for this?
excelente video!!!
Recomendado 200%
muy facil de entender y muy funcional para ccomenzar usando seguridad ante todo.
Can i setup it with kubernetes and ingress?