7 ms·
It's really hard to run you own mail server. Much harder than a web server. This is bad for freedom on the internet. http://www.ebb.org/bkuhn/blog/2015/09/15/e
by oever 11y ago
It's really hard to run you own mail server. Much harder than a web server. This is bad for freedom on the internet.
http://www.ebb.org/bkuhn/blog/2015/09/15/email.html http://www.ebb.org/bkuhn/blog/2015/09/15/email.html
- broodbucket 11y agoI configured a pretty simple system (dovecot + opensmtpd) following the guide on the Arch wiki in under an hour, it really wasn't that tricky. I have dodged some common problems, though: - my domain wasn't completely unknown so I had no issues with gmail flagging me as spam - I use my gmail for signing up to things I don't care about mail from, so I have yet to actually receive any spam (at which point I will figure out how spamassassin works) I don't think we need any additional software to make the process easier, maybe just better documentation from the distributions themselves or some already set up bundles. Hosting providers like DigitalOcean already have ready-to-deploy images for WordPress and Docker and whatnot, why not one for mail?
- shocks 11y agoRunning a mail server is easy, providing a mail service is HARD. Deliverability is really difficult. Being online all the time to make sure you're always recieving email is hard. I was constantly plagued by worry that the important email I sent never actually arrived, or the important email I was waiting for had been sent but I never actually got it.
- hdabrows 11y agoSMTP requires the sender to retry delivery if the destination is unreachable. https://tools.ietf.org/html/rfc5321#section-4.5.4.1 https://tools.ietf.org/html/rfc5321#section-4.5.4.1
- shocks 11y agoJust because it's in the RFC does not mean it will be obeyed. I tried running postgrey - a system that rejects senders it doesn't recognise, tells them to "try again in a minute", and accepts the second email. The theory being that spammers rarely check for these responses because they operate on a "fire and forget" basis. In reality it didn't work because lots of email services didn't correctly respond to the "try again in a minute" response - which is in the RFC! Maybe it's an extreme example. You expect an SMTP server not to be up all the time, you don't expect them to randomly reject mail and ask you to try again later, but you get my point. It just adds to the stress/worry. I found myself default to Gmail a lot of the time for this reason.
- dest 11y ago* Mail you want to receive: Your server can be down for a few days (if I remember correctly, 5 days, according to postfix defaults) and still receive all emails when it goes up again. More downtime and the senders will receive permanent error bounces. If you fear longer server downtimes, you also have the option of secondary MX servers. * Mail you send: Just display the mail log (/var/log/mail.info) and see if you get 250 OK responses when you submit messages. What happens next is not your responsibility anymore (except for spam filter rules of course, you need spf, dkim...)
- shocks 11y agoGreat, now I've got to run TWO mail servers. That'll decrease my anxiety levels. ;D
- akerro 11y agoI configured my server once, over two years ago. I logged in on root once again, when I run out of disk space, I made a cron job to remove oldest logs monthly. It's centos6 and it works. Should I care more about it? Anything I should pay attention to?
- FireBeyond 11y agoI don't know if it still exists, but I'm sure it could be found or would make a good service. I seem to recall paying about $10/mo to a company that would provide secondary MX services. They did no delivery/webmail etc, it was purely "You can list us as a secondary MX and when yours is online we'll forward".
- danieltillett 11y agoIt is not that hard to run your own email server, what is hard is to get your mail into recipients mailboxes. The big players in this market have basically decided to block (at random) all mail that doesn't come out of a known email service. I have just given up running my own mail server after more than 15 years because of this problem. Five years ago I had no problems, but these last 12 months have made me decide to give up and just pay.
- tankenmate 11y agoIt's true it is harder; definitely much harder if you're not a sysadmin by trade. These days to get mail to deliver you not only need to support SMTP, but also TLS, SPF, DKIM, DMARC at a minimum. You also need to make sure that you aren't inadvertently a source for relaying, or non delivery report (NDR) / delivery status notification (DSN) bounce source (vis a vis spam with faked return paths etc). In short if you don't / won't / can't do the above you are indeed much better paying someone else to do it (preferably at scale with attention to detail like fastmail).
- danieltillett 11y agoI used to do all these things (not that I am a sysadmin by trade, but after 15 years you get to know the job). Even doing all this the big email players (Microsoft in particular, but Yahoo and Google are also guilty) will just ditch your emails without rhyme or reason if it is not coming out of a known email service. This didn’t used to happen, but it looks like they have now outsourced their spam filtering to the email service providers who now act as the gatekeepers to email ecosystem - email from a known service == good, email from business that has been around for more than a decade == spam.
- bad_user 11y agoThe irony is that nowadays most spam I get is from @gmail or @yahoo addresses, so all they've accomplished is lock-in.
- noinsight 11y ago
- teekert 11y agoIt's not that bad: "apt-get install mail-stack-delivery" on Ubuntu and you have everything you need. Ok, to make it real nice will take some work, to get approved certificates, SPF and DKIM working can be a challenge. But in general you can quickly get going of you want.
- shocks 11y agoHave you ever run your own mail server before? edit: I've never spoken to someone who has and says it is 'easy'.
- teekert 11y agoMy main email system for me and my wife is an Ubuntu 14.04 DO droplet where I used said command to get going. I use ownCloud for card/caldav and ownCloud mail (and sometimes roundcube), my wife uses OsX mail. We both use Android mail clients. There is pain sometimes, when Outlook.com makes my mails vanish and admittedly I have yet to receive spam and have no system in place. This guide helped me a lot [0] there is way to much detail and a lot I didn't use but you'll learn a lot. For more than I year now all I ever did as maintenance was apt-get update/upgrade. http://arstechnica.com/information-technology/2014/02/how-to-run-your-own-e-mail-server-with-your-own-domain-part-1/ http://arstechnica.com/information-technology/2014/02/how-to... Ok, it did take me a while to find mail-stack-delivery but it really is a good basis.
- danieltillett 11y agoIt is easy if you don't care if only half the people you email get your email (i.e. you are a spammer).
- teekert 11y agoI only occasionally had problems with outlook.com, I contacted them, their spam system is an outsourced blackbox. They advised me not to send mass emails... Which I don't of course. Gmail and Apple never gave me any problems. Yahoo banned me after my first mail, no idea why but it seems to work now. I feel like I'm fighting the good fight (decentralize all the things!) so I'll just accept the shortcomings, which are in general, not that many. There are even some nice things like I can have mail addresses that go to both me and my wife, unlimited spam addresses etc.
- vbezhenar 11y agoI'm running my mail server and it's not that hard IMO. There are a lot of guides, standards are easy to understand. I can't say how much one would devote to setup his server, probably few hours should be enough. Gmail marks my mail as spam, for new recipients, though. I don't care, every gmail user usually checks his spam anyway and when I do care, I'll call person to ensure he got my mail, regardless whether I use gmail or my server.
- akerro 11y ago>I don't care, every gmail user usually checks his spam So you need to start a business where every hour waiting for a response means money lose for you.