3 ms·
I'm in the process of moving more stuff to a self hosted server right now. Sadly, this is almost impossible if you're not a seasoned sysadmin or willing to lear
by moreentropy 13y ago
I'm in the process of moving more stuff to a self hosted server right now. Sadly, this is almost impossible if you're not a seasoned sysadmin or willing to learn a lot.
My setup looks like this:
Mail: Postfix/Dovecot/Roundcube
Setting up a Mail server is the hardest part i think. It's essential to implement measures against spam and abuse. In my setup, this includes:
- Get a valid certificate for your mail host and enable opportunistic TLS for SMTP and SMTPD.
- Implement DKIM and SPF (and DMARC, http://dmarc.org/ http://dmarc.org/)
- Use Blacklists: policyd-weight, but look out for changes to public RBL services
- Reject Spam in the SMTP session using Milters, never bounce SPAM.
- Use spamass-milter and clamav-milter to Filter unwanted stuff.
- Use http://sanesecurity.com/ http://sanesecurity.com/ ClamAV signatures, in Debian use the clamav-unofficial-sigs package
Instant Messaging:
http://prosody.im/ http://prosody.im/ is a breeze to configure and it just works.
Telephony / Video calls:
Repro is a secure and simple SIP proxy: http://www.resiprocate.org/About_Repro http://www.resiprocate.org/About_Repro
But: Resist the urge to install a VoIP PBX like Asterisk and connect it to your phone line & the internet. It will most likely be hacked and abused.
Security:
I've set up a self-signed CA using XCA (http://xca.sourceforge.net/ http://xca.sourceforge.net/). With a client certificate on a smart card which i embedded into a USB token (http://www.gemalto.com/products/usb_shell_token_v2/ http://www.gemalto.com/products/usb_shell_token_v2/), i can run around and plug this USB token in random machines and instantly have my client certificate available in Chrome. This is especially nice if you (like me) don't trust PHP software like the Roundcube Webmailer.
- daemon13 13y agoCan you point to some good tutorials for starting with XCA? The home (http://xca.sourceforge.net/ http://xca.sourceforge.net/) is quite overwhelming.
- moreentropy 13y agoI don't get most of the stuff myself. PKIs are overwhelming. There are thousands of flags you can set when creating a certificate it's not funny anymore. I did a lot of trial and error until i had a VPN using my certificates running successfully (that's what i needed the CA for in the first place). Maybe look for CA stuff in general or some TinyCA tutorial. I've used TinyCA, it's exactly the same complexity as XCA, although I like XCA's UI better.
- visarga 13y agoSo, I get, there is no "out of the box" email client that would be easy to install for the masses? Maybe we need a whole distro targeted at this - personal cloud services.
- moreentropy 13y agoNothing free that i know of. But that's certanly a good idea. The whole industry is going crazy about automated deployment and devops stuff. So maybe someone could create a repo containing puppet configs that can set up a "best practice" full stack modern mail server. Don't even have to call it a distro.