I could post a config for each component, but that may get lengthy. The hardest part of figuring out the setup for me was remembering to configure the groups correctly for sasl socket access.
It's definitely worth running my own server. Linode has a $10/month server which would easily handle all email for you and few friends/family. The setup is very easy. Just remember to public-key your ssh access and then lock any passwords. I get nearly no spam mail, and it's lots of fun to watch the blocking log entries go by...
EDIT: my list didn't come out as a list -- unfamiliar with the tagging possibilities on this site - if any...
Yes.
> how (setup)
Postfix (http://www.postfix.org/) and Linux.
> and where (VPS, dedicated hosting) do you do it?
At home, on my static IP FIOS link.
> Is it worth the hassle?
No hassle, once setup. Configuring Postfix for basic email is not so bad. But, you will need to learn a bit about email handling to do the config.
Worth it, yes. No one mines my email for advertising purposes once they arrive. No one suddenly 'closes down' their service and my emails disappear. If the NSA ends up wanting my emails, they have to show up here, where I know they have arrived, vs. just quietly asking some provider for them. I don't have to use some services awful web interface to read/reply (I get to use whatever I want).
Run a search for "dynamic dns" and you will find a bunch of providers.
A list of them is here (found via search, no suggestion of "goodness"): http://www.gnutomorrow.com/best-free-dynamic-dns-services-in...
here... found it... http://mako.cc/copyrighteous/google-has-most-of-my-email-bec...
I imagine this also applies to the NSA collection programs.
I've been wanting to set up my own email server and wouldn't mind offering the service to clients for free (obviously that would be after I get very used to administrating an email server). Would that be a horrible idea? Are there any specific laws or regulations in the US I would need to know about before providing email to clients?
Roundcube as my webmail client and Postbox (OSX) and K9 (Android) for clients.
Mail push (well, most like fake ActiveSync) with zpush
IMAP and POP3 access using Dovevot, with SSL
SMTP using Postfix, with STARTLS
CalDev/CardDev with Radicale for contacts and callendars
Postgrey/DSPAM/strict DKIM enforcement for anti-spam
Everything mail related is on encrypted storage.
I run my mailserver on a VPS hosted with Leaseweb (Viginia) currently.
IS it worth it? Maybe, it was a fun (and frustrating) experience getting it up and running by hand but I'm pretty happy with it. Unlimited email addresses for my 6 domains and some "geek cred"
The server is a Debian box under my desk right here. The IP address is just a cable telco provided one. It's not static, but doesn't change frequently.
I use Exim for the MTA, with a very customized anti-spam setup that I still tweak from time to time.
For sending SMTP, I forward to the telco's SMTP server, and my SPF record delegates to them.
Worth the hassle? Very much so.