How to Run an Email Server with Mail-in-a-Box (on a VPS)

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии •

  • @yiannisserpico2646
    @yiannisserpico2646 3 года назад +3

    You are a great teacher, Tony. Thanks for all videos.

  • @mariocaterp343
    @mariocaterp343 2 года назад

    I think I did not leave a comment on youtube for years, but I have to say a big thank you. You are great!

  • @adrianelvis9931
    @adrianelvis9931 9 месяцев назад +2

    Great video. Anything to be aware of now in 2024?

  • @spreadthegarden
    @spreadthegarden Год назад +2

    Wonderful! I now have my first ever email server that I set up myself. 🙂

    • @yourlinuxguy
      @yourlinuxguy Год назад

      How did you get your ports unblocked?

    • @ABC-Demo
      @ABC-Demo 17 дней назад

      ​@@yourlinuxguy, he is probably NOT using GCP 😮

  • @MøreogromsdalNidarosdommen
    @MøreogromsdalNidarosdommen Месяц назад

    The wonderful IOT TECH CHANNEL😍

  • @joshuadanielp
    @joshuadanielp 2 года назад

    Thank you Tony, I asked you about this exact tutorial long back. You finally did it, Thanks a Lot!

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      I'm a one man show so it takes me time. Thanks for the idea!

    • @joshuadanielp
      @joshuadanielp 2 года назад

      @@TonyTeachesTech We all Love you for what you're doing. For young people like me, you are sharing something which is incredible through your yt channel. Thanks a Lot for Replying and I always look forward to your videos :)

  • @wrzq
    @wrzq 2 года назад

    Of course I found it valuable. Tony you're the Man. Thanks a lot, buddy!

  • @enderpirate9887
    @enderpirate9887 6 месяцев назад +1

    4:45 just type apt, it does the exact same thing but you don't have to type as many letters.

  • @muhammedmustaphaabdullahi1029
    @muhammedmustaphaabdullahi1029 2 года назад

    I love you tony thanks for this tutorial you made my day

  • @androidmaster9869
    @androidmaster9869 2 месяца назад

    hey ,bug . great video.

  • @khalidelgazzar
    @khalidelgazzar 6 месяцев назад

    Great video 😊 thanks Tony

  • @slavyivanov4982
    @slavyivanov4982 10 месяцев назад +1

    Reagards from Europe, Bulgaria, you do a realy good job with your tutorials. I have a question. Is this work together with web server like apache2 allready running and serve websites on same server machine? I really strugling to find a solution for that. Can you help me a bit please. Thank you!

  • @MichaelSharpTechniSmart
    @MichaelSharpTechniSmart 2 года назад +2

    Tony, I just spent the day and night with MiaB Slack forum, trying to get MiaB to run on Contabo. We tried Ubuntu 18.04, 20.04 and Debian 11 and even the Power-MiaB fork and they all had the same error. nsd.service: Failed with result 'exit-code' It seems Contabo are not using the standard Ubuntu/Debian repos/images/templates. Have you tested Contabo?

  • @javadtaghavi8277
    @javadtaghavi8277 Год назад +4

    If the port 25 is blocked. Is it possible to work with 465 or it must be only 25 to be able to set-up this server?

    • @sulmedici
      @sulmedici Месяц назад

      No port 25 must be enabled.

  • @jdhshs12
    @jdhshs12 3 года назад

    Great one Tony!! Thx 🙏🏻 for share it!!

  • @metamask0x
    @metamask0x 11 месяцев назад

    Very good tutorial tony! Thanks .Is it possible to just use static VPS's ip address / duckdns /freenom for this ?

  • @AthelstanEngland
    @AthelstanEngland Год назад

    Thanks for this. So did the MIAB install create the ns1 and ns2 nameservers on the Ubuntu server?

  • @1000left
    @1000left 3 года назад

    Terrific video!!!!! Thank you again sir!!!!

  • @mohamedmohamed-wn7yl
    @mohamedmohamed-wn7yl 3 года назад

    Thanks for wonderful video .... I want to ask what if use centos what I do in command .....

  • @youruleyourlife
    @youruleyourlife 3 года назад +2

    can you make a comparison of VPS companies and a comparison in 2nd video of Gloud Free Tier solutions ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I plan to do an overarching comparison one day

  • @alexandredavitaia7518
    @alexandredavitaia7518 6 месяцев назад

    it will be very usefull if you paste commands in description so we do not have to type again can copy paste

  • @arpro3038
    @arpro3038 2 года назад +1

    Great video, thank you. My thought is if I use another (3rd part) server then I might as well have my emails on another provider (free or paid).
    The risk is always there that someone is snooping at your information. Also if something ever happens to me my family would not be able to access my email.
    I have a local service provider that allows me to run my own email server with the ports need to host email server.
    Can you please do a video where an average person can do mail in a box self hosted Linux setup, domain by Godaddy? Thank you again.

  • @mylastore
    @mylastore 4 месяца назад

    Sending to Gmails worked, but is not sending to iCloud emails. What do you thinks it could be?

  • @sosscs
    @sosscs 8 месяцев назад

    but my domain name is already used by another VPS hosting plan, how can I use it again with the Mail-in-a-Box installed on a another VPS?

  • @goteddy6465
    @goteddy6465 2 года назад

    Hi tony, great video, just want to ask, is there any video where we can see and install mail with not fresh installation on VPS?

  • @rahul_manek
    @rahul_manek 2 года назад +1

    Hey
    Can i use external SMTP in MIAB like mailjet, sendinblue etc

  • @raihanakbar7236
    @raihanakbar7236 Год назад

    i have an email hosting on cpanel but i have problem my storage is full now, my question is can i migrate to this server with ur method? and upgrade the storage btw my storage is 200gb now. sorry if my english bad

  • @jakubtomas9154
    @jakubtomas9154 2 года назад

    Bro, I have a working mail server thanks to you. Thank you

  • @worthmind
    @worthmind 3 года назад

    Great tutorial

  • @youruleyourlife
    @youruleyourlife 3 года назад +1

    .. from all mail servers you have work with until now ... Which Email Server is Best to work with ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      For self hosted, CyberPanel is pretty darn easy to set up

  • @mytime2016
    @mytime2016 Год назад

    Hi Tony what’s the limit of this smtp method .
    How many emails can be sent ?

  • @io_inc
    @io_inc 8 месяцев назад

    Digital ocean refused to open up port 25 for me

  • @unkownsiner
    @unkownsiner 2 года назад

    Hi Tony, great video. I had a question does this support custom emails? I wanted to create custom emails by using html file format as the main content for different scenarios. If you can make a video on it that too would be greatly appreciated!

  • @augustomontoya4441
    @augustomontoya4441 11 месяцев назад

    Why we need glue records ? I don't get it

  • @ricardorivera5365
    @ricardorivera5365 3 года назад

    Great video. DKIM SPF, DMARC record are necessary?

  • @EmperorStorky
    @EmperorStorky 2 года назад +1

    Can you after this still setup a second VPS with a webserver using the same domain?

    • @sugumaranveejakumaran
      @sugumaranveejakumaran Год назад +2

      Yes, you can. You need to edit the DNS records and set your domain's A record to your second VPS.

  • @usehemmanuel5500
    @usehemmanuel5500 Год назад

    Hi Tony finding it difficult to point servers to domain

  • @geziraunited
    @geziraunited Год назад

    I setup my email with virtualmin and Conatbo vps
    round cube is opened but i can not to connect it with outlook
    please guide me to fix this problem
    Thanks , Mohamed

  • @youruleyourlife
    @youruleyourlife 3 года назад +1

    Nice video! , is any other alternatives to Mail-in-a-Box ?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +2

      CyberPanel is another option ruclips.net/video/8G93NVWkXZk/видео.html and I also have another tutorial coming next month for iRedMail

    • @RealMTBAddict
      @RealMTBAddict 2 года назад

      @@TonyTeachesTech Which is easiest to set up?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      @@RealMTBAddict Probably Mail in a Box

  • @bashardlaleh2110
    @bashardlaleh2110 3 года назад +2

    I don't understand why do mail servers need a specific port for outgoing mail why can't they just pick a random port like any client and listen for a specific port for incoming mail like any server

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      That's a good question, and I don't know the answer. My guess is with most protocols, there is a standard and that same goes for mail ports

    • @EitanbAi
      @EitanbAi 2 года назад

      This is because gmail and other isp listen only to port 25.

  • @VictorPietroM
    @VictorPietroM 2 года назад +1

    Hi Tony, really awesome video, thanks! I'm very newbie on this subject, may I ask you what is the difference of this approach from using something like Zoho? I've never used Zoho, but I've done a VPS course and the instructor didn't go into mailing because of its complexity and because it could expose security vulnerabilities, so he recommended using Zoho.

    • @jacopopace7575
      @jacopopace7575 Год назад +2

      The instructor was right, anyway Zoho bring its own contract's limits.
      With a self hosted solution like this, you are free to manage, for example, all the domains domains, subdomains, users, number of email sent etc..
      Other than that, you have much more control over the data passing through your mails (if you build a properly secure environment).

    • @VictorPietroM
      @VictorPietroM Год назад +1

      @@jacopopace7575 hey thanks a lot for the explanation!

  • @dezzlerridiculos121
    @dezzlerridiculos121 Год назад

    Hey Tony what's the sending limit for mail in a box

  • @xenstarnetwork5333
    @xenstarnetwork5333 2 года назад +1

    Can we proceed if port25 is blocked? Or it must be opened before installing mail in a box?

    • @rwahowa
      @rwahowa Год назад

      You can install, but you won't be able to send mail.

  • @iagosauer
    @iagosauer 6 месяцев назад

    Here:
    500 Internal Server Error
    Internal Server Error
    The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

  • @suvodipebala5272
    @suvodipebala5272 Год назад

    i cant type password to access control panel in there cmd got stuck or something help

  • @snamas
    @snamas 2 года назад

    Informative. wont this fit on ubuntu 20.04.

    • @SimenSooz
      @SimenSooz Год назад

      no, I just try, and get error " This script may be used only on a machine running Ubuntu 14.04, 18.04, or 22.04. "

  • @ddrci88
    @ddrci88 3 года назад

    Got question ; you didn’t add dkim and sfp record how does it land to inbox box instead spam ? Can you show how to add another domain ? Different then original domain not the subdomain

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      These are automatically configured by Mail in a box

  • @expertsmedia2250
    @expertsmedia2250 2 года назад

    Worked Now, Thanks. Maybe it was propagating or something

  • @matg795
    @matg795 2 года назад

    Ho sorry for my question but how can I setup my dns on namecheap I haven’t the glue records . Thanks for your help

    • @rwahowa
      @rwahowa Год назад

      Last year, I had to do a video for this under different circumstances. Here is the guide: ruclips.net/video/CeBCPfD_l0k/видео.html

  • @Ajaykumar-tr4hz
    @Ajaykumar-tr4hz 3 года назад

    Hi sir good morning.., this is very good to understood but these commads are not working in ubuntu 20.04 version what can i get ? updated version

  • @jesuisbenjamin
    @jesuisbenjamin 3 года назад

    When you set the timezone, is that the timezone of the server or the timezone of the user? (I'm assuming the former)

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Your users can be anywhere. You can pick your server timezone or your physical location timezone

  • @mecrayavcin
    @mecrayavcin 3 года назад

    Hi again Tony :)
    I have nginx lemp debian server and i have 2 sites in it.
    Should i install iRedMail to same server or to another one (new server)?
    Thanks

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      You should have nothing else running on the server before installing iRedMail

  • @farhanzakyme
    @farhanzakyme 2 года назад

    how to change default email
    avatar in this mail server ?

  • @mecrayavcin
    @mecrayavcin 3 года назад

    Hi Tony excellent video. I have a question.
    In manuel configuration, Protocol is IMAP.
    I have a web site in another cloud and i use WP Mail SMTP lugin for basic yandex mail system.
    If i install Mail-in-a-Box, how can i configure SMTP settings on WP Mail SMTP plugin or should i use another plugin for IMAP?
    Thanks.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      Settings for external connections are at 16:19

  • @TOBIADEGBOYE
    @TOBIADEGBOYE 3 года назад

    Please can you help us to setup a postal mail server with ssl enable on linode vps?
    Thanks.

  • @Daniel-qo9uv
    @Daniel-qo9uv 2 года назад

    Hi I host my website from home with virtualmin and Cloudflare. After tel net on port 25 I get this: «telnet: Unable to connect to remote host: Connection timed out.» That to do in this case. I also have a reverse proxy.

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Perhaps this video can help ruclips.net/video/qf7nm29svNg/видео.html

  •  2 года назад

    I need, vps CentOS 6 where can I find it?

  • @worthmind
    @worthmind 3 года назад

    Please make a tutorial about Postal SMTP Server

  • @niteshcbz
    @niteshcbz 3 года назад

    Hey Dear, i want to start tech channel on youtube. pls tell me which software you are using for screen record.

  • @arivonto
    @arivonto 3 года назад

    Thanks for the tuto! Really helpful :)

  • @jairosantos8269
    @jairosantos8269 3 года назад

    Great!!

  • @ddrci88
    @ddrci88 3 года назад

    how to add another domain? thanks

  • @MDARH
    @MDARH 2 года назад

    What happend to your server? Only rules channel is available.

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Please make sure you join the server to be able to access all channels

  • @emmanuelakogwu720
    @emmanuelakogwu720 3 года назад

    What if I already have website files on the server?

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      CyberPanel may be a better option ruclips.net/video/8G93NVWkXZk/видео.html

  • @tekunramirez
    @tekunramirez 11 месяцев назад

    awesome

  • @Rahul_Hindu_Mondal_108
    @Rahul_Hindu_Mondal_108 3 года назад

    Tony brother can you please make a video on how to make digital selling goods website (using wordpress). As I want to sell steam keys minecraft keys etc . Please make a tutorial on it please.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      I don't have experience with that right now, but something I would like to explore in the future

    • @WreeperXD
      @WreeperXD 3 года назад

      ok

  • @MAHDIATMANI
    @MAHDIATMANI 2 года назад

    When i type this is unsafe it does not work

  • @vishnu_deepak_
    @vishnu_deepak_ 3 года назад

    Please make a video without changing nameservers records of main domain . In Oracle free server please..

  • @samuraitatin
    @samuraitatin Год назад

    I haven't finished the video, actually i'm just starting but... RIP Google domains :( really liked that service.

  • @FranciscoMarcosMilhomemAbreu
    @FranciscoMarcosMilhomemAbreu 3 года назад

    Não é recomendado fazer o próprio servidor de email. Acho que isso só pode ser útil em caso muito específico.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад

      What?

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu 3 года назад

      @@TonyTeachesTech por exemplo, em redes internas (intranet) de grandes companhias ou órgãos públicos. Ou simplesmente para aprendizagem.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@FranciscoMarcosMilhomemAbreu English please 🙏because I don't speak Spanish

    • @FranciscoMarcosMilhomemAbreu
      @FranciscoMarcosMilhomemAbreu 3 года назад

      @@TonyTeachesTech, it's not spanish, it's portuguese. XD It is not recommended to make your own mail server. I think this can only be useful in very specific cases. For example, in internal networks (intranet) of large companies or public agencies. Or simply for learning.

    • @TonyTeachesTech
      @TonyTeachesTech  3 года назад +1

      @@FranciscoMarcosMilhomemAbreu Excuse my ignorance! Yes I agree there is a lot that goes into setting up and maintaining an email server. Some are concerned about privacy, others cannot afford a paid email service at early stages of their business, and even others are just curious. I hope to provide educational and real-world value.

  • @mutalemulenga8708
    @mutalemulenga8708 3 года назад

    First one to see this...

  • @tiaan_va
    @tiaan_va 2 года назад

    really wish people would learn how to pronounce Ubuntu correctly....

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      How do you say it?

    • @nicolefisher3500
      @nicolefisher3500 2 года назад

      @@TonyTeachesTech after this can i use the smtp on third party mailer tools? like Gammadyne

    • @tiaan_va
      @tiaan_va Год назад

      @@TonyTeachesTech oo-boon-too. All 3 'oo' sounds sound the same in the word (like in the word too)

  • @RealMTBAddict
    @RealMTBAddict 2 года назад

    Lol you're using Google?

  • @moneyusa5286
    @moneyusa5286 3 года назад

    Thanks for the inspiration you bring to me and many others. ♥♥ ♥♥ 6:46

  • @jacke.nelson8931
    @jacke.nelson8931 2 года назад

    Hi tony, is there any other way i can reach you like fb or whatsapp?

    • @TonyTeachesTech
      @TonyTeachesTech  2 года назад

      Check out my Discord discord.com/invite/2JpRTTxxTG