Ask HN: Do You Host Your Own Email?
21–30 of 209 posts
Re: Ask HN: Do You Host Your Own Email?
#22I host at a couple of levels: * Mail in a Box for a bunch of low-volume domains, hosted on a major cloud provider VM. Total SMTP volume ~2k outbound emails a month. This was previously hosted on my own server in a datacenter. * Plesk/Postfix for a higher volume domain tied to a nonprofit, SMTP relayed out through Amazon AWS. Total SMTP volume ~100k emails a month. Likely moving this to a standalone Mail in a Box inst…
Would someone remember the name? I've tried to search for microsoft's postmaster but did not find anything.
Re: Ask HN: Do You Host Your Own Email?
#23Re: Ask HN: Do You Host Your Own Email?
#24The best of all worlds is to use your own domain, and point it at a paid professional mail service. It is reliable, and you can easily switch services in the future without changing your email address.
Re: Ask HN: Do You Host Your Own Email?
#25Re: Ask HN: Do You Host Your Own Email?
#26Re: Ask HN: Do You Host Your Own Email?
#27Re: Ask HN: Do You Host Your Own Email?
#28If you do have multiple users, then you also need to protect them against e-mail spoofing. This can be done by enabling SPF checks for incoming e-mail.
For live servers with multiple users, you want to limit the number of e-mails being sent per minute/hour to something reasonable, because some unfortunate user is going to get their password hacked sooner or later, and then a hacker might abuse your server to send e-mail unrestricted, which can in turn get everyone else blacklisted.
E-mail security measures has a lot of AoE damage, because when someone gets hacked and spam is sent, receiving servers don't just ban the offending sender e-mail address, instead they typically ban the IP of the server, which will DoS all users of the server. Extremely inappropriate, and it should be illegal, nevertheless that is what they do, and to a certain extend perhaps understandable. But, this is why you place limit on how many e-mails users can send, as it hopefully avoids that issue.
Some hosting providers has insecure server images. E.g. Ubuntu where the root user has no password, since, as they might argue: "you login with key file on SSH anyway"; however, custemers might not realize or remember that anyone can login on the e-mail server with the root user if the port is opened, and the server will become an open relay, as automated tools find it with port scanning.
You also need to make sure that whoever is logged in, and sending e-mail from a given e-mail address is actually the owner of the address. Postfix does not do that by default, meaning that users can just claim to be whatever@yourdomain.com, and there will be no check. Thankfully, you can not claim to be b.gates@microsoft.com, because that will be rejected due to DNS records. In the past you could because there was no check for that..
A lot of issues is of course prevented by simply limiting IP access to your own personal IP, and that's a good idea if you are the only user, but not practical when you got other users.
Re: Ask HN: Do You Host Your Own Email?
#29Someone change my mind but I find hosting your email to be risky. I could lose my domain through social engineering or just by being in a coma and there is 0 grace period so if someone registers I lose everything.