I'm searching for any "detailed" explanations of each setting in tech tutorial videos. I like doing all of the steps manually because it helps to learn more about each step. It was so nice to learn such details before automation existed everywhere. Thanks for sharing.
Outstandingly presented! Your videos are very well done, without a lot of the nonsense others seem to thing they have to have, like background ( I wish) "music". or droning on and on about a lot of things unrelated to the topic. I'm continually impressed by the way you present. Thanks!
Great video, but I definitely have a couple questions you might could quickly answer. 1) It appears you can only do a single domain (and it's aliases)? No separate domains and setups on the same server? and 2) While that DNS looks simple to use, if your webserver is elsewhere, you basically have to have your MAIL server also being your DNS server? Do you HAVE to do the nameserver switch? Great video. VERY much love the straight, forward, step by step, simple, videos. So many skip SO much, you've made it SO awesome. Glad I found your channel.
Now we need Nextcloud, databases, security tools, management tools, CRM, Remote Desktop, remote management, VPN, Guacamole or similar, authentication......
Many more videos to come. I'm trying to do them in an order that makes building up your business as smooth as possible. I'm sure I'll do some in a bad order at some point, but that's the nice thing about playlists...just re-order them there. Thanks for watching!
@@80robina neither look comparable in any sense.. what are they a big software suite that also has remote desktop packed in? rustdesk is just remote desktop to help family and is dead easy to use
No, you really just need to set it up with a domain for it to work properly. it's important to have a static IP, and be on a VPS host that allows the necessary ports for mail. Many of the VPS providers block these ports until you've been with them for a while, then you can request to have the ports allowed on your account. This is to cut down on spammers getting their IPs added to block lists.
Excellent!! really helpful, I'm going to try it on OCI, ¿Is it possible to add more nextcloud functionality like photos, office, etc to this server? Or need to deploy another server for full nextcloud..
You can add full nextcloud functionality, but it's going to involve a bit of changing stuff in the config files as I recall. Almost wasn't worth it after I finally got it done. Maybe it's easier now though.
Hi, thanks for the video I have few questions, basically I want to host my application using cloud panel and also want to use my machine for all domain based email. - Can I host mail in box with cloud pannel (both will run on same machine)? - Can I use mail in box for multiple domain based email?
Let me answer the last question first. Yes, you can setup Mail-in-a-box for multiple domains. I do that now in fact. I don't know about Cloud Panel, so can't really answer that question.
Hello bro. I already own a domain from Godaddy. So how to amend the nameserver for the same domain as it already exists. I do want to develop a mail server to the same. Looking for your guidance. And too i already own only one email with zoho.
If you're using mail in a box, you want to create a subdomain for the mail server, so something like "mail.yourdomain.com" and point that with an A record to your mail-in-a-box server IP. Or if following their strict instructions use mail in a box for your DNS, and tell GoDaddy to use it for DNS as well.
Oh so many settings and for every domain, so if I have my domains DNS on cloudflare how I will manage only emails on Mailinbox separate server from domain or website. Is that possible because nameserver website pointed out to Cloudflare and we cant set then as status checking option not just point out email's DNS but domain's DNS etc. Is that possible to have mailinbox in this scenario?
I believe you can opt to use Cloudflare for the domain control, but the setup is a bit different for the Mail-in-a-box server setup. You'll definitely want to go through their documentation to know better how to set it up that way though.
Hello Brian @AwesomeOpenSource I am curious why you did the step at the beginning to create a non-root user? I had done an install of this already and I had not done that. What is the benefit or necessity of doing that?
Generally root is the user that has all the power on your system. Should any attack vector arise through software like this that would give a user access to your systems, then getting in as root would give them full control of that system. So, it's always better to create a non-root user (limited control) which has sudo privileges, then at least if someone did get in, their ability to completely bork the system may be limited.
How do you do this on your own server? so NOT a virtual server, but a physical server. Preferably with GUI? And how do you add domains for the services?
You need a static public IPv4 address, then you need to forward the appropriate ports through your firewall to the server so traffic can flow properly. Once you've done that setup the first domain as detailed in the video, or in their instructions, and once it's up and running and things are working properl, you repeat for any other domains. I host 2 domains on my server as it is now.
do you need a vps. my server lives in a commercial office building so the ip is a business account, i want to setup mail 100% local so do i realy need a vps?
@@ЮраПивненко-и8м Yeah, might be a Option as well, but if you write that on your Website: "Mailu is working, it has been powering hundreds of e-mail accounts since around January 2016, and has delivered over a million emails. It is still not massively tested however and you should not run any critical mail server until you have properly tested every feature." - I'm not willing to...
Fantastic. But I do have a couple questions. 1. Connecting an email to Outlook, when you check email, does it pop up the ‘The server you are connected to is using a security certificate that cannot be verified’ error? 2. What about using Proxmox and a virtual server? 3. How about Docker? 4. What if you are running a website? Changing the NS records would lock out the actual website right? 5. Let's Encrypt. Does it auto-generate a new certificate as the old one expires? 6. For Users, can you assign disk space?
All excellent questions. 1. on Outlook not sure, but you should definitely use the Provision functions I show near the end of the video to get valid SSL / TLS certificates. 2. You can run this in a virtual machine, as long as you have a Public IP that doesn't change. You could, in theory, use a proxy with a public IP, but you need to proxy all of the ports for mail. 3. Docker is not setup for Mail In a Box that I'm aware of yet. Would be an interesting undertaking I'm sure. 4. You setup your Mail in a box as your DNSserver, so you then use the "Custom DNS" page in your Mail ina box admin interface to setup your A, CNAME, and other DNS records... so some copying from one host to another essentially when you first set this up. 5. Yes, they use the LetsEncrypt bot which will ask for new certs at 60 or 75 days on a 90 day certificate. So you shouldn't have any issues. IN 4 1/2 years, i've only had to use the provision button one time tog get certificates to update manually. The rest of the time, they just update. It sends an email when they get close to expiring, but still just updates on it's own. 6. For Users, as far as I know, there is no way to set a space usage limit for their email account through the UI. You could, in theory use the terminal as Mail-in-a-box just sets up POSTFIX, DOVECOT, etc for you.
Awesome tutorial! I am curious if it's possible to connect the nextcloud Contacts and Calendar to a full Nextcloud installation or is there a way to reactivate it? Or does it just cause heaps of issues?
I turned mine into a full install, and it was tedious at best. it works fine, but it definitely wasn't worth the hassle IMO. I just run a separate full nextcloud now, and it's much better for me.
Great video!! I am wondering if there is any chance you can update this utilizing Cloudflare tunnels?? I have a powerful homelab and would rather utilize that in a Proxmox 22.04 LXC instead of paying a monthly recurring charge. Please let me know! Thanks. BTW they have updated to now allow 22.04.
@@AwesomeOpenSource It would be great if you could!! A lot of people are going to cf tunnels to bypass CGNAT and if we can integrate that into some of your open source videos it wil surely help tons of people!! I currently have to pay digital ocean for a Netcloud AIO droplet and I would much rather host it in my homelab. Same with many other things. Thank you.
Technically yes, but you're likely to get marked as spam very quickly, and you'll have set it all up for nothing. There are specific trusted services for email campaigns.
Ummmm, I'm not sure. I know you want to have a static IP, so maybe that tunnel will give you one, but you need to have a proxy inplace that can deal with all the ports needed for mail.
@@AwesomeOpenSource Yes true. I think it will be better to find a low $5 or so just to send email or use email API. However, tunnelling allows for port forwarding?
With only supporting an older ubuntu distro (think support runs out this year) I'd rather settle for something that is a bit more future proof.. Nice video though. Using mailcow myself as it just has a far better control panel and seems to work very well on current distro releases... But people seem to definitely like mail-in-a-box as well...
I understand that, but I'm guessing, based on their distro support thus far, that they'll support 22.04 eventually. They skipped 16, but had 14 and 18.
I haven't heard of sendinblue. SMTP relays aren't bad in general, so it's probabaly fine. The idea behind MIAB is to take control of your email from start to finish.
I don't know if a Mail-in-the-box docker container exists, but I think that maybe Mailcow has a container option. NGinX Proxy Manager would give you access to the web ui for any of these, but I don't believe it would handle the smtp, imap, pop3, or any mail traffic itself. For that you'd need to port forward and route properly. You also, definitely want to have a static public IP address if you are running a mail server.
Nothing. They have not released a version of Mail-in-a-box for 22.04 yet. For now, it's 18.04. They will likely push an update before the end of 2023, which is when 18.04 will no longer be supported. I tried to adjust the script to "trick" it, but there seem to be checks in multiple scripts, so didn't take the time. What I want to do next is set it up on 18.04, then update the release via the do-release-upgrade and see if it continues to work without issue.
You are correct. I think that Mail-in-a-box being the name server for the domain helps with that a bit, but different VPS providers handle reverse DNS differently. Digital Ocean just kind of does it for you. But others, may have a process to get Reverse DNS setup properly.
Sadly this is what I've found with most VPS hosts these days. As I said, there are some that may provide access over time, but not to a brand new account.
I got scared when you told me to delete my other name servers. Is this an e-mail server installation guide at expert level, or should I just delete my in production, ... too late... Thanks
I'm at 13:40 now. Setting up mail-in-a-box. Love the way you are telling me to grab the latest command from their site while having forgotten the c in curl yourself. I'm having a blast. Thanks again. Very clear explanation.
I'm sorry it's making you nervous. I'm human, and prone to making mistakes. The good news is you see me making mistakes, and still I come out with a functioning mail server. The bad news is, you do have to go on a bit of faith.
HI, I follow the process of your video. The setup still failed. Always prompt DNS error. Could you be a little more specific. Or, set up DNS with a more common, user-friendly mailbox (NameSilo). I'm a rookie, but I also want to try to have my own mailbox. Thank you so much.
Another consideration is moving an existing domains data. A service like bittitans migrationwiz is handy, I’ve used it and it’s a good value especially for all the time it saves.
Do you mean setting up email servers inside your home network, and how you'd have to configure it to get around the ISP? I'm just not sure what you are asking for, but interested to know.
@@AwesomeOpenSource In fact, maybe I wrote not very precisely. It was not so much a request as a proposal to get acquainted with interesting opensource software as good as it concerns mail services. I meant a complete software platform for managing multiple services (DNS, WWW, FTP, Webdav, MySQL, Let's Encrypt etc.) of course including the mail server with its complete application support for its operation. Of course, ISP Config is a platform used strictly for hosting services (in a wide range), but due to open availability and "e-mail is also a hosting service" it would be an interesting addition to the home network. Maybe home hosting for some episode of this channel? BTW, I really appreciate your work on this channel - I got to know a lot of interesting software here.
I'll check them out. Seems like I looked into them a while back, but had a hard time getting it up and running for some reason. Always worth another look though.
@@AwesomeOpenSource zimbra enterprise ready opensource solutions for mail server, if you wanna build for company then.i think zimbra best choice for that.
Probably, yes, but definitely check the IP to make sure it's not black listed. Use the tool site I show in the video, or in the description. to check it. Getting un-blacklisted, is a real task, and it's just easier to use a VPS with an IP not on the blacklist yet.
I would highly recommend checking out MailCow and give it a trial run. After looking at all the options I chose to use MailCow for my email server and have been extremely happy with it!
The reason for having ns1 and ns2 is that DNS is so important that you you need at least 2 different servers, and, preferably more. This is a disservice to use the same IP for 2 dns servers. In this case just have a single ns1 and explain the danger of doing so.
The reason for 2 is that some Domain name providers require 2. The point is not having a backup NS server. You are basically dedicating your domain name to this mail-in-a-box install. If that server goes down, the NS goes down with it. Period. The end. What you are suggesting is to replicate that on an additional machine. That is possible probably with another install of nginx if you have an additional static IP.
Yeah, I think they stopped allowing email, and all of their IPs are blacklisted at this point. I setup my main mail server 4 or 5 years back now, before this was an issue, so it works on them, but the new one, I'd say check Linode, Vultr, or one of those.
mailcow is far better and easier, you legit just run the script. That is something small businesses can get into. Mail in a box has a lot more issues, smaller community, and harder to setup.. that's something a small business won't want to get into.
Why in an age of docker containers is there such a long complicated setup for something called mail "in-a-box" ...where the hell is the box? I can plop down a docker container that has an entire fully functional clone of youtube or facebook, yet a simple mail server needs special setup that takes over an hour? Come on someone make this a docker container with a few env variables and save everyone a lot of time. The ONLY thing anyone should have to worry about is tossing in some DNS settings on their domain.
There are some options for self hosted email that run in docker containers. Not sure why this hasn't been containerized yet. I think even with the docker setups. the configuration will be similar, but in this case it's just a set of scripts that really do what you need to get email all setup.
I'm searching for any "detailed" explanations of each setting in tech tutorial videos. I like doing all of the steps manually because it helps to learn more about each step. It was so nice to learn such details before automation existed everywhere. Thanks for sharing.
My pleasure
LOVE this series that you're doing; keep up the amazing work!
Glad you enjoy it! Will do.
i googled to find some advice on reddit, instead found a gold channel. Earned a sub ☝
Glad you found it helpful! and Thank you!
Outstandingly presented! Your videos are very well done, without a lot of the nonsense others seem to thing they have to have, like background ( I wish) "music". or droning on and on about a lot of things unrelated to the topic. I'm continually impressed by the way you present. Thanks!
My pleasure, and thank you.
This is sooooo awesome!!! Thank you for uploading this!
Glad you enjoyed it!
@@AwesomeOpenSource Me too! LOL! Glad to be a subscriber. Your content is top notch!
Amaizing. Thanks for your generocity which make the generocity of the developers have a lot of impact. KEEPON
My pleasure.
Extremely helpful! I've been wanting to find something just like this. Thank you so much!
You're very welcome!
I have been waiting for this for so long! Yesssssssss
Hope it's helpful!
Looks fantastic, I would highly recommend giving Hestia a look as an alternative that also does web hosting in addition to everything here.
Very good to know.
Awesome content, great video. Very informative. Keep it up!
Thanks, will do!
Great video. Thank you!
My pleasure.
This was so helpful!! Thank you
You're so welcome!
A good one also for a small to medium size business is a CRM system. SuiteCRM is a must in my opinion.
I'll have to take a look.
Great video, but I definitely have a couple questions you might could quickly answer. 1) It appears you can only do a single domain (and it's aliases)? No separate domains and setups on the same server? and 2) While that DNS looks simple to use, if your webserver is elsewhere, you basically have to have your MAIL server also being your DNS server? Do you HAVE to do the nameserver switch? Great video. VERY much love the straight, forward, step by step, simple, videos. So many skip SO much, you've made it SO awesome. Glad I found your channel.
You can 100% do multiple domains and their aliases. I host multiple omains on my setup today.
Very nice video, TNX.
You're welcome.
Frrrrr tNice tutorials man just straight forward !
thanks
it very well! Good Job!
Thank you! Cheers!
Thank you dude. it works
Excellent! and You're welcome.
Good work...
Thank you
Hi Brian, you have a good style. I run the fork Power-MiaB, and it supports Debian Bullseye and Ubuntu 22.04. This is the way to manage a mail server.
Great to know, and thanks for the tip!
I like the webcam appearence
:-)
Now we need Nextcloud, databases, security tools, management tools, CRM, Remote Desktop, remote management, VPN, Guacamole or similar, authentication......
Many more videos to come. I'm trying to do them in an order that makes building up your business as smooth as possible. I'm sure I'll do some in a bad order at some point, but that's the nice thing about playlists...just re-order them there. Thanks for watching!
X2Go aswell
He has covered rustdesk which is better than everything else for remote desktop, no real reason to cover anything else in that genre.
@@gg-gn3re you think better than mesh central or remotely
@@80robina neither look comparable in any sense.. what are they a big software suite that also has remote desktop packed in? rustdesk is just remote desktop to help family and is dead easy to use
I set up dovecot (IMAP) postfix (SMTP) and roundcube (front end) it was awesome
That is awesome!
Great video! definitly will test it!! any test on local host for this project?
No, you really just need to set it up with a domain for it to work properly. it's important to have a static IP, and be on a VPS host that allows the necessary ports for mail. Many of the VPS providers block these ports until you've been with them for a while, then you can request to have the ports allowed on your account. This is to cut down on spammers getting their IPs added to block lists.
Great video! I hope the do update it to support 22.04.1. Very cool project
I hope so too!
Excellent!! really helpful, I'm going to try it on OCI, ¿Is it possible to add more nextcloud functionality like photos, office, etc to this server? Or need to deploy another server for full nextcloud..
You can add full nextcloud functionality, but it's going to involve a bit of changing stuff in the config files as I recall. Almost wasn't worth it after I finally got it done. Maybe it's easier now though.
Sendmail FTW !
If it works for you, then that is great.
Hi, thanks for the video I have few questions, basically I want to host my application using cloud panel and also want to use my machine for all domain based email.
- Can I host mail in box with cloud pannel (both will run on same machine)?
- Can I use mail in box for multiple domain based email?
Let me answer the last question first. Yes, you can setup Mail-in-a-box for multiple domains. I do that now in fact. I don't know about Cloud Panel, so can't really answer that question.
@@AwesomeOpenSource thanks
Could you do a follow on video using the Mailcow solution? Also, hackers love to Target mail servers, could you talk about that as well.
I'll look into it for the future for sure.
following along, looks like they recommend 22.04 now! seems like everything else stays the same!
They have indeed updated it, so it's really nice to see that forward motion happening.
Hello bro. I already own a domain from Godaddy. So how to amend the nameserver for the same domain as it already exists. I do want to develop a mail server to the same. Looking for your guidance. And too i already own only one email with zoho.
If you're using mail in a box, you want to create a subdomain for the mail server, so something like "mail.yourdomain.com" and point that with an A record to your mail-in-a-box server IP. Or if following their strict instructions use mail in a box for your DNS, and tell GoDaddy to use it for DNS as well.
@AwesomeOpenSource so okay. Can I completely go with mail in a box and left zoho. I don't want emails for sub domains at the moment.
Oh so many settings and for every domain, so if I have my domains DNS on cloudflare how I will manage only emails on Mailinbox separate server from domain or website. Is that possible because nameserver website pointed out to Cloudflare and we cant set then as status checking option not just point out email's DNS but domain's DNS etc. Is that possible to have mailinbox in this scenario?
I believe you can opt to use Cloudflare for the domain control, but the setup is a bit different for the Mail-in-a-box server setup. You'll definitely want to go through their documentation to know better how to set it up that way though.
Can u add any recommended block IP checkers to the description
Hello Brian @AwesomeOpenSource
I am curious why you did the step at the beginning to create a non-root user?
I had done an install of this already and I had not done that.
What is the benefit or necessity of doing that?
Generally root is the user that has all the power on your system. Should any attack vector arise through software like this that would give a user access to your systems, then getting in as root would give them full control of that system. So, it's always better to create a non-root user (limited control) which has sudo privileges, then at least if someone did get in, their ability to completely bork the system may be limited.
@@AwesomeOpenSource
Thanks for the education. 🙂
I'm learning good stuff on your channels.
How do you do this on your own server? so NOT a virtual server, but a physical server. Preferably with GUI? And how do you add domains for the services?
You need a static public IPv4 address, then you need to forward the appropriate ports through your firewall to the server so traffic can flow properly. Once you've done that setup the first domain as detailed in the video, or in their instructions, and once it's up and running and things are working properl, you repeat for any other domains. I host 2 domains on my server as it is now.
Is there a method to add multiple mail users simultaneously?
Not that I'm aware of.
I see you are a man of culture as well
I'll take your word for it.
Nice, altrough many hosting providers don't let you set the DNS SEC.
Is you just want the mailpart to be redirected, what should you change then?
You are correct. You definitely want to get a provider that allows you to set DNSSec.
do you need a vps. my server lives in a commercial office building so the ip is a business account, i want to setup mail 100% local so do i realy need a vps?
If you have a static public P, and your ISP doesnt' block any of the needed ports, you should be fine.
Hi, can microsoft exchange mailbox migrate into Mail-in-a-box? How to? thank you.
I don't know about that one. Better question for the mail-in-a-box team than me.
Hi guys! Have you tried Mailcow lately? It's docker based, so no OS requirements left...
I haven't ever tried Mailcow. It sounds pretty cool though to run it in Docker.
@@AwesomeOpenSource it's also a nice suite, good looking web gui and stuff
Or mailu
@@ЮраПивненко-и8м Yeah, might be a Option as well, but if you write that on your Website: "Mailu is working, it has been powering hundreds of e-mail accounts since around January 2016, and has delivered over a million emails. It is still not massively tested however and you should not run any critical mail server until you have properly tested every feature." - I'm not willing to...
Mail in a Box has released the support for 22.04!! while this is great news. I have been unable to bring up the MiaB servers successfully so far.
Sorry you're having trouble, but definitely reach out to them, I'm sure they will try to help.
Fantastic. But I do have a couple questions.
1. Connecting an email to Outlook, when you check email, does it pop up the ‘The server you are connected to is using a security certificate that cannot be verified’ error?
2. What about using Proxmox and a virtual server?
3. How about Docker?
4. What if you are running a website? Changing the NS records would lock out the actual website right?
5. Let's Encrypt. Does it auto-generate a new certificate as the old one expires?
6. For Users, can you assign disk space?
All excellent questions.
1. on Outlook not sure, but you should definitely use the Provision functions I show near the end of the video to get valid SSL / TLS certificates.
2. You can run this in a virtual machine, as long as you have a Public IP that doesn't change. You could, in theory, use a proxy with a public IP, but you need to proxy all of the ports for mail.
3. Docker is not setup for Mail In a Box that I'm aware of yet. Would be an interesting undertaking I'm sure.
4. You setup your Mail in a box as your DNSserver, so you then use the "Custom DNS" page in your Mail ina box admin interface to setup your A, CNAME, and other DNS records... so some copying from one host to another essentially when you first set this up.
5. Yes, they use the LetsEncrypt bot which will ask for new certs at 60 or 75 days on a 90 day certificate. So you shouldn't have any issues. IN 4 1/2 years, i've only had to use the provision button one time tog get certificates to update manually. The rest of the time, they just update. It sends an email when they get close to expiring, but still just updates on it's own.
6. For Users, as far as I know, there is no way to set a space usage limit for their email account through the UI. You could, in theory use the terminal as Mail-in-a-box just sets up POSTFIX, DOVECOT, etc for you.
So many questions and all the answers are given below. When can we expect your experience written down below?
Awesome tutorial! I am curious if it's possible to connect the nextcloud Contacts and Calendar to a full Nextcloud installation or is there a way to reactivate it? Or does it just cause heaps of issues?
I turned mine into a full install, and it was tedious at best. it works fine, but it definitely wasn't worth the hassle IMO. I just run a separate full nextcloud now, and it's much better for me.
@@AwesomeOpenSource so the separate full Nextcloud installation you did was selfhosted? Might I ask if you used manual install or Nextcloud AIO or VM?
Great video!! I am wondering if there is any chance you can update this utilizing Cloudflare tunnels?? I have a powerful homelab and would rather utilize that in a Proxmox 22.04 LXC instead of paying a monthly recurring charge. Please let me know! Thanks. BTW they have updated to now allow 22.04.
Let me see what I can do. Not super familiar with cloudflare tunnels.
@@AwesomeOpenSource It would be great if you could!! A lot of people are going to cf tunnels to bypass CGNAT and if we can integrate that into some of your open source videos it wil surely help tons of people!! I currently have to pay digital ocean for a Netcloud AIO droplet and I would much rather host it in my homelab. Same with many other things. Thank you.
is this setup for one domain? can add my other domains and create different emails?
You can add your other domains, and use it for email. I use mine for 2 domains right now.
how do you protect your mailserver against spam. can you advise someting like barracuda, but open source?
Do you mean how do I protect it against just getting aton of incoming spam to the emails?
I am sending email campaigns to a lot of emails. Can i use this application to send emails?
Technically yes, but you're likely to get marked as spam very quickly, and you'll have set it all up for nothing. There are specific trusted services for email campaigns.
Is it possible to self-host mailing list using agro tunnel?
Ummmm, I'm not sure. I know you want to have a static IP, so maybe that tunnel will give you one, but you need to have a proxy inplace that can deal with all the ports needed for mail.
@@AwesomeOpenSource Yes true. I think it will be better to find a low $5 or so just to send email or use email API. However, tunnelling allows for port forwarding?
Is this mail server have LDAP authentication method?
I don't believe it does out of the box, no.
With only supporting an older ubuntu distro (think support runs out this year) I'd rather settle for something that is a bit more future proof.. Nice video though. Using mailcow myself as it just has a far better control panel and seems to work very well on current distro releases... But people seem to definitely like mail-in-a-box as well...
I understand that, but I'm guessing, based on their distro support thus far, that they'll support 22.04 eventually. They skipped 16, but had 14 and 18.
yep mailcow has always been better than mail in a box, not sure why people even bother with it
hi i just use cyberpanel and sendinblue smtp relay, is it bad ?
I haven't heard of sendinblue. SMTP relays aren't bad in general, so it's probabaly fine. The idea behind MIAB is to take control of your email from start to finish.
Hi Brian, Is it possible to have mail server on docker container with nginx ?
I don't know if a Mail-in-the-box docker container exists, but I think that maybe Mailcow has a container option. NGinX Proxy Manager would give you access to the web ui for any of these, but I don't believe it would handle the smtp, imap, pop3, or any mail traffic itself. For that you'd need to port forward and route properly. You also, definitely want to have a static public IP address if you are running a mail server.
@@AwesomeOpenSource amazing as usual ربنا يوفقك للخير
I get an error. Mailinabox cannot installed on 22.04. Only 14.04 to 18.04. What i do wrong?
Nothing. They have not released a version of Mail-in-a-box for 22.04 yet. For now, it's 18.04. They will likely push an update before the end of 2023, which is when 18.04 will no longer be supported. I tried to adjust the script to "trick" it, but there seem to be checks in multiple scripts, so didn't take the time. What I want to do next is set it up on 18.04, then update the release via the do-release-upgrade and see if it continues to work without issue.
@@AwesomeOpenSource but when you do upgrade and update on Ubuntu you get the newest version 22.04...mmmh
You will need a reverse DNS configured for most mail servers to accept relaying from your setup.
You are correct. I think that Mail-in-a-box being the name server for the domain helps with that a bit, but different VPS providers handle reverse DNS differently. Digital Ocean just kind of does it for you. But others, may have a process to get Reverse DNS setup properly.
This is great but digital ocean will not allow outbound 25 on any new accounts. ugh.
Sadly this is what I've found with most VPS hosts these days. As I said, there are some that may provide access over time, but not to a brand new account.
how to integrate with Thunderbird?
Once you're setup, just go to the web amin page, and click through the menu. they give you the settings for email clients in there.
@@AwesomeOpenSource okay
i have setup SSh listen only on my ipv6 ip and the web show SSH Login (ssh) is not running (port 22) :D
Interesting. If you setup SSH keys instead of password auth, it also gets rid of that warning.
I got scared when you told me to delete my other name servers. Is this an e-mail server installation guide at expert level, or should I just delete my in production, ...
too late... Thanks
I'm at 13:40 now. Setting up mail-in-a-box. Love the way you are telling me to grab the latest command from their site while having forgotten the c in curl yourself. I'm having a blast. Thanks again. Very clear explanation.
I'm sorry it's making you nervous. I'm human, and prone to making mistakes. The good news is you see me making mistakes, and still I come out with a functioning mail server. The bad news is, you do have to go on a bit of faith.
@@AwesomeOpenSource Lol, I was only joking, as a matter of fact, it works perfectly.... and subscribed. Tnx.
HI, I follow the process of your video. The setup still failed. Always prompt DNS error. Could you be a little more specific. Or, set up DNS with a more common, user-friendly mailbox (NameSilo). I'm a rookie, but I also want to try to have my own mailbox.
Thank you so much.
Another consideration is moving an existing domains data. A service like bittitans migrationwiz is handy, I’ve used it and it’s a good value especially for all the time it saves.
Good to know, thanks for sharing.
What if i already have a Nextcloud instance?
This really used NextCloud for the calendar and Contacts, it's optional to use it for anything more than that.
@@AwesomeOpenSource Still, it would be more logical to integrate it to an existing one, if that is possible.
I think that ISP Config would be more interesting (in terms of functionality)
Do you mean setting up email servers inside your home network, and how you'd have to configure it to get around the ISP? I'm just not sure what you are asking for, but interested to know.
@@AwesomeOpenSource In fact, maybe I wrote not very precisely. It was not so much a request as a proposal to get acquainted with interesting opensource software as good as it concerns mail services. I meant a complete software platform for managing multiple services (DNS, WWW, FTP, Webdav, MySQL, Let's Encrypt etc.) of course including the mail server with its complete application support for its operation. Of course, ISP Config is a platform used strictly for hosting services (in a wide range), but due to open availability and "e-mail is also a hosting service" it would be an interesting addition to the home network. Maybe home hosting for some episode of this channel? BTW, I really appreciate your work on this channel - I got to know a lot of interesting software here.
Why not using zimbra....? They have all ine one sulutions and opensource also
I'll check them out. Seems like I looked into them a while back, but had a hard time getting it up and running for some reason. Always worth another look though.
@@AwesomeOpenSource zimbra enterprise ready opensource solutions for mail server, if you wanna build for company then.i think zimbra best choice for that.
I use Zimbra opensource edition since 2008. I believe the opensource support will cease in 2023.
@@repairman2be250 means no more update for opensource edition? Are you sure for that?
@@davehafid3979 search: zimbra open source end of life - set to be Dec 31 2023
mailinabox is lovely. Using ubuntu is a problem
I’ve never had an issue with Ubuntu, but you could take the mail in a box repo, and mod the scripts to run on other OSes I suppose.
Can I use ssdnodes for this??
Probably, yes, but definitely check the IP to make sure it's not black listed. Use the tool site I show in the video, or in the description. to check it. Getting un-blacklisted, is a real task, and it's just easier to use a VPS with an IP not on the blacklist yet.
I would highly recommend checking out MailCow and give it a trial run. After looking at all the options I chose to use MailCow for my email server and have been extremely happy with it!
I second that!
Several folks have mentioned it, and it sounds like a great option.
Unfortunately it requires the use of docker. As I’m running proxmox infrastructure I’m not a fan of nesting docker inside of LXC containers.
Brian I would like to buy the it pros domain name
Mike as the first 1 to ask, when the series is done (a while from now), it's yours. We'll work out how to transfer it to you.
@@AwesomeOpenSource Awesome! Thank you.
I've sent you an email for when the series is over. Can't wait for the next vid!
Mail cow would of been better alternative to mail in a box
I'll look into mailcow for a future video.
I thought digitalocean was blocking all emails now?
I still have a server running on DO, and it works, but I did end up eventually moving this one to Vultr, as it didn't have any IPs on the blacklist.
@@AwesomeOpenSource cool! Awesome videos, by the way! I thoroughly appreciate the work you put into these to show us how to set each solution up.
The reason for having ns1 and ns2 is that DNS is so important that you you need at least 2 different servers, and, preferably more. This is a disservice to use the same IP for 2 dns servers. In this case just have a single ns1 and explain the danger of doing so.
The reason for 2 is that some Domain name providers require 2. The point is not having a backup NS server. You are basically dedicating your domain name to this mail-in-a-box install. If that server goes down, the NS goes down with it. Period. The end. What you are suggesting is to replicate that on an additional machine. That is possible probably with another install of nginx if you have an additional static IP.
Digital Ocean Don't have port 25 open
Yeah, I think they stopped allowing email, and all of their IPs are blacklisted at this point. I setup my main mail server 4 or 5 years back now, before this was an issue, so it works on them, but the new one, I'd say check Linode, Vultr, or one of those.
@@AwesomeOpenSource yes bro I have tried both of them too. They also blocked port
mailcow is far better and easier, you legit just run the script. That is something small businesses can get into. Mail in a box has a lot more issues, smaller community, and harder to setup.. that's something a small business won't want to get into.
A lot of folks have brought it up. I'll review it down the road.
explanation of tNice tutorialngs and how they work 11/10 video
Glad you think so!
Why in an age of docker containers is there such a long complicated setup for something called mail "in-a-box" ...where the hell is the box? I can plop down a docker container that has an entire fully functional clone of youtube or facebook, yet a simple mail server needs special setup that takes over an hour? Come on someone make this a docker container with a few env variables and save everyone a lot of time. The ONLY thing anyone should have to worry about is tossing in some DNS settings on their domain.
There are some options for self hosted email that run in docker containers. Not sure why this hasn't been containerized yet. I think even with the docker setups. the configuration will be similar, but in this case it's just a set of scripts that really do what you need to get email all setup.