SELF-HOSTED | Set up and run your own Mailserver with Mailcow | DNS, Security, Installation, Test

  Рет қаралды 119,928

OPENTAQ

OPENTAQ

Күн бұрын

Пікірлер: 243
@WokCorner
@WokCorner Жыл бұрын
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
@ze3rax
@ze3rax 7 ай бұрын
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).
@nura943
@nura943 Жыл бұрын
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.
@ishi92
@ishi92 Жыл бұрын
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.
@p4nd4hunters68
@p4nd4hunters68 2 ай бұрын
How did you resolve it? I believe Portainer can back up the entire container in some way. Or is there another method?
@Star-egy
@Star-egy Жыл бұрын
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 :)
@dwrout
@dwrout Жыл бұрын
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.
@boss0killer
@boss0killer 2 жыл бұрын
This is what a tutorial is supposed to look like! Thank you!
@sideshowlol
@sideshowlol Жыл бұрын
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.
@the_chilli_town
@the_chilli_town 2 ай бұрын
Hello @sideshowlol , what cloud provider are you using. None of the big one seems to open port 25 for new users
@sideshowlol
@sideshowlol 2 ай бұрын
@@the_chilli_town Have you tried alternatives such as port 587 (SMTP with auth) or port 465 (SMTP over SSL)?
@psi4j
@psi4j Жыл бұрын
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 KZbin 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!
@benjaminralston7046
@benjaminralston7046 2 ай бұрын
+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.
@Stiffy_the_magnificent
@Stiffy_the_magnificent 15 күн бұрын
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.
@PeterBatah
@PeterBatah 10 ай бұрын
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.
@raven325i
@raven325i 2 жыл бұрын
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!
@jim7smith
@jim7smith Жыл бұрын
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!
@YeloPartyHat
@YeloPartyHat 8 ай бұрын
The command that is unfortunately not in the description: sudo ufw allow 22,25,80,110,143,443,465,587,993,995,4190/tcp
@francesco4143
@francesco4143 Жыл бұрын
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
@James_Alfonso
@James_Alfonso 5 ай бұрын
This is the first tutorial I was able to fulfill my mail server without a glitch
@viniciostorres
@viniciostorres 9 ай бұрын
Great tutorial! The only problem I faced was the time propagation of DNS updates. Thank you very much for your video.
@pharaohstudiosllc
@pharaohstudiosllc 9 ай бұрын
Great Tutorial! Time for us to take control of our own data & businesses moving forward..
@gf6h75fghfghfghdfh7
@gf6h75fghfghfghdfh7 2 жыл бұрын
Great video! Very well explained. My only concern is email reachability these days (aka oligopoly). Did you have any big issue?
@Epicvids61
@Epicvids61 Жыл бұрын
Amazing content, thank you for the tips! Got a 8.7 on the spam meter, and setup my first mailserver!!
@3rdClaude
@3rdClaude 2 жыл бұрын
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!
@akiyai
@akiyai 9 ай бұрын
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!
@ADHDOCD
@ADHDOCD Жыл бұрын
This is a great tutorial. Can you also make a video on domain/email reputation & deliverability?
@commievoyager
@commievoyager 2 жыл бұрын
Awesome video! It's just a great job! I'll try this manual tomorrow. I hope it will work. Thanks for your efforts.
@frankuchan3080
@frankuchan3080 2 жыл бұрын
Thank you! I was able to successfully set up my own mailserver!
@MichaelSharpTechniSmart
@MichaelSharpTechniSmart 2 жыл бұрын
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?
@sparti89
@sparti89 2 жыл бұрын
Nice, and now i have a domain where i can host my own website. Looking forward for more videos to recycle domains :)
@notDacian
@notDacian 2 жыл бұрын
I run mailinabox for years now, and i never had problems!
@notDacian
@notDacian 2 жыл бұрын
Also it requires much less resources
@kennethlau8108
@kennethlau8108 2 жыл бұрын
@@notDacian what server provider are u using. As alot of service providers ban the mail ports
@notDacian
@notDacian 2 жыл бұрын
@@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.
@MichaelSharpTechniSmart
@MichaelSharpTechniSmart 2 жыл бұрын
@@kennethlau8108 You can see he is using Hetzner, but you have to aopply after 3 months to unblock port 25.
@chimastudios
@chimastudios 2 жыл бұрын
@@notDacian if I can use AWS Lightsail I'm good then
@danielrdugan
@danielrdugan Жыл бұрын
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
@JuanFernandoGallegoGomez
@JuanFernandoGallegoGomez Жыл бұрын
The hardest part is migrating from a previous mail system preserving all previous data for all accounts, specially if it is a lot.
@connor7439
@connor7439 Жыл бұрын
Not really. IMAP sync.
@nilpo
@nilpo 10 ай бұрын
​@@connor7439yep. This.
@maxmuster6691
@maxmuster6691 5 ай бұрын
Great video. Did I miss the part where you routet all of the trafic to the VM? How did you do that?
@rosolovsky
@rosolovsky Жыл бұрын
Nice. How can i use letsencrypt certificate for secure Mailcow server?
@dallascao
@dallascao 7 ай бұрын
Thank you! By the way if you get a "unbound test fail" error, replace the unbound image with unbound-mailcow: image: mvance/unbound:latest
@romainrochas1474
@romainrochas1474 6 ай бұрын
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 :)
@saranyasreedharan480
@saranyasreedharan480 6 ай бұрын
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?
@patrickscheel2033
@patrickscheel2033 2 жыл бұрын
As always, a wonderful and inspiring video! Keep it up!
@opentaq
@opentaq 2 жыл бұрын
Thank you so much!
@geoffgates8264
@geoffgates8264 Жыл бұрын
proper tutorial and no stupid loud music. cheers, by the way I did it and it works.
@Dvalin21
@Dvalin21 5 ай бұрын
Hello, I was wondering if you could do a updated version of this video? Cloudfare and mailcow has changed a lot. Thanks in advance.
@donboscow9291
@donboscow9291 10 ай бұрын
THE tutorial on this topic! No other tutorial comes close!
@cryptoharvester
@cryptoharvester 7 күн бұрын
@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.
@myozone
@myozone Жыл бұрын
Prefect !, With German precision. I've watched lots of other videos that skip some parts so you end up without a worker server. A second part might add a spam filter ? Just an idea ...
@invention69
@invention69 3 ай бұрын
Hi. Please also specify what is the required speed of internet connection? If running at home with static ip.
@phobes
@phobes 2 жыл бұрын
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?
@gopireddy5131
@gopireddy5131 2 ай бұрын
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.
@DNAblue2112
@DNAblue2112 Жыл бұрын
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!
@Steve-Richter
@Steve-Richter Жыл бұрын
I vote that you do a new version of this video where you first explain how to setup the server. Move the rant content to the end.
@AlexS-so7wk
@AlexS-so7wk 8 ай бұрын
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 :)
@sirwrad
@sirwrad Жыл бұрын
the best tutorial to build a mail server that i've seen! thanks a lot!
@opentaq
@opentaq Жыл бұрын
Thank you!
@megyptm1megyptm
@megyptm1megyptm 28 күн бұрын
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 :-)
@fransvanderwerf7485
@fransvanderwerf7485 Жыл бұрын
Excellent tutorial from Germany! You've been a great help here :) Many many thanks
@gomo5628
@gomo5628 7 ай бұрын
thanks for the detailed vid man. I wonder how this works if i host multi websites/domains on the same server.
@angeldelvax7219
@angeldelvax7219 3 ай бұрын
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?
@sabering9459
@sabering9459 21 күн бұрын
panteri panteri vi ste hrabri momci najhrabriji srpski dobrovoljci
@guandulin
@guandulin Жыл бұрын
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).
@CrynogarTM
@CrynogarTM 2 жыл бұрын
Running Mailcow on homelab🤓 and use VPS as a Reverse-Proxy. Full control over Storage on your local server without paying extra for Cloud Storage which is also not under your control! It's like a Portforwarding from your Local Server to the VPS that expose anything of your Mailserver for you. You just manage the tunnel and mailserver on-Premise without anything extra in the Cloud! If something is suspicious you just need to cut off the Tunnel to your VPS and anything is safe again.
@ChatGTA345
@ChatGTA345 Жыл бұрын
This is the way!
@northblue8216
@northblue8216 Жыл бұрын
Very nice. Thank you. What about spam? How do you block spam?
@FirstnameLastname-we6dh
@FirstnameLastname-we6dh Жыл бұрын
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.
@martingerlach_1990
@martingerlach_1990 Жыл бұрын
You mean PGP instead of a root password and get root access with sudo -aG sudo username?
@sveps8883
@sveps8883 Ай бұрын
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.
@YeloPartyHat
@YeloPartyHat 8 ай бұрын
How do you check DMARC-reports and how should you action and maintain your abuse email?
@CodinTest
@CodinTest 6 ай бұрын
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).
@mainegrower
@mainegrower 3 ай бұрын
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
@ayhangunay1178
@ayhangunay1178 7 ай бұрын
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 ?
@cbaservs
@cbaservs Жыл бұрын
great to learn about my own mailserver...Karsten....vielen dank
@TutoDS2014
@TutoDS2014 4 ай бұрын
Is possible to add multiple domains to mailcow?
@smalltimer4370
@smalltimer4370 10 ай бұрын
Would love a tutorial on how to use and configure wildcard SSL on mailcow and mail domains
@erbmur
@erbmur Жыл бұрын
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?
@zk321
@zk321 11 ай бұрын
inapparopiate picture
@erbmur
@erbmur 11 ай бұрын
grow up@@zk321
@vmerinom
@vmerinom 2 ай бұрын
Thanks for this great explanation and the video! Regards from Chile
@miguelpalencia4386
@miguelpalencia4386 6 ай бұрын
excelente video!!! Recomendado 200% muy facil de entender y muy funcional para ccomenzar usando seguridad ante todo.
@bakhlulaliev7190
@bakhlulaliev7190 Ай бұрын
How can I donate you?
@yoyo26-34
@yoyo26-34 10 ай бұрын
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
@northonheld
@northonheld Күн бұрын
Thank you very much, you helped me to have my own email and not depend on big tech anymore. My email is working perfectly. I'm just a little sad to know that the project doesn't support kubernetes with helm.
@GrundGad
@GrundGad 8 ай бұрын
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 ?
@zekarov
@zekarov 2 жыл бұрын
A fantastic tutorial! Thank you
@Sabs761010
@Sabs761010 2 ай бұрын
Hi, do you have a video to create a mailserver in linux using postfix and samba or ldap to autentificate users?
@JayPatel-wn7hs
@JayPatel-wn7hs 24 күн бұрын
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.
@AquaBliss_gr
@AquaBliss_gr Жыл бұрын
looks great! how can we add virus protection etc? what are the possibilities of hacking? and how? Thank you.
@maxime_vhw
@maxime_vhw 4 ай бұрын
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.
@ErikDuits-jy4ms
@ErikDuits-jy4ms 2 жыл бұрын
Thanks for this video! Maybe a stupid question. If i need to restart the server, should i first close Docker / Mailcow? or can i just sudo reboot?
@prachisinha7634
@prachisinha7634 Жыл бұрын
What did you find?
@reformatioinpeius2743
@reformatioinpeius2743 Жыл бұрын
Help! I can send emails but can't recieve them. Anybody have any idea of why it may be?
@_Duke0
@_Duke0 Жыл бұрын
Wow this is amazing!! Can this work as smtp? Can I purchase vps from any platform I wish?
@kerimhasanyildirim
@kerimhasanyildirim 3 ай бұрын
Can I use mailcow as a smtp server such as connecting it from a programming language with smtp over through port 25 or 587?
@decemberfrostpaindine7987
@decemberfrostpaindine7987 8 ай бұрын
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
@gunnerguy31
@gunnerguy31 17 күн бұрын
will this stand againts oauth2 tho
@yourlinuxguy
@yourlinuxguy Жыл бұрын
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.
@brandonmoore3124
@brandonmoore3124 5 ай бұрын
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.
@fabienl.7569
@fabienl.7569 Жыл бұрын
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
@essanhaji
@essanhaji Жыл бұрын
Hi there thank you. I followed along everything is working fine except for ma domain it is not secured no https.please help
@YeloPartyHat
@YeloPartyHat 8 ай бұрын
How do you uninstall docker when you've installed it like this?
@FredericHeim
@FredericHeim 9 ай бұрын
Hello THX for thus tutorial, I'm newbie I need to watch it multiple tim for sure ! Can I connect mutliple domains, use mailcow for transactionnal email & my another email marketing software connected to my smtp server for mass/bulk email campaign ?
@nephygt.h.k1187
@nephygt.h.k1187 6 ай бұрын
Can I be able to connect remotely to this mailserver with smtp credentials?
@thomasherbrig4951
@thomasherbrig4951 3 ай бұрын
Great video. Well done. I'll give it a try
@PatGreen-t4g
@PatGreen-t4g 5 ай бұрын
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.
@randomlettersqzkebkw
@randomlettersqzkebkw Жыл бұрын
Mailcow has huge requirements 8gbs ram O_o are there any other better than this that is as good as mailcow?
@sideshowlol
@sideshowlol Жыл бұрын
After turning off ClamAV, I have mailcow running in a 2GB RAM VPS for testing. I think 4GB should be fine with ClamAV but it will depend on your requirements. 😎
@ghazixdii
@ghazixdii 6 ай бұрын
CAN I USE THE EMAIL ACCOUNTS FOR SENDING COLD EMAILS?
@jmsvigno
@jmsvigno Жыл бұрын
One question, how to setup using reverse proxy, like nginx proxy manager behind nat on private ip , with redirect ports from video?!
@alexpastushok
@alexpastushok Жыл бұрын
Thanks for tutorial, that's helped me a lot with my mailcow installation
@VishalSharma-ri8mo
@VishalSharma-ri8mo 8 ай бұрын
Great tutorial sir, can you please explain how can I setup this email server with Kubernetes
@VictorMongi
@VictorMongi 2 жыл бұрын
Hello, Thank you for sharing this, Works like a charm. Thank you sir....
@alexandermendez9013
@alexandermendez9013 2 жыл бұрын
So this has to be done on a VPS? You can’t host it on a local machine?
@opentaq
@opentaq 2 жыл бұрын
Reason is the DNS stuff. It is not an issue to have something via CloudFlare point to your local environment, but if you don‘t want to have everything in the junk on the recipients side, you will need to have a Reverse-DNS-entry, which typically is not supported with dynamic IP-addresses or non-business-accounts.
@CRK1918
@CRK1918 2 жыл бұрын
My email server is fine at home. Is that you need two IP addresses, one that you yourself and one that can be used for a dedicated email server. Under normal circumstances you do not have security measures in place, you should not expose your home IP address, DDoS etc. Plus you, you have to update your dynamic address frequently. Using some scripts and so on. You can still do it, but rDNS is still a problem, some Email Providers email may classify your email as spam. I'm sure it's okay to receive email for you, When send email out, there are some providers that may not like it if no rDNS. But depending on your main purpose, if it's a personal hobby, you're sure it's okay.
@veroxsity2336
@veroxsity2336 9 ай бұрын
Is this possible to do on a preinstalled version of debian?
@laggggggggg3
@laggggggggg3 7 ай бұрын
Do you need port 25 unblocked? or can I assign another port for this to work? I cant get in or out bound emails. I also was not able to do the RDNS
@felitendo
@felitendo 6 ай бұрын
You can assign another Port like 26
@MehrTV.
@MehrTV. 9 ай бұрын
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
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 228 М.
Мама у нас строгая
00:20
VAVAN
Рет қаралды 9 МЛН
docker stack is my new favorite way to deploy to a VPS
27:47
Dreams of Code
Рет қаралды 33 М.
Self-Hosting Security Guide for your HomeLab
18:43
Techno Tim
Рет қаралды 409 М.
Cloudflare Email Setup (Free Professional Custom Email Setup)
13:15
7 Cybersecurity Tips NOBODY Tells You (but are EASY to do)
13:49
All Things Secured
Рет қаралды 815 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,3 МЛН
Gmail's dumb: Just host your own mail server!
20:16
Luke Smith
Рет қаралды 156 М.