Ask HN: Is it possible to run your own mail server for personal use?
648 pointsRecently I decided that I wanted to run my own MTA. Downloaded qmail, applied a couple of patches and it was done. The problem is making sure my mail is not marked as spam by the major MTAs out there, gmail and hotmail both mark my mails as spam. So far I've:
- made sure I'm not running an open relay (obviously)
- made sure a reverse lookup to my IP matches my host
- made sure my IP wasn't already in any spam IP blacklist
- added SPF
- added DKIM
- run a lot of tests at glockapps.com
It's still not enough. I don't know what else to do, is it possible to run your own MTA, for personal use in 2016? Who, here, is doing it successfully?
Comments (299) 108 threads
Show all comments
Showing thread 14 of 108
In particular, I know gmail hold IPv6 to higher standards. Some things (e.g. rDNS) that we traditionally treat as 'should', gmail will treat as 'must' over IPv6 - it's being treated as a chance to drop a lot of legacy leeway.
I do run my own MTA. It's not high-maintenance, at all. Understand the pitfalls, iron them out, and then stick with it to build your reputation. There is no magic bullet - the big providers won't tell us how they measure us - the best we can do is be well-behaved, stay well-behaved, and adopt modern standards (TLS, SPF, DKIM, etc) as they're thrown at us.
My best advice is to choose a reputable host. There's a lot of race-to-the-bottom in the web hosting market, and VPS are turning out no different. Keeping a clean house is good for your reputation - but so is living in a nice neighbourhood. It's well worth a couple of bucks extra to find such a neighbourhood.
Basically it's the component that handles SMTP. Local delivery, pop3, imap, etc are almost always handed off to another component.
It's usually the difficult component because it's the service that other hosts will interact with. So if my imap service misbehaves, it annoys me until its fixed. If my MTA misbehaves, it's a lasting black mark against my host's reputation.
This sucks big time. We should be able to send email from fucking home, not beg an external, bigger guy to either do it for us (one's ISP, google…), or lend us a machine so we can do it from there (Amazon, OVH…).
Email providing is so concentrated right now it is starting so show signs of network effects —just like more recent (anti)social networks. This is not right.
But if we can send email from random dynamic IP addresses, so can spammers.
And spammers do. I run an MTA (postfix) on a couple of Linodes and I get more hacky spam-wannabe traffic than I get actual mail.
Postfix is configured to kill it all, so I never see any of it. But the logs are spam carnage.
My domains are hardly famous, so if you're running a high profile site I can imagine the problem would be a lot worse.
I have a hard time believing spam is such a huge problem we have to use simplistic filters such as IP bans to deal with them. My email address is written without obfuscation in the open web (my own website), and my email clients' filters (Thunderbird or Evolution, depending) are more than enough once I have trained them a little.
(My domain is probably even less famous, but I do receive cold, non-spammy email from time to time regarding my blog articles.)
Sending an email to a user of such networks has become difficult —at least, more difficult than it should be. Unless of course you come from one of those huge networks. And of course, the users themselves don't see any problem with this: they assume that if you can't send an email to them, the problem must be on your end —not, say, Gmail's spam filter.
On the other hand, if everyone had a little box that send email directly from home, nobody would ever dare to block them.