News for hackers. Stuff that matters.
Re:Chart of YC companies' hosting decisions, 2010 edition by lisper on Friday January 07, 2011 @01:42PM (#2080561)
I'm not affiliated with a YC company, but I do self-host my email. My reasons:

1. I'm a control freak and a privacy freak. I don't trust any third party with my email. I want to know how things work under the hood. And if I want to make a change, I don't want to have to depend on any third party to do it.

2. It's not hard to do. apt-get install postfix and dovecot, invest a couple of hours munging config files, and you're done.

3. Much easier to transition your data if you do get "enterprisey." All your data is on your server, so you can just tar it up and ship it anywhere.

4. You can configure the server so that insecure connections are not possible, making it that much less likely that someone will leak a password accidentally.

5. Stealth. It's much less likely that someone will try to break into my server than into Google's servers.

Re:Chart of YC companies' hosting decisions, 2010 edition by maukdaddy on Friday January 07, 2011 @01:52PM (#2080614)

  2. It's not hard to do. apt-get install postfix and dovecot, invest a couple of hours munging config files, and you're done
Bullshit. There's troubleshooting when things go wrong, patching, maintenance, etc.

edit: don't forget adding additional storage, managing spam and malware filtering, user admin, backups, and other tasks.

  5. Stealth. It's much less likely that someone will try to break into my server than into Google's servers.
You wish. Your single server is much easier to target and break into than Google's.
Re:Chart of YC companies' hosting decisions, 2010 edition by lisper on Friday January 07, 2011 @02:41PM (#2080845)
> Bullshit. There's troubleshooting when things go wrong, patching, maintenance, etc.

In over 10 years of hosting my own email I've never had a problem that needed troubleshooting after getting the initial installation sorted out. And patching on Debian is trivial.

> Your single server is much easier to target and break into than Google's.

"Stealth" does not mean "harder to break into", it means "less likely to attract the attention of someone with the means and motivation to break in." Google may be harder to break into, but it's a much bigger target.

My house is easier to break into than, say, Bagram air force base. That doesn't mean that I'm safer in Bagram.

Re:Chart of YC companies' hosting decisions, 2010 edition by moe on Friday January 07, 2011 @11:10PM (#2082159)
And patching on Debian is trivial.

Patching is never trivial. The process itself may be trivial, but you have to actually do it. That latter part requires ongoing attention, which makes it non-trivial.

less likely to attract the attention of someone with the means and motivation to break in

That depends. Most attackers go for low hanging fruit. And the fruit hardly hangs low at google with their dedicated security team.

The most juicy targets are actually those little homebrew servers that someone once setup and then mostly forgot about. The spammers can often use these servers for months before anyone (usually the ISP, not the owner) takes notice.

If your server is listening on Port 25 then it's not stealth. It's very likely being scanned while I write this comment - perhaps to see if it's an exim vulnerable to the recent remote-shell exploit (http://www.debian.org/security/2010/dsa-2131).

So, to wrap this up. I also run mailservers for various companies. I also run debian. I even also run dovecot and postfix. But I'm doing this for a living, am subscribed to the relevant security mailing lists, harden the hosts before deploying them, and I monitor them.

If you don't have a dedicated or hired admin to do all that then hosted e-mail usually has the better value proposition.

Re:Chart of YC companies' hosting decisions, 2010 edition by modoc on Friday January 07, 2011 @02:06PM (#2080680)
If you're new to running a mail server or linux server, then yes, lots of troubleshooting, etc... If you have someone who knows what they're doing, it's really not a big deal. I don't think I've had to spend any time on any of my mail servers in ages.

Not sure what you mean by additional storage? Local corporate e-mail might take up ~10GB per person after a few years? Most of my servers have 1+ TB of local storage + SAN. Takes a lot of e-mail to fill that up.

Spam and malware filtering are both pretty easy. yum/apt-get install clam and/or spamassissin/razor/pyzor/whatever. If you're running your own server(s) anyhow then backups, user admin, etc... are a sunk cost you've already spent.

If you're running your own servers anyhow, it's really not a big deal. I have a normal GMail account and a enterprise google apps account and both of them have pretty frequent IMAP outages (usually just for 5-15 minutes, nothing serious) whereas my mail servers haven't been down in years (minus planned server migrations). Also, if something does break, I like being able to go in and fix it, without waiting for other people.

Re:Chart of YC companies' hosting decisions, 2010 edition by seiji on Friday January 07, 2011 @02:02PM (#2080661)
With Google email hosting you just have to worry about a few hundred people who can read all your email, their data retention policies, and who can subpoena your private communications.

(conspiracy theory: Google gives the public one text box on a webpage to search the Internet. Do you think they don't have a text box on an internal webpage to search all of Gmail? Do you think facebook doesn't have one internal webpage capable of searching all private communications? Facebook used to advertise "spy on your friends!" as an employment perk.)

Re:Chart of YC companies' hosting decisions, 2010 edition by maukdaddy on Friday January 07, 2011 @02:50PM (#2080878)

  and who can subpoena your private communications.
Hate to break it to you, but that same subpoena can just as easily allow your house, office, or datacenter to be raided. Your data is just as susceptible to lawful intercept at Google as it is your private premises.
Re:Chart of YC companies' hosting decisions, 2010 edition by mike-cardwell on Friday January 07, 2011 @03:02PM (#2080919)
When self hosting, you can make sure that deleted email has actually been deleted. You have control over how long logs are kept. You have control over whether or not to use encrypted filesystems.
Re:Chart of YC companies' hosting decisions, 2010 edition by lambda on Friday January 07, 2011 @04:12PM (#2081140)
It is much easier for one over-broad subpoena or search warrant to reveal your private data if it's hosted on Google than if it's hosted on your own server. If everyone keeps their own data on their own machines, then they would need to subpoena or get a search warrant for each individual person, rather than a broad one attempting to fish for information.

Furthermore, you can fight a subpoena. Do you trust Google to fight a subpoena on your behalf? How would they even know whether or not they should; how would they be able to tell if the subpoena is reasonable or not?

Re:Chart of YC companies' hosting decisions, 2010 edition by davidw on Friday January 07, 2011 @02:17PM (#2080740)
> Do you think they don't have a text box on an internal webpage to search all of Gmail?

That kind of thing would leak out sooner or later.

Re:Chart of YC companies' hosting decisions, 2010 edition by jacquesm on Saturday January 08, 2011 @03:02AM (#2082617)
Google had a rogue sysadmin that was apparently able to access user data with ease a short time ago.

It might not be as easy as a textbox to search all of Gmail but your gmail data store appears to be wide open to a fairly large number of google employees.

Re:Chart of YC companies' hosting decisions, 2010 edition by davidw on Friday January 07, 2011 @02:17PM (#2080744)
It really isn't that difficult. Except for spam; that one's really a kicker, and is the reason I finally switched to utilizing Google.
Re:Chart of YC companies' hosting decisions, 2010 edition by haribilalic on Friday January 07, 2011 @01:56PM (#2080638)
5. Stealth. It's much less likely that someone will try to break into my server than into Google's servers.

It's more likely that someone will break into your server than Google's, isn't it?

A thing I learnt while running my own server was that all you needed to be a victim of automated attacks was to have an IP address.

Re:Chart of YC companies' hosting decisions, 2010 edition by modoc on Friday January 07, 2011 @02:08PM (#2080691)
Indeed, however if you're running your own server(s) then firewalls/monitoring/IDS/etc... need to be part of your typical setup anyhow. I wouldn't suggest someone who doesn't admin their own servers to get a server for running mail on, but if you manage/secure/backup servers for other stuff, mail is pretty easy to do.
Re:Chart of YC companies' hosting decisions, 2010 edition by bhousel on Friday January 07, 2011 @02:33PM (#2080814)
I self-host my mail too, because I've been doing it for years and I really like having absolute control over what ends up in my Inbox.

True, it is probably easier for someone to break into my Linode than a Google server. However I think it's probably even easier for someone to break into my Google account. The surface area of a Google account is huge nowadays..

Re:Chart of YC companies' hosting decisions, 2010 edition by daleharvey on Friday January 07, 2011 @02:10PM (#2080700)
automated attacks are easier to prevent, whereas dedicated attacks are harder, and google are much more likely to be the victim of a dedicated attack
Re:Chart of YC companies' hosting decisions, 2010 edition by smallblacksun on Friday January 07, 2011 @02:29PM (#2080804)
Google also has a whole team of people whose only job is to stop attacks.
Re:Chart of YC companies' hosting decisions, 2010 edition by mike-cardwell on Friday January 07, 2011 @02:01PM (#2080655)
One of the main benefits of self hosting is the MTA logs. When self hosting, you know if the message has got as far as the recipients mail server, and you know if the recipients server has attempted to deliver mail to you. You also have ultimate control over the spam filtering, which I find very important.
Re:Chart of YC companies' hosting decisions, 2010 edition by driverdan on Friday January 07, 2011 @09:35PM (#2081985)
> 1. I'm a control freak and a privacy freak. I don't trust any third party with my email. I want to know how things work under the hood. And if I want to make a change, I don't want to have to depend on any third party to do it.

Email should be considered public. Unless you're using encryption it's sent in plaintext and could easily be stored on any server it goes through. While it may be harder for the gov to get access to it a clever hacker or employee can still get it.

> 5. Stealth. It's much less likely that someone will try to break into my server than into Google's servers.

Security by obscurity is not security at all.

Re:Chart of YC companies' hosting decisions, 2010 edition by staunch on Friday January 07, 2011 @01:54PM (#2080629)
#4 Google Apps lets you require SSL.
Re:Chart of YC companies' hosting decisions, 2010 edition by xpaulbettsx on Friday January 07, 2011 @11:10PM (#2082161)
My biggest problem when I self-hosted my mail is that when my server did something strange, I was losing Emails being sent to me.
Re:Chart of YC companies' hosting decisions, 2010 edition by pbreit on Saturday January 08, 2011 @01:15PM (#2083536)
Startups should spend energy on thngs that matter, not email.