This guy clear all my doubts about mail server records...I have read tons of blogs and watch many videos about mail servers and mail server records but they were all just waste of time. I have never commented on any youtube videos till then, but this man you made me do so. Thanks a lot for this valuable information.
Christian, thank you so much for making this video. I’m setting up a subdomain for a client for email marketing, and this cleared up so many questions for me. I’ve skimmed a ton of blog posts and guides, but your video addressed all my questions quickly and clearly. I watch all your other videos for self-hosting projects too. Keep it up! 🙏
Strange how this video is underrated? The best video on Records. I am starting learning all about mail servers and found such a great info in this video. Thanks a Ton!
This is clearly the best Mail tutorial i have ever seen keep up the good work mate i have been trying to understand a lot of this and you cleared all my questions in one tutorial
I have read so many posts and watched so many videos, but this is the ONLY ONE that got me over that hump of getting the details correct. I even learned about the SRV records which I will totally utilize now that I finally have everything else working. I was close to just throwing in the towel and buying a helm server (still a great deal) when I found your video. Thank you for sharing your intellect and ability to teach something technical without being overly technical. And your idea of creating a cheat sheet but keeping the video simple was brilliant. THANK YOU MAN!
This video was sooooo helpful, I was able to understand now the basic of email security and how to set it up on my environment (VPS hosted on ServerCheap, PLESK as server manager with BIND service disabled, Cloudflare as DNS management, and multiple domains for each customer running on 1 ipv4 address) Great tools and tips too, cheat sheet also is very helpful.
Wow man such an amazing video, I watched so many videos trying to understand this topic but none of them were really useful like this video, thanks a lot
TDL's mail servers videos are like a DRUG to me, because I can get ADDICTED to them. I will watch every single one, re-watch them, and then do each thing that TDL says.
PLEASE PLEASE make more videos explaining further details of mail server DNS records, mail server security / protection / filtering, and setting up for mail server high-availability. Thank you!
Wow dude. This was SO helpful!! Thanks a lot man! Could you tell me how you did learn to set all this up? I checked mailcow but did not find a solid guide. Anyway big thanks. Keep it up!
"Should be added on the provider where we have hosted the public ip address of our server", Can someone help me find this? I am using outlook and my DNS provider is Namecheap
So much information packed into one video. Very well done, congratulations. Out of curiosity, does Thunderbird actually works with the SRV records? I have mine setup but it does not and I could not find any info on what clients have actually implemented this standard. Very little info out there on this feature, which should have been adopted by all email clients by now. Sadly not.
I have IONOS DNS, Cloudshare DNS and Plesk DNS, do I need to add all the mail records in these 3 DNS? one more question is where can I find rDNS in Plesk DNS? I am not able to find it out. Thanks so much for the help and support!!
@ about 5:30 you say the RDNS/PTR record needs to be set up on the server where you have hosted your public IP address ... so by this, do you mean to say that IF you are hosting your mail server on a server owned by someone else ("where you have hosted your public IP address"), this is where you would put it, BUT IF you were hosting your own mail server on your own home network (eg: using QNAP NAS virtual machine or container), then the RDNS/PTR record for reverse DNS lookup, would be on that machine? Could you please clarify this?
Had me laughing, TDL ... Yeah, I was chuckling ... 6:14 ... Yeah, that's how it always is. It should be "SIMPLE", but hell no. Nothing is simple in this Day and Age ...
Thank you so much for helping, i have done all the steps you mentioned, but unfortunately the mails are still arriving to “junk” folder in outlook. AnyHelp please?
Hey dude! Nice Videos it really clear basic concepts for a noob such as me. One question..I have just setup postal server in my physical extra server, i have static ip and pointed my domain to this server, I can access server from domain name too, but spf and dkim record are not still updated yet. I have updated them as required in DNS, do you know how mucch time will they take to take effect? Thanks Buddy!
Great video. If my domain is through godaddy and on a wordpress hosting. Can i do the changes as you suggest to get the mail setup instead of paying them for each email as they suggest ? Thanks for your time
Yes you can, you would still need to set up a mail server somewhere but once you do that you can configure your DNS records like in the video to point to that mail server
Hi Christian, thanks for your video. Ive been through all my DNS, DKIM authentication settings etc still some of my emails end who knows where, not where they should be :). Only setting I can see thats not sorted is Reverse DNS does not match SMTP Banner. If this does not go on my DNS records, where should I go ?
Thanks Man this was a great video and very well explained. One thing I couldn't really understand was the rDNS part, well I understand you are hosting your mail server on the cloud. However, if I am self hosting this mail server (at home) where this rDNS record must be configured?
You need to ask your ISP to create the PTR record for you, but in order to do that you need to get a static IP. And they probably won't do it for you because ISPs generally don't want people hosting mail servers on a residential connection. Although like TDL said hosting a mail server at home is probably not going to work. If you haven't run into this already, you'll probably find that your ISP blocks incoming and outgoing connections to port 25, which is the standard port that all mail servers use to talk to one another (and you can't change this, not even with a SRV record). Having a dynamic IP is its own big issue - even if you get the mail server working, you'll be chugging along and then one day it just breaks because your IP changed. If you do insist on hosting it at home though you can use services like dnsexit to relay incoming or outgoing mail for you to different ports. For example you can configure your mail server to send outgoing mail to a relay server on port 24, which may not be blocked, and the relay server will send the mail for you. Of course you'll probably have to pay for something like this if you do use it and if you're going to pay then why not shell out for hosting?
Hi Christian, point of confusion. I assume that the email that would have to be used would be somename at mail.dig... as the A record you added. If so, I already have both hosting and email using same domain. I'd rather not change either -- really a non start for me :( Is it possible for me to move the email to another provider while retaining the web hosting with out changing my email address at all?
In regards to the rDNS record: What if my hosting provider is me? If I'm running my own Ubuntu server behind a home router how would I account for this?
OK, that was the easiest one example but when I have for an example IMAP server on different IP than SMP server - which should to go to the MX record and which to the A record?
Thanks mate I enjoy the way you simply complex topics. I have a question. Let's imagine, you are hosting 3 different websites under the same IP address. How would you setup rDNS for email? Those 3 domain names could belong to different customers.
Thank you, man 😉! If you have only one IP address, you can only set 1 rDNS name. You could choose one domain as the main domain for the mail server and point all MX records of the other domains to that mail server DNS, that's how I do it in my setup. If these domains are for different customers, you could simply use your company domain as a mail server (that's how ISPs, Office365, etc. do it). Or get more IP addresses from your hoster.
If your mail server is behind a router you probably need to forward the SMTP port 25 and the web ports 80, 443 and IMAP/POP if you need to connect mail clients.
I was wondering if you can explain how to handle DKIM DMARC and SPF for subdomains that are running as separate mail servers? Do they need their own DMARC, DKIM, and SPF records for each subdomain?
Hey Christian, great woek bro, just a quick quesrion. Since im going to host my mail server for a test using my public ip, which im reluctant to do so. Can i point it to my tailscale ip? If yes, will it cause problems wigb rDNS?
Hey thanks for your kind words! Yes, you can point your mail server to your Tailscale IP, and it should work fine for testing. Just keep in mind that using Tailscale might complicate things with rDNS, so you might want to check that out. Good luck with your setup!
Great video. I have a question. My website is hosted with IONOS and my registrar is GoDaddy. IONOS forced me to change my name server on GoDaddy. When I went to to change my Records on GoDaddy it was impossible. However their Support Team told me in order to change records I must change my nameservers to GoDaddy. When I change it to GoDaddy, IONOS told me I have to change it back. Can you help?
Digitalocean automatically configures a PTR based on the hostname you set in the droplet. So always set a valid FQDN as a droplet hostname and you should be fine. Also make sure you contact Digitalocean to open the port 25 to your account, by default it's blocked... took me 2 hours to find out :D
Can you make a tutorial for mail In a server for multiple domain ? And I want to use route 53 dns and only use a record to my email server I couldn’t figure out
Hi, I am trying to setup mailcow next to laravel project running on Apache on digital ocean CentOS droplet but I had ports error and when I change the mailcow ports it’s not working and can’t add the dns record as mail.mydomain while I use the A record for the laravel project
Hi Chris, I have been configuring DNS records for mail server setup. I found that the length of the vlaue of smtp2 is too big and the DNS zone couldnt take the full value. The provider suggested me to split the value, do you have idea how to split the records?
Ok so I am a newbie and have what is probably a pretty stupid question. I am trying out Moosend to deliver some html designed cold emails. During the setup it requires that I change update my DNS record for SPF and DKIM (as all mail senders do) What I cant find anywhere is wether or not I need to repeat this process for every email associated with my domain or just the domain itself. For example, is it necessary to set up info@mydomain , sales@mydomain , support@mydomain as well?
I followed all of the steps in the video, but when i test it with a mail tester it gives really bad results. For example "A DMARC policy allows a sender to indicate that their emails are protected by SPF and/or DKIM, and give instruction if neither of those authentication methods passes. Please be sure you have a DKIM and SPF set before using DMARC."
to set up reverse DNS, I contacted my ISP - Verizon FIOS, and they were seeing I have a 3rd party router, and I said I don't believe my wifi router has anything to do with reverse DNS. They said "we cannot do it on our end is because our IP address is set on dynamic IP address if theres an option to do it on our end it will still go back to the same default dynamic IP address." So apparently I need a static IP address and that requires me to pay for a business account. Is this correct? I was able to add the A and MX records in GoDaddy and I have a Synology server, but reverse DNS has stumped me now. Any help is appreciated!
Yes that sounds about right. Dynamic IPs are reassigned, so your PTR record will be invalid when your IP is reassigned. I would also recommend not running a mail server at home because this is one of the many problems you'll face. If you haven't yet, you'll also find that your ISP blocks incoming and outgoing connections to port 25, so none of your emails will even make it to any other mail server and vice versa. The best thing to do is to just shell out for hosting and set up your mail server on a remote machine with a business class connection and no port restrictions (or port restrictions that can easily be lifted).
Also, I see you are using Godaddy (2:50) like I am for my domain. But, what Provider are you using to host your Mail Server? Maybe you could make a video about that also? And, maybe say why you picked them, their features, etc. Lot of people say positive things about Digital-Ocean, so I am thinking about setting up my Linux Server there and doing Docker (like you did) for Mailcow there. But, I'd be curious where you chose and why.
I'm currently using a german hosting provider called netcup basically because they offer good hardware very cheap. But I plan to migrate to DigitalOcean (I already have a referral code) and also do a video about it and about cloud in general.
@@christianlempa Yeah, try to get those giveaway codes that they give, and I'd join up using your code. Used to, they'd give people (like $100 bucks or $50 bucks) for the first month. Now, I am not sure how much they give, but I'd love to setup a small 1-core server (or the $10 buck one) and try this stuff. Someone said that the $5 bucks might not be enough for stuff (because of the RAM) -- if you said that, I'm sorry but don't remember. I watch so many of these videos, as I become more comfortable with Linux (having a strong Windows background) ... It's intimidating at first, but people like you (and Chris Titus) make me know building Linux skills is easier now and I shouldn't fear it.
@@christianlempa Honestly, I tried to get into Linux years ago, but there were a lot of Bullies and Dicks in the Linux Community. Or, that's how it felt to me. It was toxic, and I couldn't get shit up & running. Yeah, I could do the install. But, I had some hardware that wasn't recognized, so everyone told me just to go get the source code, compile it, and use it. And, I tried, having some GCC experience, but damned, even the straight source code that I got wouldn't compile without problems. So, I never got my network card for that computer up & running. So, I just gave up. Yet, nowadays, the Linux Community is more welcoming. And, now, I know that I could come over and succeed. Again, thanks for what you do. You are one of the new wave of individuals helping many to move away from Windows and into the Linux world.
Hello Chris i just finish everything and everyting working fine with SSL but when i send email to gmail its go to spam folder why thats happen i added all records you mention in video
Hi, I would recommend checking with google. Maybe your IP reputation is bad. This can happen if it's not a static IP, but dynamic or due to previous abuse.
i have some doubts in send mail to applerelay mail ids my smtp works when i send the android users but its not working for relays i have done some research i have to change dns or is there other way there?
Someone said I should add v=spf1 +mx +a +ip4:(ip address of server) ~all. What would +mx & +a do? I guess its MX record and A record bundled than separate records?
This guy clear all my doubts about mail server records...I have read tons of blogs and watch many videos about mail servers and mail server records but they were all just waste of time. I have never commented on any youtube videos till then, but this man you made me do so. Thanks a lot for this valuable information.
Thank you so much, it makes me happy to see it helps so many people 😁
@@christianlempa I second his comment. Thank you for your great explanation and awesome videos!
@@christianlempa Thank You Very Much
Christian, thank you so much for making this video. I’m setting up a subdomain for a client for email marketing, and this cleared up so many questions for me. I’ve skimmed a ton of blog posts and guides, but your video addressed all my questions quickly and clearly. I watch all your other videos for self-hosting projects too. Keep it up! 🙏
Strange how this video is underrated? The best video on Records. I am starting learning all about mail servers and found such a great info in this video. Thanks a Ton!
Haha, I would love to see a video like this pop up ;) Thank you!
This is clearly the best Mail tutorial i have ever seen keep up the good work mate i have been trying to understand a lot of this and you cleared all my questions in one tutorial
danke danke danke danke VIELEN DANK
Sehr gerne ;)
dude i been searching all over and you just made all this so simple TY so much.
Thanks! :)
I could write so much here, but simplicity is best when I say: "Dude, you ROCK"!
Thank you so much 🤣👍
I have read so many posts and watched so many videos, but this is the ONLY ONE that got me over that hump of getting the details correct. I even learned about the SRV records which I will totally utilize now that I finally have everything else working.
I was close to just throwing in the towel and buying a helm server (still a great deal) when I found your video. Thank you for sharing your intellect and ability to teach something technical without being overly technical.
And your idea of creating a cheat sheet but keeping the video simple was brilliant. THANK YOU MAN!
Thanks you so much! It really makes me happy to read such a comment :)
This video was sooooo helpful, I was able to understand now the basic of email security and how to set it up on my environment (VPS hosted on ServerCheap, PLESK as server manager with BIND service disabled, Cloudflare as DNS management, and multiple domains for each customer running on 1 ipv4 address)
Great tools and tips too, cheat sheet also is very helpful.
Thank you ;) Great it was helpful!
vielen dank. vielen dank. vieleeen dank. you saved me so much hirnschmalz! thaaaankssss tooooo youuuuuuu
Sehr gerne :) freut mich dass es geholfen hat
Christian - Your talent and skills are much appreciated. Thanks for the time explaining the technology.
Awesome video!!!!! Setting up some corporate e-mail servers and so needed this information.
thank you! glad it helped you :)
Thank you,your clip helped me to sort my mail issue
Wow man such an amazing video, I watched so many videos trying to understand this topic but none of them were really useful like this video, thanks a lot
Thank you so much :)
Thank you very much, I configured all my mail records.
Awesome video. Excellent info. Keep up the good work. Thank you.
Nice video :) thank you for explanation of all those DNS spooky stuff .. i just doing mail server and it is very helpfull .. thank you once again
This was really helpful, clear and to the point
Thank you!
Brilliant tutorial. Finally someone explains the mysteries of mail in this age of bad actors.
Thank you so much! :)
Super hilfreiches Video, danke dir!👌🏽
Freut mich sehr!
Oh finally you did the video! :) Great!
well done, very helpful. I found this while looking for information on setting up DNS while using a spam filter service.
Glad it was helpful!
Great job - very nicely presented and good information - thanks!
Thank you mate
TDL's mail servers videos are like a DRUG to me, because I can get ADDICTED to them. I will watch every single one, re-watch them, and then do each thing that TDL says.
Wow dude ! Thanks for sharing these valuable skills
This is very right to the point
Glad it was helpful!
Amazing 👏 cleared most of my doubts thank you so very much. Keep it up please !
Thank you so much! :)
PLEASE PLEASE make more videos explaining further details of mail server DNS records, mail server security / protection / filtering, and setting up for mail server high-availability.
Thank you!
THIS IS AMAZING! Thank you!
Thank you too!
Excellent video! Thanks!
Thanks
A little technical, but helpful. Thanks!
Useful and educational, thanks!
Thanks man ☺️
Would love to see a multidomain setup
absolutly clear !!!!!
thanks mate!
Great video! Thanks.
Thank you 😊
Very Informative 👍
Thanks 😆
Thank you very much!
You're welcome!
Gut gemacht! Vielen Dank.
Danke :)
Thanks bro ❤
Welcome 😊
Wow dude. This was SO helpful!! Thanks a lot man! Could you tell me how you did learn to set all this up? I checked mailcow but did not find a solid guide. Anyway big thanks. Keep it up!
okay im stupid, finally have found the docu : D still great content
Haha don't worry ;) thanks man
Amazing video man!
Thank you so much :)
Thanks for the info. Do you have an updated link to your cheatsheet in github?
Muito obrigado por compartilhar.
"Should be added on the provider where we have hosted the public ip address of our server", Can someone help me find this? I am using outlook and my DNS provider is Namecheap
So much information packed into one video. Very well done, congratulations. Out of curiosity, does Thunderbird actually works with the SRV records? I have mine setup but it does not and I could not find any info on what clients have actually implemented this standard. Very little info out there on this feature, which should have been adopted by all email clients by now. Sadly not.
VERY useful!!!!
Glad you think so!
kudos good sir
very good
Thank you! Cheers!
Awesome thx a lot
Thanks mate :)
about autodiscovery configuration, could you please share details in document ? so, we would able to configure it correctly
I have IONOS DNS, Cloudshare DNS and Plesk DNS, do I need to add all the mail records in these 3 DNS? one more question is where can I find rDNS in Plesk DNS? I am not able to find it out. Thanks so much for the help and support!!
@ about 5:30 you say the RDNS/PTR record needs to be set up on the server where you have hosted your public IP address ... so by this, do you mean to say that IF you are hosting your mail server on a server owned by someone else ("where you have hosted your public IP address"), this is where you would put it, BUT IF you were hosting your own mail server on your own home network (eg: using QNAP NAS virtual machine or container), then the RDNS/PTR record for reverse DNS lookup, would be on that machine? Could you please clarify this?
If you're running the mail server On-Prem you would need to ask your ISP.
Hi Christian, What happened to your cheat sheets ? and what do/did you think of Netcup ? do you have a new favourite.
Had me laughing, TDL ... Yeah, I was chuckling ... 6:14 ... Yeah, that's how it always is. It should be "SIMPLE", but hell no. Nothing is simple in this Day and Age ...
The link doesn't work. The folder 'networking' doesn't seem to exist anymore in the Github repo.
The guys managing email at my company acted like DKIM, DMARC and everything else regarding mail security was top secret stuff. Not anymore :)
Haha that's great, thank you! :)
The cheat sheet is not there anymore. It would be awesome to add the cheat sheet and edit it's link. I would appreciate it. Thank you
hi is the cheat sheet still available?
Why have you deleted the cheat sheet?
Need info about "DANE" DNS-based Authentication of Named Entities
I did everything mentioned in this video but sending from my email to someone else doesn't work recieving works so how do I fix the sending part??
Thank you so much for helping, i have done all the steps you mentioned, but unfortunately the mails are still arriving to “junk” folder in outlook.
AnyHelp please?
good job! unfortunately - i get Invalid syntax found - what did i wrong?
Can we add an AAAA record for our mail server? I'm asking because A is similar to AAAA.
Hey dude! Nice Videos it really clear basic concepts for a noob such as me. One question..I have just setup postal server in my physical extra server, i have static ip and pointed my domain to this server, I can access server from domain name too, but spf and dkim record are not still updated yet. I have updated them as required in DNS, do you know how mucch time will they take to take effect?
Thanks Buddy!
Great video. If my domain is through godaddy and on a wordpress hosting. Can i do the changes as you suggest to get the mail setup instead of paying them for each email as they suggest ? Thanks for your time
Yes you can, you would still need to set up a mail server somewhere but once you do that you can configure your DNS records like in the video to point to that mail server
Hi, I still have not understood RDNS and how to fix it? How do I get to know who is my hosting provider and what is my public IP?
Christian, The RDNS is automatically created now a days on GoDaddy, right?
Hi Christian, thanks for your video. Ive been through all my DNS, DKIM authentication settings etc still some of my emails end who knows where, not where they should be :). Only setting I can see thats not sorted is Reverse DNS does not match SMTP Banner. If this does not go on my DNS records, where should I go ?
Any special reason for the Professor Xavier look?
Thanks Man this was a great video and very well explained. One thing I couldn't really understand was the rDNS part, well I understand you are hosting your mail server on the cloud. However, if I am self hosting this mail server (at home) where this rDNS record must be configured?
Yea that's definately something you need! If you don't have a static IP address at home, that's going to be a challenge though.
You need to ask your ISP to create the PTR record for you, but in order to do that you need to get a static IP. And they probably won't do it for you because ISPs generally don't want people hosting mail servers on a residential connection. Although like TDL said hosting a mail server at home is probably not going to work. If you haven't run into this already, you'll probably find that your ISP blocks incoming and outgoing connections to port 25, which is the standard port that all mail servers use to talk to one another (and you can't change this, not even with a SRV record).
Having a dynamic IP is its own big issue - even if you get the mail server working, you'll be chugging along and then one day it just breaks because your IP changed. If you do insist on hosting it at home though you can use services like dnsexit to relay incoming or outgoing mail for you to different ports. For example you can configure your mail server to send outgoing mail to a relay server on port 24, which may not be blocked, and the relay server will send the mail for you. Of course you'll probably have to pay for something like this if you do use it and if you're going to pay then why not shell out for hosting?
Are the DNS providers and the SMTP providers the same entity? For example, when buying an email domain on godaddy.
My Godaddy DNS Management for the email domain I want to work on has 1 A-record that I cannot change and it's bound to an IP address.
Hi Christian, point of confusion. I assume that the email that would have to be used would be somename at mail.dig... as the A record you added. If so, I already have both hosting and email using same domain. I'd rather not change either -- really a non start for me :( Is it possible for me to move the email to another provider while retaining the web hosting with out changing my email address at all?
In regards to the rDNS record: What if my hosting provider is me? If I'm running my own Ubuntu server behind a home router how would I account for this?
2:50 Shouldn't that be a CNAME record?
CNAME is useful when you have more than one mail servers
Hi, what about mailcow reverse proxy setup? Could you please make a video about that topic?
Is there a cheat sheet for these terms?
I'm working on that. I'm updating my cheat sheet on Github: github.com/xcad2k/cheat-sheets
OK, that was the easiest one example but when I have for an example IMAP server on different IP than SMP server - which should to go to the MX record and which to the A record?
Thanks mate I enjoy the way you simply complex topics. I have a question. Let's imagine, you are hosting 3 different websites under the same IP address. How would you setup rDNS for email? Those 3 domain names could belong to different customers.
Thank you, man 😉! If you have only one IP address, you can only set 1 rDNS name. You could choose one domain as the main domain for the mail server and point all MX records of the other domains to that mail server DNS, that's how I do it in my setup.
If these domains are for different customers, you could simply use your company domain as a mail server (that's how ISPs, Office365, etc. do it). Or get more IP addresses from your hoster.
the cheat sheet is gone :(
Do we need to open any ports on the router ? In order to send/rcv
If your mail server is behind a router you probably need to forward the SMTP port 25 and the web ports 80, 443 and IMAP/POP if you need to connect mail clients.
In Cheat-Sheet doesnot show the proxy status ... in cloudflare what proxy status should I choose? (proxied or DNS Only ???
I was wondering if you can explain how to handle DKIM DMARC and SPF for subdomains that are running as separate mail servers? Do they need their own DMARC, DKIM, and SPF records for each subdomain?
Yeah you need to setup them separately
Hey Christian, great woek bro, just a quick quesrion. Since im going to host my mail server for a test using my public ip, which im reluctant to do so. Can i point it to my tailscale ip? If yes, will it cause problems wigb rDNS?
Hey thanks for your kind words! Yes, you can point your mail server to your Tailscale IP, and it should work fine for testing. Just keep in mind that using Tailscale might complicate things with rDNS, so you might want to check that out. Good luck with your setup!
Great video. I have a question. My website is hosted with IONOS and my registrar is GoDaddy. IONOS forced me to change my name server on GoDaddy. When I went to to change my Records on GoDaddy it was impossible. However their Support Team told me in order to change records I must change my nameservers to GoDaddy. When I change it to GoDaddy, IONOS told me I have to change it back. Can you help?
This is a great video, but will this prevent my emailing platform from sending emails?
(Like MailChimp, or ConstantContact)
Well, if you configure it right, it shouldn't
digital ocean where my domain is doesn't have rdns or ptr... so where would i put the RDNS?
Digitalocean automatically configures a PTR based on the hostname you set in the droplet. So always set a valid FQDN as a droplet hostname and you should be fine. Also make sure you contact Digitalocean to open the port 25 to your account, by default it's blocked... took me 2 hours to find out :D
Can you make a tutorial for mail In a server for multiple domain ? And I want to use route 53 dns and only use a record to my email server I couldn’t figure out
You can host multiple domains very easily. You can create an MX for every domain which points to your FQDN of your Mailserver.
@@christianlempa thanks
i got this error, "DNS Record not found"
do you have an idea?
Well not really, I'd need more details :) Why not come to our Discord and share your setup, maybe we're able to help you out there.
Hi, I am trying to setup mailcow next to laravel project running on Apache on digital ocean CentOS droplet but I had ports error and when I change the mailcow ports it’s not working and can’t add the dns record as mail.mydomain while I use the A record for the laravel project
Hi Chris, I have been configuring DNS records for mail server setup. I found that the length of the vlaue of smtp2 is too big and the DNS zone couldnt take the full value. The provider suggested me to split the value, do you have idea how to split the records?
Haven't heard about that, maybe just give your provider a chat
Ok so I am a newbie and have what is probably a pretty stupid question. I am trying out Moosend to deliver some html designed cold emails. During the setup it requires that I change update my DNS record for SPF and DKIM (as all mail senders do) What I cant find anywhere is wether or not I need to repeat this process for every email associated with my domain or just the domain itself. For example, is it necessary to set up info@mydomain , sales@mydomain , support@mydomain as well?
I followed all of the steps in the video, but when i test it with a mail tester it gives really bad results. For example "A DMARC policy allows a sender to indicate that their emails are protected by SPF and/or DKIM, and give instruction if neither of those authentication methods passes. Please be sure you have a DKIM and SPF set before using DMARC."
to set up reverse DNS, I contacted my ISP - Verizon FIOS, and they were seeing I have a 3rd party router, and I said I don't believe my wifi router has anything to do with reverse DNS. They said "we cannot do it on our end is because our IP address is set on dynamic IP address if theres an option to do it on our end it will still go back to the same default dynamic IP address." So apparently I need a static IP address and that requires me to pay for a business account. Is this correct? I was able to add the A and MX records in GoDaddy and I have a Synology server, but reverse DNS has stumped me now. Any help is appreciated!
Yes that sounds about right. Dynamic IPs are reassigned, so your PTR record will be invalid when your IP is reassigned. I would also recommend not running a mail server at home because this is one of the many problems you'll face. If you haven't yet, you'll also find that your ISP blocks incoming and outgoing connections to port 25, so none of your emails will even make it to any other mail server and vice versa. The best thing to do is to just shell out for hosting and set up your mail server on a remote machine with a business class connection and no port restrictions (or port restrictions that can easily be lifted).
mailcow needs publicip ??
Also, I see you are using Godaddy (2:50) like I am for my domain. But, what Provider are you using to host your Mail Server? Maybe you could make a video about that also? And, maybe say why you picked them, their features, etc. Lot of people say positive things about Digital-Ocean, so I am thinking about setting up my Linux Server there and doing Docker (like you did) for Mailcow there. But, I'd be curious where you chose and why.
Oh, okay, I see it is some German company (5:35). Ignore what I've said. That's not important, because Digital-Ocean is something that I can use.
I'm currently using a german hosting provider called netcup basically because they offer good hardware very cheap. But I plan to migrate to DigitalOcean (I already have a referral code) and also do a video about it and about cloud in general.
@@christianlempa Yeah, try to get those giveaway codes that they give, and I'd join up using your code. Used to, they'd give people (like $100 bucks or $50 bucks) for the first month. Now, I am not sure how much they give, but I'd love to setup a small 1-core server (or the $10 buck one) and try this stuff. Someone said that the $5 bucks might not be enough for stuff (because of the RAM) -- if you said that, I'm sorry but don't remember. I watch so many of these videos, as I become more comfortable with Linux (having a strong Windows background) ... It's intimidating at first, but people like you (and Chris Titus) make me know building Linux skills is easier now and I shouldn't fear it.
@@christianlempa Honestly, I tried to get into Linux years ago, but there were a lot of Bullies and Dicks in the Linux Community. Or, that's how it felt to me. It was toxic, and I couldn't get shit up & running. Yeah, I could do the install. But, I had some hardware that wasn't recognized, so everyone told me just to go get the source code, compile it, and use it. And, I tried, having some GCC experience, but damned, even the straight source code that I got wouldn't compile without problems. So, I never got my network card for that computer up & running. So, I just gave up. Yet, nowadays, the Linux Community is more welcoming. And, now, I know that I could come over and succeed. Again, thanks for what you do. You are one of the new wave of individuals helping many to move away from Windows and into the Linux world.
@@PoeLemic A code is already in the description, it gets you 100$ for 60 days ;)
Hello Chris
i just finish everything and everyting working fine with SSL
but when i send email to gmail its go to spam folder why thats happen
i added all records you mention in video
Hi, I would recommend checking with google. Maybe your IP reputation is bad. This can happen if it's not a static IP, but dynamic or due to previous abuse.
i have some doubts in send mail to applerelay mail ids my smtp works when i send the android users but its not working for relays i have done some research i have to change dns or is there other way there?
Someone said I should add v=spf1 +mx +a +ip4:(ip address of server) ~all. What would +mx & +a do? I guess its MX record and A record bundled than separate records?