Help me with a project! (private, secure email server, 2 sites)

duncan-idaho

Junior Member
Jul 31, 2013
19
0
0
Hi AT

I am working on a little side project and would appreciate a critical eye to point out any flaws in my reasoning, as I don't fully understand all of these technologies yet!

My father (an IT Pro, not really networking field though) and I got talking about what is going on in the US right now with PRISM and are thinking about installing an email server for private use, basically just for him and I and maybe my mother and sister as well (meaning not exactly high traffic).

I realize that doing so will not keep my communications out of the clutches of government snooping as even if they are secured top to bottom on my end, the people who I email and who send me email probably aren't taking the same precautions and many of them will be hotmail/gmail/whatever users so it can just be read from their inboxes instead. I am doing this for several reasons, ranging from I want to learn how to symbolic eff you lawmakers (I'm Canadian, but our NSA equivalent is part of the "Five Eyes" and therefore isn't what I would call trustworthy either). Anyway, Down to technology!

I should also note that we also at the time discussed ourselves up (forgive me if I misuse any of this terminology) as mutually redundant proxies, so that all our web traffic goes through one another's server first. Upon considering that though, I don't think that actually gains us anything since I plan to use my existing commercial VPN provider (he'd have to get one too), meaning all our traffic would already be anonymous (or is this a false assumption?)

Plus, I would have to probably get a business class internet package because 768kbps upload is not gonna cut it for routing netflix ><

Essentially, the layout would be like this. We would both have a box set up running an email server (I am most comfortable in the microsoft ecosystem as is he, and I might do it at first with Svr 2012 + exchange just to learn how (I got a technet subscription like 3 weeks before MS announced they were axing the program, yay fortuitous timing!)...but obviously licensing costs would make that a pretty dumb choice for the actual servers we use for only 3-4 users, so probably some flavour of linux like CentOS).

These computers would basically just be low power file servers, probably built on a haswell i3. I'd use DynDNS to point to them (so our email domain will end up being something like duncan-idaho@username.doomdns.com or whatever subdomain I use) They could function as routers if they were on the network edge, but again I am not sure this gets me anything that I don't get from using my existing router (Cisco RV220w). I would probably get my father to get a similar router if not the same model and then set up a site-to-site SSL VPN.

This is where I start not really knowing how to do this - I have two linux boxes set up to serve email and they can talk to one another through a site to site SSL VPN - but how do I make them actually provide redundancy for one another? In the MS ecosystem, I might at this point think it would be easier to use Hyper-V, make the servers VMs, and cluster them using Server Manager...but I don't know if that is even the best way in the MS universe. Is there a linux email server that you can easily mirror with a second server at a different physical advice, or am I coming at this from the wrong angle entirely?

Guidance appreciated!
 

Savatar

Senior member
Apr 21, 2009
230
1
76
I'm not sure, but...

You could perhaps forward all mails from one to the same recipient on the other server... if you only have a few accounts, maybe? Similar to this suggestion: http://stackoverflow.com/questions/7139923/postfix-server-mirroring-backup-server

This other post makes it sound not very promising, though the second reply has a potential solution: http://serverfault.com/questions/303554/how-to-build-a-high-availability-postfix-system

Although I've not done that before, I've thought about the mail server stuff too. I think most of the concerns are just solved by using encryption - it's just that not many people do it because it's a hassle. Check out PGP for emails (then the only thing that could possibly get logged is the metadata). More useful would be creating a generic, *easy-to-use* browser plug-in that can decrypt email with an intuitive UI... something grandma can use.

http://www.gnupg.org/

Some secure mail portals require you to create an account on the server and log on to send a message via a web interface. They send a notification to external email addresses to alert other users of 'new messages' (but the messages themselves are not sent out). Your friends would then just have to click the link in the email (which contains a guid so it knows which user to map to on your server) and create an account to see the message and reply/etc. The actual messages are encrypted and only stored temporarily (they're not really 'email' either, so this would effectively circumvent any email monitoring). In this way, you would have a system that is secure for both your family and friends.
 
Last edited:

duncan-idaho

Junior Member
Jul 31, 2013
19
0
0
That isn't really what I am looking to do. This is as much about learning to deploy the server software as it is about the end result!
 

Savatar

Senior member
Apr 21, 2009
230
1
76
That isn't really what I am looking to do. This is as much about learning to deploy the server software as it is about the end result!

Sorry, misunderstood the end of your post.. thought you were wondering if there was a better way to build a more secure messaging environment when you asked if you were going about it the wrong way entirely. Just trying to help.