How to Setup Your Own iRedMail Email Server

Поділитися
Вставка
  • Опубліковано 3 жов 2024
  • Learn how to host an iRedMail email server with a custom domain name and create as many email addresses as you want. This tutorial will cover the mail server setup as well as the basic DNS settings including MX, DMARC, DKIM, and SPF.
    While this tutorial uses Vultr, you can use any of my affiliate links to host your own email server.
    DigitalOcean 👉 ttt.do/Digital... ($200 free credits)
    Vultr 👉 ttt.do/VultrEmail ($100 free credits)
    Contabo 👉 ttt.do/Contabo...
    Linode 👉 ttt.do/LinodeE...
    Find more at tonyteaches.tech
    Check out my vlog channel ‪@TonyFlorida‬
    #iredmail
  • Навчання та стиль

КОМЕНТАРІ • 161

  • @qihangxu9645
    @qihangxu9645 Рік тому +3

    Followed the tutorial step by step, worked like a charm, you are the boss!

  • @INFLUENDOOSRL
    @INFLUENDOOSRL 4 місяці тому

    thanks, really helped me, i didn't know ports 25 and 465 needed special request to be opened, thanks again

  • @flippedout
    @flippedout Рік тому

    Great tutorial - was able to setup a private family email server with Sogo with full email, calendaring, and tasking and no previous Linux or hosting experience. Really nice and the tutorial worked flawlessly. Goodbye Gmail!! Thank you!

  • @amrouzamar
    @amrouzamar 2 роки тому +2

    WOW great video and clear and easy to follow, thank you Tony

  • @devguy6105
    @devguy6105 2 роки тому +1

    Thank you for this video.
    This is very clear to understand.
    Many helpful for me.

  • @mfonobongudom8006
    @mfonobongudom8006 5 місяців тому

    Well done Tony for a detailed step-by-step guide, hope i did not join the party too late since the need for a local mail server only became necessary recently. So my question and concern are declaring the autodiscover and autoconfig as MX records, i believe they should be CNAME records pointing to the already declared MX record. My thought, I am open to your perspective or a lesson or two.

  • @smilebolt6104
    @smilebolt6104 4 місяці тому

    Thank you! may the Almighty and ever Living Yahweh bless you for this; this meant much for us.

  • @craigcyphers4226
    @craigcyphers4226 2 роки тому +6

    Hi Tony. Getting ready to host my own email server. I saw both your video on iRedMail and Mail-in-a-box. What's your thoughts/recommendation between the two? Great tutorials btw..

  • @amirk1998
    @amirk1998 6 місяців тому

    Thank You so much . This tutorial is Awesome .

  • @shysoulx3
    @shysoulx3 Рік тому +1

    ok and now for windows server 2019?

  • @manuelli_sebastian
    @manuelli_sebastian Рік тому

    Worked like a charm, thanks

  • @hasiburrahman1461
    @hasiburrahman1461 2 роки тому

    Thanks for this video. Easy to follow and helpful

  • @eboyd53
    @eboyd53 10 місяців тому +1

    I know this video is a couple of years old but I just want to state that removing the quotes in the security key isn't necessary but you should copy both the beginning and ending quote if you don't.

  • @arivonto
    @arivonto 2 роки тому

    Nice tuto once again! Thanks so much, Tony! :)

  • @alimolaie8779
    @alimolaie8779 Рік тому

    Thanks for your guide man it was very helpful!

  • @nyinyi-d1w8t
    @nyinyi-d1w8t 7 місяців тому

    Thanks, sir! I followed your tutorial, and it worked great. It has been functioning successfully for the last three months. However, in recent days, the SSL certificate has been broken. How can I renew the SSL certificate for the iRedMail Server?

  • @DATS
    @DATS 3 місяці тому

    Gracias estoy muy agradecido muy buen video bro Thanks

  • @JPEaglesandKatz
    @JPEaglesandKatz 2 роки тому

    Great and clear video! Well done and thanks

  • @RumpleNJ
    @RumpleNJ 7 місяців тому

    Thanks for the video, worked great. I figured out how to turn off the logwatch emails, but how do I turn off the SQL backup emails?

  • @ThunderCrack-1
    @ThunderCrack-1 2 роки тому

    thanks tony. you are brilliant

  • @kenmack
    @kenmack Рік тому +1

    What if I want to have my website on one server - but the mail on another? Can I do everything with the mail hostname and skip the main domain?
    Then access it via that subdomain?

  • @fernandomartinez9261
    @fernandomartinez9261 9 місяців тому

    In this a great video, thanks for sharing this tutorial!

  • @mylastore
    @mylastore 28 днів тому

    So, iRed Mail does not provide SSL and do you need to renew your SSLs when they expires

  • @martijn1997
    @martijn1997 Рік тому

    your video is very clear thank you!
    can you also show how this works if you use multiple domains with IredMail?

  • @DJAndyC
    @DJAndyC 11 місяців тому

    Very nice information, thanks

  • @m-i-c-h-a-e-l-
    @m-i-c-h-a-e-l- 2 роки тому

    If certbot command not found when issuing ssl certificates, the following command helps:
    ln -s /snap/bin/certbot /usr/bin/certbot

  • @techlearner820
    @techlearner820 2 роки тому +1

    Add an smtp relay like mailgun or postmark for better deliverability. Also watch luke smith email video.

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      You have the link?

    • @RaymondSigar
      @RaymondSigar 2 роки тому

      I previously use mailgun with my mail in box, ended up most of my email go into promotions tab of gmail. What I'm trying to do now is to create VM in google and use my google workspace to be the external smtp.

  • @X400DYL
    @X400DYL 2 роки тому

    Great informative content as always :)

  • @willardsandy2589
    @willardsandy2589 Рік тому +1

    What do i do if port 25 is closed

  • @threplogle
    @threplogle Рік тому

    Any chance of making a video on updating iredmail? Great video by the way, thanks!

  • @MichaelWarmer
    @MichaelWarmer 10 місяців тому

    mine showing "Oops... something went wrong!'... what could be the cause please

  • @kennethcct
    @kennethcct 10 місяців тому

    Vultr wouldn't unlock port 25 for me.

  • @熊光辉
    @熊光辉 Рік тому

    Your video explanation is very good~“Error: Session expired, please re-login?”Can you tell me how to deal with it?

  • @S-RelaxMusic
    @S-RelaxMusic 5 місяців тому

    I installed successfully, but I can't log in and get an error: "Error: Username or password is incorrect." I did a simple reset and password change but it didn't solve the problem.

  • @aafan.kuware
    @aafan.kuware 5 місяців тому

    do I need to use the VPS dedicated for iRedMail or can I use the same VPS for my other django apps?
    also can we setup multiple domains for email?
    like I have two domains and two django apps and wanted to host on same VPS with iRedMail, can I do the same?

  • @sf2998
    @sf2998 2 роки тому

    Thanks for the great video. Is IRedMail better than Mailu? Which is better you think?

  • @grandprime7397
    @grandprime7397 2 роки тому

    Brilliant maan support from india

  • @熊光辉
    @熊光辉 Рік тому

    Hello, I can't send emails, but I can receive emails. What is the reason?

  • @LorennyPujols
    @LorennyPujols 11 місяців тому

    Do you have any videos on how to implement PAM or OTP authentication for client login?

  • @devabra_com
    @devabra_com Рік тому

    this was very greate video. please dont remove it.))

  • @gomo5628
    @gomo5628 4 місяці тому

    how to config for multi domainnames, sort of share hosting scenario?

  • @billzsolutions5663
    @billzsolutions5663 4 місяці тому

    what if I have a website running already on the main domain will it affect it?
    because it did rewrite my nginx config, which brought down my website.

  • @DavidRodriguez-ow1cu
    @DavidRodriguez-ow1cu Рік тому

    Thank you..!!!! is a very interesting video..

  • @joeyoussef6236
    @joeyoussef6236 8 місяців тому

    Hey Tony! What are the DNS records we must add if I want to add another domain in iRedMail?

  • @geethageorge9061
    @geethageorge9061 Рік тому

    Tony, how to change the smtp and imap settings to that of amazon ses ? amazon seems to have better deliverability

  • @austinhomolka
    @austinhomolka 2 роки тому

    Great video!

  • @imadeddine2055
    @imadeddine2055 Рік тому

    How much emails can we send a day please to not be blacklisted

  • @pg_usa
    @pg_usa 2 роки тому

    Hi, great tutorial but i dont know how you get the DNS 9 line. ok dkim key from showkey but you setup 3 other TXT value

  • @mecrayavcin
    @mecrayavcin 2 роки тому +3

    Hi Tony.
    Again awesome video.
    I have a question.
    I watched your Mail-in-a-Box (on a VPS) video.
    So which one is better? Mail-in-a-Box or iRedMail ?
    What are the advantages or disadvantages for each one?
    Thanks very much

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому +3

      The DNS configuration for Mail In a Box is significantly easier in my opinion since you don’t have to add individual DNS records. Otherwise I see them as being equal although I haven’t gotten into the weeds with either. Just my initial impression

    • @RohitKumarAnkam
      @RohitKumarAnkam 2 роки тому +2

      iredmail have antivirus (clamAV), mail-in-a-box doesn't have anti virus.

  • @endorphinsmusic
    @endorphinsmusic 10 місяців тому

    Thanks!

  • @vaster1142
    @vaster1142 Рік тому

    Setting up an SMTP server is already hard ....not having port 25 open and trying to use alternative ports is even harder.

  • @muhammedmustaphaabdullahi1029
    @muhammedmustaphaabdullahi1029 2 роки тому

    I would be glad if you answer Tony, i did everything exactly how you did it then i tried going to the iredadmin but it won’t open this site can’t be reached

  • @cbick123
    @cbick123 Рік тому

    Having problems with installing the certificates. Any advice? I'm using namecheap for my domain.

  • @mysteriesdecoded320
    @mysteriesdecoded320 8 місяців тому

    i am not able to set rdns. the rverse dns didnt have my vps ip on ibm cloud. its unbelivable. after also i got this error that my storage in ibm is not good filesystem to install snap and certbot and after that moment of the video nothing works for me!!! help me. tell me what to do.

  • @presidentatabaki
    @presidentatabaki 2 роки тому

    Hi Tony and thanks for the video, do I need static ip address to have my own iRedmail?

  • @ebashirli
    @ebashirli Рік тому

    Hello there. Thanks for excellent videos. I couldn;t find the link of the blog post about submmitting ticket for oppening port that you mention at 0:38 Can you provide please?

  • @globalupdateofalltime2316
    @globalupdateofalltime2316 Рік тому

    Can it send up to one million email a day?

  • @dragonizestudiosinstitutei3660
    @dragonizestudiosinstitutei3660 2 роки тому

    I get all the way to the Admin Login. Then it "times" out instantly saying session timed out. Haven't been able to get any further then that yet.

  • @unicornglamor7407
    @unicornglamor7407 Рік тому

    Can I install iRedMail on a different server from the one I use for mailing?

  • @RandomTorok
    @RandomTorok 2 роки тому

    I'd like to see a video where iredmail is setup on a local host. In othewords, not using a hosting service.

  • @ProjectPhil1
    @ProjectPhil1 Рік тому

    hi so when i do /iredadmin it goes to 502 Bad Gateway

  • @digwillhachi
    @digwillhachi 2 роки тому +1

    I skipped a bit so sorry if you did mention it, but where would you get imap settings (server info and ports etc) so you could add this to outlook or other email software.

    • @True_Muslim_Momin
      @True_Muslim_Momin 2 роки тому +1

      I think this should work
      incoming/outgoing server: hostname
      port: standard IMAP/pop3 port
      User: your email
      Pass: your pass

    • @peakminute
      @peakminute 2 роки тому +1

      Login username of SMTP/POP3/IMAP services must be a full email address.
      POP3 service: port 110 over STARTTLS, or port 995 with SSL.
      IMAP service: port 143 over STARTTLS, or port 993 with SSL.
      SMTP service: port 587 over STARTTLS.
      All those listed on iRedMail documentation

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому +1

      Any of these suggestions work for you?

    • @digwillhachi
      @digwillhachi 2 роки тому

      @@TonyTeachesTech yes thank you !

    • @digwillhachi
      @digwillhachi 2 роки тому +1

      @@peakminute cheers dude

  • @mecrayavcin
    @mecrayavcin Рік тому

    how many domain should i add iRedMail Email Server?

  • @makin-mantap
    @makin-mantap Рік тому

    Hi Tony, Greate Video. anyway I'm facing problem. I've been setup my DNS record. but my email still detected as spam.

  • @joshua_lee732
    @joshua_lee732 Рік тому

    This doesn't work with SELinux, thus I refuse to use it.

  • @emanuelepapa3548
    @emanuelepapa3548 2 роки тому +1

    hi i have a question. How can I change the SPF record with my DDNS?
    Thanks

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      Where did you get your domain name from? There's usually DNS settings in your dashboard for that where you can add or change SPF

  • @mecrayavcin
    @mecrayavcin 2 роки тому +1

    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 роки тому +1

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

  • @aglm3860
    @aglm3860 2 роки тому

    Hi, is it also possible to use my server with Imap on outlook or similar client?

  • @bellomohamadou3519
    @bellomohamadou3519 2 роки тому

    Thanks for this video. Easy to follow and helpful.
    I was able to setup my server. I am having an issue, I cannot send an email to gmail, yahoo, etc.. But I can received and also send to myself. Seems like my IP is blacklisted and It is a brand new server from Gcore labs.
    Any idea how I can fix this ? Changing to another IP won't guarantee that it is not already blacklisted as well.
    Thanks,

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      Please make sure you have configured your DNS records according to the instructions in the video. DNS misconfiguration can result in undelivered email

  • @Speaks4itself
    @Speaks4itself Рік тому

    Isn't port 25 blocked?

  • @hendrahendartok6828
    @hendrahendartok6828 2 роки тому +1

    hello i have created an email server iredmail and i tested the email i sent in the queue and no email was received , can you explain why?

  • @itmallsingapore9552
    @itmallsingapore9552 2 роки тому

    can you do video on layerstack cloud provider? ask them for demo free account

  • @jrichie93
    @jrichie93 2 роки тому

    Do you happen to know how to add multiple domains to a configuration like you have shown?

  • @Astronaut_Sanjana
    @Astronaut_Sanjana 2 роки тому

    Hi.. Good going.. Did u fix the clamav old version error?. How abt auto updating the domain cert. Did u use the nftables fw rules ? N did u find any error with fail2ban..

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому +1

      Thanks! No I haven’t looked into these items

  • @leonelkahameni5315
    @leonelkahameni5315 2 роки тому

    Nice video, then how to use it as a SMTP server ?

  • @Happy.Gamers10
    @Happy.Gamers10 2 роки тому

    Hello Tony I want to ask
    1- Is it possible to add a WordPress website after installing the iRedmail in the same VPS?
    2- Are these DNS Records which you pointed Standard?

    • @Bultizar
      @Bultizar Рік тому +1

      They are not. Based on his DNS records, he is actually pointing any possible site to his email server. Don't know why he did that.

  • @Aekll
    @Aekll 10 місяців тому

    not working

  • @jamescpalmer
    @jamescpalmer 2 роки тому

    Hey Tony, how do I find out the SMTP and IMAP records for new inboxes? Thanks!

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      I'll have to point you here for that answer docs.iredmail.org/

  • @yiannisserpico2646
    @yiannisserpico2646 2 роки тому

    Hi Tony. I yet cannot understand. MX records servers are not the same as the servers that are being stated on a third app mail account settings. Why are they different? Cannot understand. Thank you.

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      Yeah the server with iRedMail will have MX records. A third party mail app will talk to this server to access/send mail

  • @youruleyourlife
    @youruleyourlife 2 роки тому +1

    can you add all commands in a text file ?

  • @youruleyourlife
    @youruleyourlife 2 роки тому +1

    how can we have 2 or more iRedMail in same domain ?

  • @youruleyourlife
    @youruleyourlife 2 роки тому +1

    how can i forward a mail with iRedMail Email Server ?

  • @prasanna6768
    @prasanna6768 2 роки тому

    hostname -f setup you given comment vim /etc/hosts after given entire how to save and come out. what command is that?? thanks advance

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      Esc :wq Enter ua-cam.com/video/uE4aljoMBeg/v-deo.html

  • @Astronaut_Sanjana
    @Astronaut_Sanjana 2 роки тому

    Hi... I m following ur video.. Could u also make a video on upgrading of various services like iredadmin n mlmn n iredApd services to the latest or suggest a automated upgrade and various other running.. Or like restoring the VM in case of linux corruption.. There are no such video on youtube

  • @edgarwideman737
    @edgarwideman737 Рік тому

    Google Domains... that aged well

  • @prasanna6768
    @prasanna6768 2 роки тому

    if 25 port is blocked but 587 is available, so is that possible to send the mail to another id?

  • @rogerlong1845
    @rogerlong1845 2 роки тому

    I’ve watched several of your videos about setting up an email server, but haven’t seen anything about setting up any sort of spam blocker. Do you have any advice for filtering out spam?

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      I don’t have any recommendations for this yet, sorry

  • @amrhegazy7221
    @amrhegazy7221 2 роки тому

    what about ptr record on vultr , does i will need to or not?

  • @simoalaoui8197
    @simoalaoui8197 2 роки тому

    what is the limit of this email server per hour and per day ?

  • @mouadrakkata6354
    @mouadrakkata6354 2 роки тому

    Hi tony i keep getting an error message "Session expired, please re-login." any idea what's the problem?

  • @True_Muslim_Momin
    @True_Muslim_Momin 2 роки тому

    Can we use this server to send newsletters? Like 50k emails?

  • @kotimara8711
    @kotimara8711 2 роки тому

    Absolute noob here! Can bulk emails be sent with this setup? Anyway great video indeed, subscribed

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      I haven’t looked into this yet, but I would think that it’s possible

  • @christiansalvadora9886
    @christiansalvadora9886 2 роки тому

    Hi Tony,
    I followed your tutorial and it goes smoothly setting up the iReadMail. But there's a problem, whenever I create a new server block on nginx it gives me the iRedMail Serverblock, I already removed all the defualt config

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому

      I'm not sure why that's happening Christian

    • @christiansalvadora9886
      @christiansalvadora9886 2 роки тому

      @@TonyTeachesTech I really appreciate your reply, I already fix it but I forgot what I did😅

    • @zhengen
      @zhengen 2 роки тому

      Hello Christian, How did you set the server block for nginx?

    • @christiansalvadora9886
      @christiansalvadora9886 2 роки тому +1

      @@zhengen Fix server names everything should have their own domain

  • @sharagaona855
    @sharagaona855 2 роки тому

    Can it be used in sending mass email??

  • @jeanjohnson2743
    @jeanjohnson2743 Рік тому

    Noob to this can you 100,000+ bulk email send with this set-up

  • @movietime5333
    @movietime5333 2 роки тому

    I can help you with Exchange deployments

  • @usaffiliate
    @usaffiliate Рік тому

    Nothing work. Where is all command in description? Very BAD GUIDE!

  • @Voigt_Analytics
    @Voigt_Analytics 5 місяців тому

    $20/mo ... ROFL ... 4 GB/80GB ... LOL

  • @vmohammad
    @vmohammad 2 роки тому

    nice video
    - a not gay guy

  • @foxh0und
    @foxh0und 2 роки тому

    So, spend 20$ monthly, spend a load of time configuring things, spend even more time to keep reputation UP, then spend a load of time troubleshooting. Why? I mean, this is good to learn, but mail is something you should touch only when you are extremely confident and have a shitload of time. MXroute/Gmail/Zoho etc is the answer. Let other bang their heads and you keep stress out of the way.
    Thank you for your videos! Very helpful, however, fuck selfhosted email servers!!

    • @TonyTeachesTech
      @TonyTeachesTech  2 роки тому +1

      Haha definitely not for everyone

    • @digwillhachi
      @digwillhachi 2 роки тому

      true that. Zoho is so cheap for email.

    • @joshjandrain
      @joshjandrain 2 роки тому +2

      Depends how much you value your privacy. If something is free or next to free, then you are the product. You're right, general consensus 5-10 years ago was not to run your own mail server but things change. What changed? Privacy awareness. What didn't change? The laws required to protect consumer privacy. I don't know about others here but I mostly use email to receive messages but don't send hundreds of messages a day which is where you might run into reputational risks. I'm not saying self-hosting is for everyone but for tech-savvy folks - it isn't a terrible idea, especially if you like to "tinker." Tony got you going but its on you to learn more.

    • @aaroncatolico7550
      @aaroncatolico7550 Рік тому

      Some of us like to combine self-hosted email servers with self-hosted autoresponders to save money on sending mass emails to our subscribers.