How to Host Your Own Email Server (for free)
Тәжірибелік нұсқаулар және стиль
Learn how to make your own self-hosted email server for free with CyberPanel, an open-source hosting control panel that takes the pain out of setting up a mail server. CyberPanel will automatically generate all necessary mail DNS records like DKIM, MX, and PTR which prevents your outgoing emails from going to spam.
Self-hosted email on Linode from $5/mo 👉 ttt.do/LinodeEmailServer (my affiliate link gives your $100 free Linode credits)
Get a domain name from NameCheap 👉 ttt.do/NamecheapEmailDomain (affiliate link)
NOTE: If you choose to use Linode, please also enable email on your server by following the instructions under "Sending Email on Linode" www.linode.com/docs/guides/ru...
Code snippets and more at tonyteaches.tech/self-hosted-...
Check out my vlog channel @TonyFlorida
#cyberpanel #email
Пікірлер: 895
Tip for those who can't send Emails: Linode blocks the Email ports by default. You have to create a ticket to unblock them.
@bytecorner123
Жыл бұрын
Also their network is now blacklisted so you should use an smtp relay.
@iamericlentz
Жыл бұрын
@@bytecorner123, their entire network, as in, all IP address ranges? Isn't blacklisting by single IP addresses at a time? I have a Linode server, and I don't run an email server. Blacklist checking sites indicate the IP address is fine, save 1 server out of at least a couple dozen.
@adamzan7
Жыл бұрын
@@iamericlentz They are definitely blacklisted by microsoft, luckily it sends a bounce back telling you this so it was easy to just use a relay/smarthost.
In year 2020 around July, I struggled in setting up email server. I wish this tutorial was available then. This was awesome. Hope to see more nerdy videos from you. Cheers man!
@TonyTeachesTech
3 жыл бұрын
Glad it helped, and definitely more to come!
Excellent video brother. Cheers to the professional lighting in your studio setup. When someone puts that much time into lighting, you can trust their conscientiousness. Email works perfectly. Well done.
@TonyTeachesTech
3 жыл бұрын
Thank you so much for noticing! It definitely took me a while to get it "perfect" 😉 Happy to hear this video helped you.
I absolutely loved this tutorial! Thank you so much! And Merry Christmas, bro
@TonyTeachesTech
3 жыл бұрын
Merry Christmas to you too!
Dude, great material. I've researched a "TON" of tutorials only to find them lacking. Now, thanks to you sharing thins knowledge, I can spin up a mail server in @ 20 minutes. For those of us with enough knowledge to be dangerous this just makes us more formidable. Muchas gracias!
@TonyTeachesTech
2 жыл бұрын
Thanks so much :)
This tutorial is excellent, I finished it without any problems and my email server is up and running. subscribed Thank you Tony
@TonyTeachesTech
2 жыл бұрын
Great to hear!
This literally has saved me so much time and money. Thank you for the great and easy to follow tutorial! It's rare to find something so useful for my type of work that is so easy to setup and use. Plus you delivered in a way that any person wanting to accomplish this could do with ease! You earned a thumbs up and subscribe.
@TonyTeachesTech
3 жыл бұрын
Thanks Zach :)
@nickvledder
2 жыл бұрын
Couldn’t agree more!
@cullinanthethird
7 ай бұрын
Cap 🧢
I've set up several email servers in the past and their always a major PITA. This was easy to follow and quick to implement, even nearly 2 years after original release.
@weseeyoudeceiver
Жыл бұрын
are you sure? to be clear, im new and I am depending on solid advice from randoms.. no offence
@weseeyoudeceiver
Жыл бұрын
"Behind The Green Mask" by Rosa Koire .. my communications moving forward demand to be bullet proof
Amazing tutorial, thanks Tony! Your the man!!
@TonyTeachesTech
3 жыл бұрын
My pleasure!
You just got a new subscriber. Thank you so much for taking time to make this quality video...
Very neat and clear explanation. Thank you Tony 😊
@TonyTeachesTech
2 жыл бұрын
Very welcome
This was exceptionally helpful. Thanks for your hard-work my brother 🇺🇸💪🏽
Awesome, love your videos. Waiting for more videos on Cyberpanel and Linux/Wordpress security.
@TonyTeachesTech
3 жыл бұрын
Thank you. More to come!
This is my first view on you channel and i really appreciate you hard work. Subscribed your channels now. Love from Pakistan 🇵🇰
@TonyTeachesTech
3 жыл бұрын
Thanks man, I appreciate you
Wow. Great content. Straight away subscribed.
@TonyTeachesTech
3 жыл бұрын
Thanks, I really appreciate it 🙏
Thanks, you teach not too fast, not too short in simple practical method.
@TonyTeachesTech
10 ай бұрын
Thanks, that's my goal!
This is a great video. I've been looking for a video on how to set up a self-hosted email account. Most videos just tell how to set up a gmail account to use another email address.
Similar tutorials on other videos but they don't explain what and why. This was really good.
@TonyTeachesTech
Жыл бұрын
Happy you found me Kevin
Thank you for the great and easy to follow tutorial!
Good explanation, and very interesting to watch til end. Keep up the good work.
@TonyTeachesTech
3 жыл бұрын
Thank you very much!
Really great. I'm very impressed. You are a genius. I've subscribed to your channel and liked👍! Keep up the good work!
@TonyTeachesTech
3 жыл бұрын
I really appreciate that!
@BJ-cb3ck
2 жыл бұрын
I agree, @Tony is a genius! I just saw this video clip and although am a noob at this, I will try! You are awesome @Tony!
Superb way of explanation!. Loved the video.
@TonyTeachesTech
3 жыл бұрын
Thanks Ali!
many a time I think I will earn good and contribute to people like you for sharing good stuff for free to needy. I read lot of comments but less contribution. Thanks for everything.
Very good video and best explanation of how configure that, thanks!
@TonyTeachesTech
3 жыл бұрын
Glad it was helpful!
Life saver right here Tony!! Seriously!! Thank you!!
@TonyTeachesTech
Жыл бұрын
You're very welcome Matt!! Enjoy :)
Wow, I subbed this is great stuff!
@TonyTeachesTech
3 жыл бұрын
Thanks for the sub!
Thanks for your amazing tutorials.
@TonyTeachesTech
3 жыл бұрын
You're welcome!!
Super cool step by step clip, like to see more enhancements of the server.
@TonyTeachesTech
3 жыл бұрын
Thanks!
@TomoTechno
3 жыл бұрын
@@TonyTeachesTech I am unable to install CyberPanel on 32bit Ubuntu server on IBM Cloud? Can you suggest a way to do it or any other product?
@TonyTeachesTech
3 жыл бұрын
@@TomoTechno Here are the system requirements for CyberPanel cyberpanel.net/docs/installing-cyberpanel/
Great video Tony.
@TonyTeachesTech
10 ай бұрын
Thanks 👍
very useful. thank you for sharing valuable tech content like this one.
This was golden! Thanks a lot
@TonyTeachesTech
3 жыл бұрын
Glad you liked it! You're welcome
Great Video, look forward to others!
@TonyTeachesTech
3 жыл бұрын
More to come!
Great Video! Worked like a charm. Only thing I had to adjust where the Ports on my Server.
@TonyTeachesTech
2 жыл бұрын
Happy to hear that
Hi Tony. Great video. just an FYI, something I learned recently myself. at the install prompts for cyber panel [y/N] means if you press enter No will be the default. [Y/n] means if you press enter, Yes will be the default. It doesn't mean you have to enter capital Y or capital N,.
I'm already subscribed to this amazing tech chanel.
Awesome video, thanks Tony
@TonyTeachesTech
Жыл бұрын
Sure thing :)
Great to see your Videos & Knowledge :) Please Keep Going
@TonyTeachesTech
3 жыл бұрын
Thank you, I will!
Well, you made it look like super easy. That's how people should teach the others! Keep it up Tony. Nice work!
@TonyTeachesTech
2 жыл бұрын
Thanks 👍
Thanks a lot, your tutorial is very valuable for a beginner like me.
Amazing, thanks tony
@TonyTeachesTech
3 жыл бұрын
Sure thing Ravi
I remember trying to host an email server and it worked, getting it hosted and sending was easy but making it not send to spam was crazy hard. I did so much digging into how to fix it and I kept going deeper and deeper down the rabbit hole setting so many settings and it still kept going to junk. Good to see a video like this, hopefully it works out.
Congrats on the channel growth. Great tutorial. I'm personally interested in your point of view on spam protection... Maybe a compare? :)
@TonyTeachesTech
3 жыл бұрын
I will need to research that topic a bit more!
Nice! Definitely going to try this out. Already have 2 domains just sitting around name cheap… Ty
@TonyTeachesTech
Жыл бұрын
Sure thing
Man, I love Old Bay. And your tutorial.
@TonyTeachesTech
3 жыл бұрын
Cheers! 🍻🦀
This could easily be part of a paid Udemy course. Really great job with explaining it all and great camera quality and lightning setup too! Just finished this tutorial and subscribed, keep it up man!
@TonyTeachesTech
3 жыл бұрын
Wow, thanks!
@theycallmecbswishers1718
2 жыл бұрын
@@TonyTeachesTech brother. Where did you make a username? For when u have to sign in to cyberpanel
@TonyTeachesTech
2 жыл бұрын
@@theycallmecbswishers1718 I didn't. The default it admin
@vincent-thomas
2 жыл бұрын
Then it would not be free
@weseeyoudeceiver
Жыл бұрын
@@vincent-thomas 🤷♂
Very beautiful tutorial @tony
@TonyTeachesTech
3 жыл бұрын
I appreciate that Anthony!
Crazy good tutorial... you earned a sub
@TonyTeachesTech
3 жыл бұрын
Thanks for the sub!
Thank you for the great tutorial.
@TonyTeachesTech
3 жыл бұрын
You're very welcome!
thank you man you make it so easy
@TonyTeachesTech
2 жыл бұрын
No problem!
Tony, disculpa por no escribirte en ingles, pero me encanta tus videos, son tan claros y concisos que se entiende muy bien a pesar de que no está en español... Sigue adelante 👏🥳🥳
@TonyTeachesTech
2 жыл бұрын
🙏🙏🙏
thanks for the info mate :)
@TonyTeachesTech
2 жыл бұрын
Sure thing Arnold
Thanks, Great information. Just FYI if one of the options are capital it means that just pressing enter would select that one. You don't have to put the letter in capital.
Great tutorial, thank you
@TonyTeachesTech
2 жыл бұрын
You are welcome!
This is great ! Thank you 1000 :)
@TonyTeachesTech
2 жыл бұрын
Enjoy!
Very helpful !Ths Bro!
awesome job!
@TonyTeachesTech
Жыл бұрын
Thanks!
THANK YOU SO MUCH MAN! you are a fucking legend man, thank you for sharing the knowledge brother.
@TonyTeachesTech
3 жыл бұрын
You're welcome!
I never wanted to host an email server. But then this video popped up in my feed. Good thing I have plenty of time on my hands. Great video!! But one thing that bugged me. When a y or n is capitalized, it means it is default if you just hit enter. Your selection does not have be typed in capitalized. Thank you!!!
@TonyTeachesTech
3 жыл бұрын
Did not know that! Thanks for pointing that you :)
Nice tutorial thanks bro
@TonyTeachesTech
3 жыл бұрын
You're welcome!
Thank you Tony.
@TonyTeachesTech
3 жыл бұрын
You're welcome
great info, thank you.
@TonyTeachesTech
3 жыл бұрын
Glad it was helpful!
Tony, you've just saved me a TONNE of time; thank you so much! Quick question: do you have to use the webmail client, or can you connect to Postfix using SMTP (ie: use it as a mail relay)?
@TonyTeachesTech
2 жыл бұрын
This video will show you how to connect to an external client kzread.info/dash/bejne/g4F2tsmwZMupg7A.html
lovely , thanks a lot !
this guys is the SHIT ! I mean he knows his stuff. he smokes all other "tutorialists" out there !
@TonyTeachesTech
6 ай бұрын
I really appreciate that 🙏
Thank you great work
Thank you!
Great video and tutorial. One thing though that's a bit mind blowing to me: 1 out of 100 people posting Linux tutorials seem to know that the capital letters when asking (Y/n) mean it's the DEFAULT answer. So you don't have to type in "capital Y" if it says (Y/n) but just hit enter and that's the same as entering "y" and hit enter. "Do you want to continue (Y/n)" Just hit enter. No need to say "so we type in 'y' to confirm" and hit enter
@bas133
2 жыл бұрын
Damn, makes sense actually
@TonyTeachesTech
2 жыл бұрын
Thanks for pointing this out!
@ohokcool
Ай бұрын
When people don’t know things like that, I trust them less 😂 IT prejudices
@ohokcool
Ай бұрын
No offense Tony lol
This tutorial made me subscribe...
@TonyTeachesTech
2 жыл бұрын
I appreciate it :)
Tony, you rock. I am going to have to try CyberPanel Email is hard. Even GCP will not talk to Gsuite. My vhost gets blocked by ATT BellSouth and others. Will have to check this out. Keep up the good work
@TonyTeachesTech
3 жыл бұрын
Yeah, check it out. Thank you for your kind words :)
Hi Tony, I have a few questions: Could you tell me the type of application you used in creating your video and secondly what camera and lighting did you use for this presentation? Your content is wonderful. Thank you.
As a complete novice at anything IT or tech related, I found your tutorial highly informative. Thank you. I no longer feel jittery, or uncomfortable about trying to do this myself. I do plan to watch this video a few more times before my attempt, but I do have a couple of initial quick questions. 1. Does Linode (or any other software element involved) provide any kind of support once I set up the server? 2. Can port over bulk emails from the current email ISP I am using (probably thousands) 3. Am I able t o have multiple (3 or 4 ) email accounts? Apologizing in advance if these questions are ultra basic.
thank you very much its the best alternative of what I have
@TonyTeachesTech
2 жыл бұрын
You're welcome!
Thank you! KZread needs more videos like this! Remember also that even if there is not a single email server that comes from this (which I see isn't the case, anyway XD ) these few DIY self serve videos are our only front against VPS server space suddenly skyrocketing salaciously (I admit the last one was on purpose.) Seriously though, server to server competition isnt the a thing anymore. App-controlled inflation is the new capitalism. If we lose the self host option, I have a feeling that were all
@natetolbert3671
2 жыл бұрын
And I'm only half joking : ).
@TonyTeachesTech
2 жыл бұрын
Thanks Nate ;)
Tysm Tony
@TonyTeachesTech
Жыл бұрын
You're welcome Jake
Tony - Thanks for another solid tutorial , i may be mistaken but I thought it isn’t recommended to host your own email dt deliverability, spam filters and overall high maintenance and complications that come with doing so. Is there something im missing? If u do recommend self hosting email, what would be ur recommend use cases if any?
@TonyTeachesTech
3 жыл бұрын
Hi Pat. I personally don't host my own email server at this point. I resisted making this video on my channel for a while, (because of some of the reasons you mentioned) but there was such demand from my subscribers so I decided to make it anyway. The reason a lot of people want to host their own email server is for privacy so Google or Apple aren't snooping on your messages for example. I trust Google with my data so instead of hosting my own email server or paying for email hosting, I get free email hosting from Google right in my Gmail inbox kzread.info/dash/bejne/hJaIlJqRYNrPgto.html. This works because I get my domain names from Google Domains. If that's not the case for you and you're interested in this method, you could always do a domain transfer. Btw I know your name cause I did some snooping myself ;) Keep up the good work!
@alldayieatlikeashark
3 жыл бұрын
@@TonyTeachesTech ha same to you!
Thank you so much! I really appreciate it. I have a question for you: what about setting up a RDNS without Linode server? What if I have a simple Ubuntu (remote) server without Linode GUI?
Awesome very very use full
@TonyTeachesTech
3 жыл бұрын
Thanks!
Thank you so much.
@TonyTeachesTech
2 жыл бұрын
You're welcome!
Hats off to this amazing video , I have three questions 1. Since alot of people are saying linode servers are blacklisted, so how can we add relay? 2. How one can send out batch emailing 3. Is there anyways we can use analytics in here i.e. open rates, unique open, click rates etc
many thanks!
@TonyTeachesTech
3 жыл бұрын
You're welcome!
@Tony Teaches Tech - some questions: 1. If I have 2 or more websites hosted on the Linode, should I add a reverse DNS lookup for each site? 2. I already have an A record and an @ record already in DNS from one of your previous tutorial on hosting a website using cyberpanel. Should I remove them? I noticed you did not add them in this tutorial. Not sure if they will cause conflicts. 3. Any videos/recommendations on hardening the mail server once you get it going?
Great Tut Tony. Was curious about the skim setting but I didn't see it in the video. Also, are there any mail-merge add-ons that are compatible with this email option?
@TonyTeachesTech
2 жыл бұрын
What skim setting? I haven't tried any add-ons
Hi Tony! Ur tutorial is really a great thing for all of us. Can i ask please if can we use the mail on outlook office app? what settings it should be? Thank you in advance Tony! You're great man!
@TonyTeachesTech
2 жыл бұрын
Hi John. I've never linked this up to Outlook, but it should be possible. See this video to get an idea of what the settings should be kzread.info/dash/bejne/g4F2tsmwZMupg7A.html
Hey Tony, love this video and I like how easy this is to setup compared to another one from someone that this exact thing last year. I have few quick questions - once you have this setup and paid for... can you use any mail client software to send emails and is it easy to setup? For example - outlook - profitmailrr - etc? Next, I suppose there is a site that can warm up this email server to realize the content being sent isn't going to people spam box - after sending like 25 per day and increasing it... is there a tool to verify this or not? Thanks! :)
@TonyTeachesTech
3 жыл бұрын
I don't have first hand experience linking this setup to an external mail client, but I would think it's possible. As far as ensuring it doesn't go to spam, I don't know how to do that.
@marketingadventures7176
3 жыл бұрын
@@TonyTeachesTech okay, because from another source they sort of cover all of that, was asking to determine this issue, because when sending emails it's vital I am learning to warm up the smtp server to be recognized so that it doesn't automatically send incoming messages/mail to the spam folder and to easily drop it into the inbox. Otherwise, it thinks the emails are spam. It's prudent. Thanks for answering that question.
Tony, You are the most valuable person on the whole youtube. I found this information so helpful. I do have few questions though. What's the sending limit of this email server? can we connect these emails with any third party app like outlook or gmail? How we can do bulk sending with any 3rd party software? Can we connect a dedicated IP address with this email server? If yes than how. I would be very grateful if you can answer these questions.
@TonyTeachesTech
2 жыл бұрын
Please see this video for connecting to an email client kzread.info/dash/bejne/g4F2tsmwZMupg7A.html There is no sending limit. I don't know about your other questions
Hey Tony Thanks for the Video , kindly make a video on how to install Zimbra mail server on DigitalOcean Or Linode
@TonyTeachesTech
3 жыл бұрын
This is something I can look into. Just curios. Why do you prefer Zimbra over CyberPanel?
the video is great, but what do you think about Old Bay seasoning?
Thanks Tony. This is brilliant. Would someone need to have spam and viruses protection for the mail server after it has been properly setup? Which spam and viruses protection would you recommend for your setup? Do you have a tutorial on spam and viruses protection for Linux mail server? Thanks in advance. Oh yeah, subbed and shared.
@TonyTeachesTech
2 жыл бұрын
Sorry, I don't have any guidance on this past the basic email setup
Thanks for the great lesson. If I understand this correctly, if you want to run a server on premise, and your ISP blocks port 25, then through the VPS there is a way to open Port 25? How does that work?
Hello Tony, First let me thank you for great video & effort. Second, I have a question; at the minute 4:35, why you set ns1 & ns2 to IP address of the VPS & did not provide the nameserver names & IPs as provided by VPS hosting provider?
@TonyTeachesTech
2 жыл бұрын
This is because we want to have CyberPanel control everything DNS-related, so by pointing the nameservers to the IP of the VPS, we can accomplish that
very nice tutorial! one question: how can I have cyberpanel tls secured? As in this tutorial, we have a dns server itself, we have to configure our dns to map to the server itself right? i'm bit confused lol
how to set reverse dns i am using ubuntu 22.04 lts on actual server not vps how to configure it with this setup
Hi, wow what a fantastic video and easy to follow but I have an issue as I send email and never arrive at send destination but do receive email inbox
@TonyTeachesTech
2 жыл бұрын
Please submit a ticket to Linode support asking to unblock email ports (see Note #2 tonyteaches.tech/self-hosted-email-with-cyberpanel/)
Great Tutorial!!! QUESTION: is the public ip address automatically static (in Linode) or do you have have to change it to static. I'm asking because on some other cloud platforms if you just use the ip address given to you the next time you restart the server you get a new ip address. Thank you again!!
@TonyTeachesTech
3 жыл бұрын
The public IP address is static in Linode by default
Damn this video is a year old. Still a brilliant video
@TonyTeachesTech
2 жыл бұрын
Appreciate that
You are genuice bro
@TonyTeachesTech
3 жыл бұрын
🙏
Thank you for the tutorial, very good quality! I am new on this and I have a question. How we know and monitor the sending limits (hourly, per minute etc.) of this $10 machine you bought. Is there somewhere a tutorial explaining this? Thanks and keep up!
@TonyTeachesTech
3 жыл бұрын
There is no sending limit
@serveryogi
2 жыл бұрын
There is no limit defined. You can manually configure limits in postfix config. You can monitor the statistics through a command line tool.
Thanks for this video. I noticed you used the same IP address for both name servers. For .CA domains, CIRA won't allow that. The name servers need to be pointing at unique IP address! Any thoughts on a work around?
I would like to see how you would connect your Windows Outlook mail client to this mailbox using IMAP configuration with ssl/tls or starttls for both incoming and outgoing mail server? I have been using Webmin/Virtualmin GPL version (free version) for several years now. But I always have issues with connecting Outlook client to it. I often have to set up no SSL on the incoming mail. Very annoying. No problem with Thunderbird for example and of course no issue with the webmail application (Roundcube). I thought maybe this would be interesting for me to find out. The "Cyberpanel" seems a bit simpler to use than Virtualmin, where it is necessary to configure a server template that is used as default with all default parameters for each server to be created. It takes a long time to prepare it unlike your demonstration that was very quick. Once set up, it is quick to create a new server as well. Thanks for the nice video. There is always something new coming up...
Очень хороший хостинг для аренды VPS/VDS под сайты и почту WELLWEBNET! Поддержка на высоте, скорость работы VPS сервера максимальна, маленький пинг, возможность выбора одного из 5-ти ДЦ мира. Панельку ISP ставят сами и делают перенос. SSL сертификаты бесплатные настраивают и при продлении потом не отваливается как у других; Почту настраивает так что она наконец то попадает во входящие!!! Я в восторге!
@TonyTeachesTech
2 жыл бұрын
What?