DevHeads.net

hosting emails at home

Hello everyone,

I have been using Postfix and Dovecot for my personal emails for years.
After being tired of reinstalling my personal mail server many times, I
am currently writing some Ansible scripts to do it automatically.

I obviously checked the other projects, and did not found anything close
to what I am looking for, so I am implementing it now.

The final goal is to have a box that once online, would setup itself, by
creating the certificates, the DKIM keys and update the appropriate DNS
records.

This is so far what I have achieved:
- Automatic generation of certificates using LetsEncrypt
- Automatic update of the domain entries: imap, smtp, webmail, etc.
- Automatic generation of a DKIM keys
- Automatic update of specific records (MX, SPF, DKIM, etc.)
- LDAP server for user accounts, with or without system login.
- Installation of Postfix, Dovecot and Roundcube

Sending DKIM signed emails is working, and the IMAP server is configured
as well, although basic.

The postfix and dovecot configuration are not yet entirely finished. I
am planing to add an anti spam system, and sieve, amongst other things.

Although in development during my spare time, the system is normally
robust and you should be able to run it multiple times without errors.

If anyone is interested to use it, to have a look, or to take part, it
is here: <a href="https://github.com/progmaticltd/homebox" title="https://github.com/progmaticltd/homebox">https://github.com/progmaticltd/homebox</a>

Kind regards,
André Rodier.

Comments

Re: hosting emails at home

By Viktor Dukhovni at 12/10/2017 - 20:34

Have you looked at <a href="https://mailinabox.email" title="https://mailinabox.email">https://mailinabox.email</a> ?

Re: hosting emails at home

By =?UTF-8?Q?Andr=... at 12/11/2017 - 06:06

On Sun, Dec 10, 2017 at 07:34:14PM -0500, Viktor Dukhovni wrote:
Hello Viktor,

Thanks for thr link, it is definitely interesting.

I prefer to keep my emails and other files at home, in a physical box, this is why I started this project.

The final result I want achieve is different.

Kind regards,
André

Re: hosting emails at home

By lists at 12/10/2017 - 20:44

I don't like html control panels. Just another thing to get hacked. Iredmail and mailinabox have that "feature." Having been hacked via roundcube back in the day when I used a hosting service, I certainly wouldn't add those features to my email.

Thus far, postfix and dovecot have been pain free other than openssl issues. (somehow libressl got installed once doing updates and it broke one of the programs)

I ssh to my VPS, hoping sshguard keeps things safe. Using CLI isn't the end of the world.

  Original Message  
Reply-to: <a href="mailto:postfix- ... at postfix dot org">postfix- ... at postfix dot org</a>

Have you looked at <a href="https://mailinabox.email" title="https://mailinabox.email">https://mailinabox.email</a> ?

Re: hosting emails at home

By =?utf-8?q?Wolfe... at 12/10/2017 - 15:58

Andre, sounds sort of like what iRedMail does (minus a few things)...

Re: hosting emails at home

By =?UTF-8?Q?Andr=... at 12/10/2017 - 17:29

Hello Rob,

I know iRedMail, and it is definitely different ;-) For many reasons!

Kind regards,
André

On 10/12/17 19:58, Robert Wolfe wrote: