How to Setup Your Own iRedMail Email Server

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2021
  • 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/DigitalOceanEmail ($200 free credits)
    - Vultr 👉 ttt.do/VultrEmail ($100 free credits)
    - Contabo 👉 ttt.do/ContaboEmail
    - Linode 👉 ttt.do/LinodeEmail
    Find more at tonyteaches.tech
    Check out my vlog channel ‪@TonyFlorida‬
    #iredmail
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 160

  • @INFLUENDOOSRL
    @INFLUENDOOSRL 10 วันที่ผ่านมา

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

  • @qihangxu9645
    @qihangxu9645 ปีที่แล้ว +2

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

  • @amrouzamar
    @amrouzamar ปีที่แล้ว +1

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

  • @hasiburrahman1461
    @hasiburrahman1461 2 ปีที่แล้ว

    Thanks for this video. Easy to follow and helpful

  • @devguy6105
    @devguy6105 ปีที่แล้ว +1

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

  • @amirk1998
    @amirk1998 2 หลายเดือนก่อน

    Thank You so much . This tutorial is Awesome .

  • @JPEaglesandKatz
    @JPEaglesandKatz ปีที่แล้ว

    Great and clear video! Well done and thanks

  • @alimolaie8779
    @alimolaie8779 10 หลายเดือนก่อน

    Thanks for your guide man it was very helpful!

  • @DJAndyC
    @DJAndyC 8 หลายเดือนก่อน

    Very nice information, thanks

  • @arivonto
    @arivonto 2 ปีที่แล้ว

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

  • @manuelli_sebastian
    @manuelli_sebastian 11 หลายเดือนก่อน

    Worked like a charm, thanks

  • @mohsinmalique9777
    @mohsinmalique9777 2 ปีที่แล้ว

    thanks tony. you are brilliant

  • @X400DYL
    @X400DYL 2 ปีที่แล้ว

    Great informative content as always :)

  • @fernandomartinez9261
    @fernandomartinez9261 6 หลายเดือนก่อน

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

  • @endorphinsmusic
    @endorphinsmusic 6 หลายเดือนก่อน

    Thanks!

  • @RumpleNJ
    @RumpleNJ 3 หลายเดือนก่อน

    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?

  • @mfonobongudom8006
    @mfonobongudom8006 2 หลายเดือนก่อน

    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.

  • @austinhomolka
    @austinhomolka 2 ปีที่แล้ว

    Great video!

  • @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..

  • @DavidRodriguez-ow1cu
    @DavidRodriguez-ow1cu ปีที่แล้ว

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

  • @davigomes4686
    @davigomes4686 ปีที่แล้ว

    Hi Tony, great video. Thank you. do you have any idea how to migrate emails from gmail to iredmail?

  • @martijn1997
    @martijn1997 10 หลายเดือนก่อน

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

  • @smilebolt6104
    @smilebolt6104 หลายเดือนก่อน

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

  • @threplogle
    @threplogle ปีที่แล้ว

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

  • @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

  • @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!

  • @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?

  • @joeyoussef6236
    @joeyoussef6236 4 หลายเดือนก่อน

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

  • @presidentatabaki
    @presidentatabaki 2 ปีที่แล้ว

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

  • @user-uv8kl6qu1h
    @user-uv8kl6qu1h 4 หลายเดือนก่อน

    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?

  • @geethageorge9061
    @geethageorge9061 9 หลายเดือนก่อน

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

  • @aafan.kuware
    @aafan.kuware หลายเดือนก่อน

    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?

  • @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

  • @LorennyPujols
    @LorennyPujols 7 หลายเดือนก่อน

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

  • @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?

  • @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

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

  • @billzsolutions5663
    @billzsolutions5663 28 วันที่ผ่านมา

    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.

  • @gomo5628
    @gomo5628 28 วันที่ผ่านมา

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

  • @aglm3860
    @aglm3860 ปีที่แล้ว

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

  • @cbick123
    @cbick123 ปีที่แล้ว

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

  • @muhammedmustaphaabdullahi1029
    @muhammedmustaphaabdullahi1029 ปีที่แล้ว

    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

  • @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

  • @user-nm8ld1zc2s
    @user-nm8ld1zc2s 10 หลายเดือนก่อน

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

  • @unicornglamor7407
    @unicornglamor7407 ปีที่แล้ว

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

  • @eboyd53
    @eboyd53 7 หลายเดือนก่อน +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.

  • @shysoulx3
    @shysoulx3 9 หลายเดือนก่อน +1

    ok and now for windows server 2019?

  • @MichaelWarmer
    @MichaelWarmer 6 หลายเดือนก่อน

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

  • @mysteriesdecoded320
    @mysteriesdecoded320 4 หลายเดือนก่อน

    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.

  • @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.

  • @willardsandy2589
    @willardsandy2589 ปีที่แล้ว +1

    What do i do if port 25 is closed

  • @devabra-com
    @devabra-com 10 หลายเดือนก่อน

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

  • @dragonizestudiosinstitutei3660
    @dragonizestudiosinstitutei3660 ปีที่แล้ว

    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.

  • @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.

  • @leonelkahameni5315
    @leonelkahameni5315 ปีที่แล้ว

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

  • @genghiskha10Century
    @genghiskha10Century 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

  • @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

  • @ProjectPhil1
    @ProjectPhil1 ปีที่แล้ว

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

  • @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.

  • @jrichie93
    @jrichie93 2 ปีที่แล้ว

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

  • @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/

  • @mecrayavcin
    @mecrayavcin ปีที่แล้ว

    how many domain should i add iRedMail Email Server?

  • @itmallsingapore9552
    @itmallsingapore9552 ปีที่แล้ว

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

  • @RandomTorok
    @RandomTorok ปีที่แล้ว

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

  • @imadeddine2055
    @imadeddine2055 9 หลายเดือนก่อน

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

  • @WreckedWorld83
    @WreckedWorld83 หลายเดือนก่อน

    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.

  • @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

  • @globalupdateofalltime2316
    @globalupdateofalltime2316 11 หลายเดือนก่อน

    Can it send up to one million email a day?

  • @user-nm8ld1zc2s
    @user-nm8ld1zc2s 10 หลายเดือนก่อน

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

  • @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

  • @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

  • @kennethcct
    @kennethcct 7 หลายเดือนก่อน

    Vultr wouldn't unlock port 25 for me.

  • @genghiskha10Century
    @genghiskha10Century 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

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว

      Thank you and thanks for the suggestion

  • @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 ?

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      I will eventually add a blog post for this

  • @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?

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว

      Perhaps you missed a DNS configuration step

  • @amrhegazy7221
    @amrhegazy7221 2 ปีที่แล้ว

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

  • @prasanna6768
    @prasanna6768 2 ปีที่แล้ว

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

  • @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 th-cam.com/video/uE4aljoMBeg/w-d-xo.html

  • @vaster1142
    @vaster1142 10 หลายเดือนก่อน

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

  • @Speaks4itself
    @Speaks4itself ปีที่แล้ว

    Isn't port 25 blocked?

  • @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

  • @youruleyourlife
    @youruleyourlife 2 ปีที่แล้ว +1

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

  • @mouadrakkata6354
    @mouadrakkata6354 2 ปีที่แล้ว

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

  • @youruleyourlife
    @youruleyourlife 2 ปีที่แล้ว +1

    how can i forward a mail with iRedMail Email Server ?

    • @TonyTeachesTech
      @TonyTeachesTech  2 ปีที่แล้ว +1

      I recommend you look at the docs for this

  • @True_Muslim_Momin
    @True_Muslim_Momin 2 ปีที่แล้ว

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

  • @simoalaoui8197
    @simoalaoui8197 2 ปีที่แล้ว

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

  • @Eagle64
    @Eagle64 9 หลายเดือนก่อน

    great work, can you upload to rumble? I am leaving youtube.

  • @m-i-c-h-a-e-l-
    @m-i-c-h-a-e-l- ปีที่แล้ว

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

  • @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

  • @sharagaona855
    @sharagaona855 ปีที่แล้ว

    Can it be used in sending mass email??

  • @Aekll
    @Aekll 7 หลายเดือนก่อน

    not working

  • @joshua_lee732
    @joshua_lee732 ปีที่แล้ว

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

  • @movietime5333
    @movietime5333 2 ปีที่แล้ว

    I can help you with Exchange deployments

  • @edgarwideman737
    @edgarwideman737 11 หลายเดือนก่อน

    Google Domains... that aged well

  • @jeanjohnson2743
    @jeanjohnson2743 ปีที่แล้ว

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

  • @vmohammad
    @vmohammad 2 ปีที่แล้ว

    nice video
    - a not gay guy

  • @Voigt_Analytics
    @Voigt_Analytics 2 หลายเดือนก่อน

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

  • @usaffiliate
    @usaffiliate ปีที่แล้ว

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

  • @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 ปีที่แล้ว +3

      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 10 หลายเดือนก่อน

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